aboutsummaryrefslogtreecommitdiffstats
path: root/examples/embedded/qmlclocks
diff options
context:
space:
mode:
authorDamian Jansen <damian.jansen@nokia.com>2011-10-19 15:04:15 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-26 09:01:28 +0200
commit4ae7aecb68b506f21bd5411bf92a1e8d9fe807bb (patch)
treef264def252b28943e7dda1538ecd73e72746538a /examples/embedded/qmlclocks
parent27933ae4ee5741d09b607635213232d94c444633 (diff)
Remove Q_WS_*, symbian and maemo code in QtDeclarative
Change-Id: If64daf80f9d19973e0bc2d864b003a66be5ca61d Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'examples/embedded/qmlclocks')
-rw-r--r--examples/embedded/qmlclocks/deployment.pri6
-rw-r--r--examples/embedded/qmlclocks/qmlclocks.cpp17
-rw-r--r--examples/embedded/qmlclocks/qmlclocks.pro9
3 files changed, 2 insertions, 30 deletions
diff --git a/examples/embedded/qmlclocks/deployment.pri b/examples/embedded/qmlclocks/deployment.pri
index 6c6704ccc7..771a4dba76 100644
--- a/examples/embedded/qmlclocks/deployment.pri
+++ b/examples/embedded/qmlclocks/deployment.pri
@@ -1,8 +1,4 @@
qmlclocks_src = $$PWD/../../../examples/declarative/toys/clocks
-symbian {
- load(data_caging_paths)
- qmlclocks_uid3 = A000E3FC
- qmlclocks_files.path = $$APP_PRIVATE_DIR_BASE/$$qmlclocks_uid3
-}
+
qmlclocks_files.files = $$qmlclocks_src/clocks.qml $$qmlclocks_src/content
DEPLOYMENT += qmlclocks_files
diff --git a/examples/embedded/qmlclocks/qmlclocks.cpp b/examples/embedded/qmlclocks/qmlclocks.cpp
index 75d0be0874..04366aa0ab 100644
--- a/examples/embedded/qmlclocks/qmlclocks.cpp
+++ b/examples/embedded/qmlclocks/qmlclocks.cpp
@@ -44,13 +44,6 @@
#include <QtDeclarative/QDeclarativeView>
#include <QtDeclarative/QDeclarativeEngine>
-#if defined(Q_OS_SYMBIAN)
-#include <eikenv.h>
-#include <eikappui.h>
-#include <aknenv.h>
-#include <aknappui.h>
-#endif // Q_OS_SYMBIAN
-
int main(int argc, char *argv[])
{
QApplication application(argc, argv);
@@ -65,16 +58,6 @@ int main(int argc, char *argv[])
QApplication::setNavigationMode(Qt::NavigationModeCursorAuto);
#endif // QT_KEYPAD_NAVIGATION
-#if defined(Q_OS_SYMBIAN)
- CAknAppUi* appUi = dynamic_cast<CAknAppUi*> (CEikonEnv::Static()->AppUi());
- TRAPD(error,
- if (appUi)
- appUi->SetOrientationL(CAknAppUi::EAppUiOrientationLandscape)
- )
- view.showFullScreen();
-#else // Q_OS_SYMBIAN
view.show();
-#endif // Q_OS_SYMBIAN
-
return application.exec();
}
diff --git a/examples/embedded/qmlclocks/qmlclocks.pro b/examples/embedded/qmlclocks/qmlclocks.pro
index 1b6cdad6be..8e9dcdf87c 100644
--- a/examples/embedded/qmlclocks/qmlclocks.pro
+++ b/examples/embedded/qmlclocks/qmlclocks.pro
@@ -1,12 +1,5 @@
-!symbian:!wince*:warning("DEPLOYMENT support required. This project only works on Symbian and WinCE.")
+!wince*:warning("DEPLOYMENT support required. This project only works on WinCE.")
QT += declarative
SOURCES += $$PWD/qmlclocks.cpp
include($$PWD/deployment.pri)
-
-symbian {
- TARGET.UID3 = 0x$$qmlclocks_uid3 # defined in deployment.pri
- CONFIG += qt_example
- TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
- LIBS += -lcone -leikcore -lavkon # Screen orientation
-}