From 691de7824d1924ffad2058d92c1f5d7556b60b59 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Mon, 19 Aug 2019 15:52:13 +0800 Subject: Awal halaman masuk --- main.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 main.cxx (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx new file mode 100644 index 0000000..94f8599 --- /dev/null +++ b/main.cxx @@ -0,0 +1,11 @@ +#include +#include + +int main(int argc, char* argv[]) +{ + QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QGuiApplication app(argc, argv); + QQmlApplicationEngine engine; + engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); + return app.exec(); +} -- cgit v1.2.3