From f8dbe8e0f771949f83e91b5e37a690e571a047ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 4 Jul 2021 15:29:04 +0800 Subject: Separated client code --- main.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main.cxx (limited to 'main.cxx') 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 +#include +#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(); +} -- cgit v1.2.3