diff options
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(); +} |