summaryrefslogtreecommitdiff
path: root/main.cxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-04 15:29:04 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-04 15:29:04 +0800
commitf8dbe8e0f771949f83e91b5e37a690e571a047ee (patch)
tree50cb474a2ebe8e0e730d38186dad87912c0d5f4d /main.cxx
Separated client code
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();
+}