From bceb42b605696d408d86fad50ddd8d24c1c3499e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 6 Jan 2019 16:05:55 +0100 Subject: Initial layout --- src/BinaryFun.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/BinaryFun.cpp (limited to 'src/BinaryFun.cpp') diff --git a/src/BinaryFun.cpp b/src/BinaryFun.cpp new file mode 100644 index 0000000..fbcbfd0 --- /dev/null +++ b/src/BinaryFun.cpp @@ -0,0 +1,22 @@ +#ifdef QT_QML_DEBUG +#include +#endif + +using std::string; + +#include + +int main(int argc, char *argv[]) +{ + // SailfishApp::main() will display "qml/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); +} -- cgit v1.2.3