aboutsummaryrefslogtreecommitdiff
path: root/qt/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt/main.cpp')
-rw-r--r--qt/main.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/qt/main.cpp b/qt/main.cpp
deleted file mode 100644
index a012642..0000000
--- a/qt/main.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
1#include "adapter.h"
2
3#include <QGuiApplication>
4#include <QQmlApplicationEngine>
5
6int main(int argc, char *argv[])
7{
8 QGuiApplication app(argc, argv);
9 QQmlApplicationEngine engine;
10 QObject::connect(&engine, &QQmlApplicationEngine::objectCreationFailed,
11 &app, []() { QCoreApplication::exit(-1); }, Qt::QueuedConnection);
12
13 engine.loadFromModule("nissyqt", "Main");
14
15 return app.exec();
16}

Generated with cgit - Back to sebastiano.tronto.net