summaryrefslogtreecommitdiff
path: root/src/harbour-sailchess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/harbour-sailchess.cpp')
-rw-r--r--src/harbour-sailchess.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/harbour-sailchess.cpp b/src/harbour-sailchess.cpp
new file mode 100644
index 0000000..e7df625
--- /dev/null
+++ b/src/harbour-sailchess.cpp
@@ -0,0 +1,20 @@
+#ifdef QT_QML_DEBUG
+#include <QtQuick>
+#endif
+
+#include <sailfishapp.h>
+
+int main(int argc, char *argv[])
+{
+ // SailfishApp::main() will display "qml/harbour-sailchess.qml", if you need more
+ // control over initialization, you can use:
+ //
+ // - SailfishApp::application(int, char *[]) to get the QGuiApplication *
+ // - SailfishApp::createView() to get a new QQuickView * instance
+ // - SailfishApp::pathTo(QString) to get a QUrl to a resource file
+ // - SailfishApp::pathToMainQml() to get a QUrl to the main QML file
+ //
+ // To display the view, call "show()" (will show fullscreen on device).
+
+ return SailfishApp::main(argc, argv);
+}