diff options
author | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-19 15:52:13 +0800 |
---|---|---|
committer | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-19 15:52:13 +0800 |
commit | 691de7824d1924ffad2058d92c1f5d7556b60b59 (patch) | |
tree | 2c6a9d9df8f0e296967952030a779b3498a2b3b7 /main.cxx |
Awal halaman masuk
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
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 <QGuiApplication> +#include <QQmlApplicationEngine> + +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(); +} |