author | unc0rr |
Fri, 22 Dec 2017 23:59:03 +0100 | |
branch | qmlfrontend |
changeset 12862 | 90f927b4b9e1 |
parent 12859 | 28cb18c5e712 |
child 12865 | e33bcb9d5e9c |
permissions | -rw-r--r-- |
12859 | 1 |
#include <QGuiApplication> |
2 |
#include <QQmlApplicationEngine> |
|
3 |
||
12862 | 4 |
#include "hwengine.h" |
5 |
||
12859 | 6 |
int main(int argc, char *argv[]) |
7 |
{ |
|
8 |
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); |
|
9 |
QGuiApplication app(argc, argv); |
|
10 |
||
11 |
QQmlApplicationEngine engine; |
|
12 |
engine.load(QUrl(QLatin1String("qrc:/main.qml"))); |
|
13 |
if (engine.rootObjects().isEmpty()) |
|
14 |
return -1; |
|
15 |
||
16 |
return app.exec(); |
|
17 |
} |