diff options
Diffstat (limited to '')
| -rw-r--r-- | qt/main.cpp | 16 |
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 | |||
| 6 | int 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 | } | ||
