summaryrefslogtreecommitdiffstats
path: root/examples/widgets/imageviewer
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/imageviewer')
-rw-r--r--examples/widgets/imageviewer/imageviewer.pro5
-rw-r--r--examples/widgets/imageviewer/main.cpp4
2 files changed, 0 insertions, 9 deletions
diff --git a/examples/widgets/imageviewer/imageviewer.pro b/examples/widgets/imageviewer/imageviewer.pro
index 939d60a208..e3fea079bd 100644
--- a/examples/widgets/imageviewer/imageviewer.pro
+++ b/examples/widgets/imageviewer/imageviewer.pro
@@ -8,17 +8,12 @@ sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS imageviewer.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/imageviewer
INSTALLS += target sources
-symbian: CONFIG += qt_example
#Symbian has built-in component named imageviewer so we use different target
-symbian: TARGET = imageviewerexample
wince*: {
DEPLOYMENT_PLUGIN += qjpeg qmng qgif
}
QT += widgets printsupport
-maemo5: CONFIG += qt_example
-symbian: warning(This example might not fully work on Symbian platform)
-maemo5: warning(This example might not fully work on Maemo platform)
simulator: warning(This example might not fully work on Simulator platform)
diff --git a/examples/widgets/imageviewer/main.cpp b/examples/widgets/imageviewer/main.cpp
index 8d1a068c5a..55a362a622 100644
--- a/examples/widgets/imageviewer/main.cpp
+++ b/examples/widgets/imageviewer/main.cpp
@@ -46,10 +46,6 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
ImageViewer imageViewer;
-#if defined(Q_OS_SYMBIAN)
- imageViewer.showMaximized();
-#else
imageViewer.show();
-#endif
return app.exec();
}