diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-25 19:27:06 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-25 19:27:06 +0200 |
| commit | cdf46d85efe7fa54e8c302a255214341c567b4af (patch) | |
| tree | 169dc5abdbf6cd980ee3c745c2360d3ba5bbac32 /qt/main.cpp | |
| parent | 24c2fd2ffa582ea83172184b1da2816555340a01 (diff) | |
| download | nissy-core-cdf46d85efe7fa54e8c302a255214341c567b4af.tar.gz nissy-core-cdf46d85efe7fa54e8c302a255214341c567b4af.zip | |
Moved qt app to its own repo
Diffstat (limited to 'qt/main.cpp')
| -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 | } | ||
