diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/main.cpp b/main.cpp deleted file mode 100644 index 4796716..0000000 --- a/main.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include <QGuiApplication> -#include <QQmlEngine> -#include <QQmlContext> -#include <QQmlComponent> - -int main(int argc, char *argv[]) -{ - QGuiApplication app(argc, argv); - - QQmlEngine engine; - QQmlContext *objectContext = new QQmlContext(engine.rootContext()); - - QQmlComponent component(&engine, "application.qml"); - QObject *object = component.create(objectContext); - - // ... delete object and objectContext when necessary - - return app.exec(); -} |