diff options
Diffstat (limited to 'src/harbour-binaryfun.cpp')
-rw-r--r-- | src/harbour-binaryfun.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/harbour-binaryfun.cpp b/src/harbour-binaryfun.cpp new file mode 100644 index 0000000..0774653 --- /dev/null +++ b/src/harbour-binaryfun.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-binaryfun.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); +} |