summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tablet
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tablet')
-rw-r--r--examples/widgets/tablet/main.cpp6
-rw-r--r--examples/widgets/tablet/tablet.pro4
2 files changed, 0 insertions, 10 deletions
diff --git a/examples/widgets/tablet/main.cpp b/examples/widgets/tablet/main.cpp
index a7a054a666..40c41bfc9a 100644
--- a/examples/widgets/tablet/main.cpp
+++ b/examples/widgets/tablet/main.cpp
@@ -52,14 +52,8 @@ int main(int argv, char *args[])
app.setCanvas(canvas);
MainWindow mainWindow(canvas);
-#if defined(Q_OS_SYMBIAN)
- mainWindow.showMaximized();
-#elif defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
- mainWindow.show();
-#else
mainWindow.resize(500, 500);
mainWindow.show();
-#endif
return app.exec();
}
//! [0]
diff --git a/examples/widgets/tablet/tablet.pro b/examples/widgets/tablet/tablet.pro
index 4788fad2c7..9ad533fc64 100644
--- a/examples/widgets/tablet/tablet.pro
+++ b/examples/widgets/tablet/tablet.pro
@@ -12,10 +12,6 @@ sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS tablet.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/tablet
INSTALLS += target sources
-symbian: CONFIG += qt_example
QT += widgets
-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)