Commit ae23d505 authored by Alessandro Portale's avatar Alessandro Portale

Removal of Symbian support

Qt Creator's support for Symbian was at its peak in version
2.4.x. Nobody really verified it in Qt Creator 2.5 or 2.6.
It is most likely rotten. Let's remove it!

Also, the Symbian support code was spread throughout the whole
Qt Creator code base. The plugin interfaces evolved in the
meantime and target platforms like Android or QNX have 99% of
their code in separate plugins.

In case anyone wants to revive Symbian support in Qt Creator,
please create a plugin for it.

Change-Id: I56a758a3e2fd5b8c64d9aeb8f63d8e916c4883be
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent c107b10b
......@@ -17,7 +17,7 @@ Compiling Qt Creator
Prerequisites:
* Qt 4.7.4
* On Windows:
- ActiveState Active Perl (version 5.8.9 for Symbian development)
- ActiveState Active Perl
- MinGW 4.4 or later, Visual Studio 2008 or later
- jom
The Qt SDK provides you with most of the required software.
......
......@@ -6,30 +6,14 @@ DEPLOYMENTFOLDERS = folder_01
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
symbian:TARGET.UID3 = 0xE54A5459
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices
# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
CONFIG += mobility
MOBILITY += systeminfo
# Add dependency to symbian components
CONFIG += qtquickcomponents
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()
/***************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: http://www.qt-project.org/
**
** This file is part of the documentation of Qt Creator.
**
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
****************************************************************************/
//! [3]
import QtQuick 1.1
import com.nokia.symbian 1.1
//! [3]
//! [4]
import QtMobility.systeminfo 1.2
//! [4]
//! [0]
Page {
id: mainPage
DeviceInfo {
id: deviceinfo
monitorBatteryLevelChanges: true
}
//! [0]
//! [1]
Text {
id: text1
x: 0
color: platformStyle.colorNormalLight
text: qsTr("Battery status: %1%").arg(progressbar1.value)
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 20
}
//! [1]
//! [2]
ProgressBar {
id: progressbar1
anchors.horizontalCenter: text1.horizontalCenter
anchors.top: text1.bottom
anchors.topMargin: 20
minimumValue: 0
maximumValue: 100
value: deviceinfo.batteryLevel
}
//! [2]
}
/***************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: http://www.qt-project.org/
**
** This file is part of the documentation of Qt Creator.
**
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
****************************************************************************/
import QtQuick 1.0
import com.nokia.symbian 1.0
Window {
id: window
StatusBar {
id: statusBar
anchors.top: window.top
}
PageStack {
id: pageStack
anchors { left: parent.left; right: parent.right; top: statusBar.bottom; bottom: toolBar.top }
}
ToolBar {
id: toolBar
anchors.bottom: window.bottom
tools: ToolBarLayout {
id: toolBarLayout
ToolButton {
flat: true
iconSource: "toolbar-back"
onClicked: pageStack.depth <= 1 ? Qt.quit() : pageStack.pop()
}
}
}
Component.onCompleted: {
pageStack.push(Qt.resolvedUrl("MainPage.qml"))
}
}
......@@ -6,26 +6,11 @@ DEPLOYMENTFOLDERS = folder_01
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
symbian:TARGET.UID3 = 0xE506784B
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices
# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=
# Add dependency to symbian components
# CONFIG += qtquickcomponents
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp
......
......@@ -135,10 +135,6 @@
\o Windows/MSVC
\o Microsoft Visual C++ Compiler
\o Debugging Tools for Windows/CDB
\row
\o Symbian
\o GCC
\o GDB
\row
\o Maemo, MeeGo
\o GCC
......@@ -174,11 +170,6 @@
\o RemoteGdbAdapter interacts with the GDB server running on Linux.
\o CodaGdbAdapter interacts with Symbian devices. The GDB protocol and
the GDB serial protocol are used between GDB and the adapter. The
target communication framework (TCF) protocol is used between the
adapter and the CODA debugging agent running on the device.
\endlist
\endomit
......
......@@ -242,7 +242,7 @@
remote machine and a counterpart running on the host side.
The probe is either integrated into the running process (e.g. for QML
debugging) or runs a separate process (e.g. when using GDB server
on embedded Linux, or TRK/CODA on Symbian). The host side typically
on embedded Linux). The host side typically
consists of \QC itself, often with the help of an external process, such as
\if defined(qcmanual)
GDB or CDB.
......@@ -846,10 +846,6 @@
\o There is no Python-enabled GDB for Mac OS. Mac OS continues
injection with C++ based debugging helpers.
\o On the Symbian platform, an on-device debugging agent restricts the
communication between GDB and the device. Therefore, extracting
QObject properties, for example, is not possible.
\o There is no GDB to communicate with MSVC compiled applications on
Windows. So information can be displayed nicely only in a limited
fashion by using a cdb extension DLL.
......@@ -1052,10 +1048,7 @@
\o \gui{putCallItem(self, name, value, func, *args)} -
Uses GDB to call the function \c func on the value specified by
\a {value} and output the resulting item. This function is
not available when debugging core dumps and it is not available
on the Symbian platform due to restrictions imposed by the on-device
debugging agent.
\a {value} and output the resulting item.
\o \gui{putItem(self, value)} - The "master function", handling
basic types, references, pointers and enums directly, iterates
......
......@@ -36,8 +36,7 @@
Qt 4.8, or later.
To debug Qt Quick applications running on devices, you must install
Qt 4.7.4, or later, libraries on devices. To debug applications on Symbian
devices, you must install also QML Viewer on them.
Qt 4.7.4, or later, libraries on devices.
For an example of how to debug Qt Quick Projects, see
\l{Debugging a Qt Quick Example Application}.
......
......@@ -231,10 +231,6 @@
\l{http://technet.microsoft.com/en-us/sysinternals/bb896647}{DebugView for Windows}
to display output from GUI applications.
\if defined(qcmanual)
\input symbian/creator-faq-debug-output-symbian.qdocinc
\endif
\section1 Questions about New Features
\bold {Will a requested feature be implemented?}
......
......@@ -25,7 +25,7 @@
/*!
\contentspage index.html
\previouspage creator-deployment-symbian.html
\previouspage creator-deployment.html
\page creator-deployment-maemo.html
\nextpage creator-deployment-qnx.html
......
......@@ -25,7 +25,7 @@
/*!
\contentspage index.html
\previouspage creator-publish-ovi-symbian.html
\previouspage creator-publish-ovi.html
\page creator-publish-ovi-maemo.html
\nextpage creator-publish-ovi-meego.html
......
......@@ -26,11 +26,7 @@
\previouspage creator-developing-meego.html
\endif
\page creator-developing-maemo.html
\if defined(qcmanual)
\nextpage creator-developing-symbian.html
\else
\nextpage smartinstaller.html
\endif
\nextpage creator-developing-qnx.html
\title Connecting Maemo Devices
......
......@@ -20,11 +20,7 @@
/*!
\contentspage index.html
\if defined(qcmanual)
\previouspage creator-connecting-mobile.html
\else
\previouspage creator-developing-symbian.html
\endif
\page creator-developing-meego.html
\if defined(qcmanual)
\nextpage creator-developing-generic-linux.html
......
......@@ -27,7 +27,7 @@
\contentspage index.html
\previouspage creator-running-targets.html
\page creator-deployment.html
\nextpage creator-deployment-symbian.html
\nextpage creator-deployment-maemo.html
\title Deploying to Mobile Devices
......@@ -38,13 +38,6 @@
\list
\o \l{Deploying Applications to Symbian Devices}
When you deploy the application for the \gui{Symbian Device} target,
\QC automatically generates a Symbian installation system (SIS) file
in the project folder and copies it to the connected device. You can
sign the SIS file and wrap it in a Nokia Smart Installer for Symbian
package. You can test and debug the application on the device.
\o \l{Deploying Applications to Linux-Based Devices}
When you deploy the application on a Linux-based device target, such
......
......@@ -27,7 +27,7 @@
\contentspage index.html
\previouspage creator-running-valgrind-remotely.html
\page creator-publish-ovi.html
\nextpage creator-publish-ovi-symbian.html
\nextpage creator-publish-ovi-maemo.html
\title Publishing
......@@ -45,13 +45,6 @@
\list
\o \l{Publishing Qt Content for Symbian Devices}
The \gui {Publish Qt Symbian Applications to Nokia Store}
wizard ensures that your application can be published to Nokia
Store by verifying that the the application UID, vendor name,
and the capabilities used meet the Nokia Publish criteria.
\o \l{Publishing Qt Content for MeeGo Harmattan Devices}
\QC generates installation packages that you can publish to
......
......@@ -122,27 +122,6 @@
\list
\o Debugging large applications on Symbian devices using the Symbian^3
operating system might not work, because the on-device debugging
agent might not be able to access memory when the operating system
starts paging. This causes breakpoint handling and symbol resolution
to fail. For more information, see
\l{https://bugreports.qt-project.org/browse/QTCREATORBUG-2158}
{QTCREATORBUG-2158}.
As a workaround, add the following section to the application .pro
file to disable paging:
\code
debug {
MMP_RULES -= PAGED
MMP_RULES *= UNPAGED
}
\endcode
\note You must completely clean and rebuild the project for the
setting to take effect.
\o When debugging executables created by the GNU Compiler version 4.5.0
(all platforms), some data types will not be displayed in the
\gui{Locals and Expressions} view due to missing debug information.
......
......@@ -65,15 +65,6 @@
Developer) to create the device-side end point for USB and WLAN
connections.
\o \l{Connecting Symbian Devices}
You can run Qt applications on Symbian devices if the software
that Qt applications require (typically Qt, Qt Mobility, QtWebkit,
and Open C) is installed on the device. On Symbian Anna and later
devices, some version of Qt is pre-installed.
Install and launch the CODA on-device debugging agent on the
devices and connect the devices to the development PC.
\o \l{Connecting QNX Devices}
You can connect QNX devices to the development PC to deploy, run and
......
......@@ -14,8 +14,6 @@
\o Generic remote Linux