summaryrefslogtreecommitdiffstats
path: root/weather-qml/build/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'weather-qml/build/main.cpp')
-rwxr-xr-xweather-qml/build/main.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/weather-qml/build/main.cpp b/weather-qml/build/main.cpp
new file mode 100755
index 0000000..9e3d7ad
--- /dev/null
+++ b/weather-qml/build/main.cpp
@@ -0,0 +1,19 @@
+#include <QApplication>
+
+#include "mainwindow.h"
+
+
+int main(int argc, char **argv)
+{
+ QApplication app(argc, argv);
+
+ MainWindow view;
+
+#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5)
+ view.showFullScreen();
+#else
+ view.show();
+#endif
+
+ return app.exec();
+}