blob: 23f9e4d0b16180f86f989ad60b34be51a8cae34c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include "controller.hxx"
int main(int argc, char* argv[])
{
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
Controller controller{&engine};
return app.exec();
}
|