summaryrefslogtreecommitdiff
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/main.cxx b/main.cxx
new file mode 100644
index 0000000..9de5dab
--- /dev/null
+++ b/main.cxx
@@ -0,0 +1,12 @@
+#include <QGuiApplication>
+#include <QQmlApplicationEngine>
+#include "controller.hxx"
+
+int main(int argc, char* argv[])
+{
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+ QGuiApplication app{argc, argv};
+ QQmlApplicationEngine engine;
+ Controller controller{&engine};
+ return app.exec();
+}