author | unc0rr |
Sun, 07 Jan 2018 09:48:26 +0100 | |
branch | qmlfrontend |
changeset 12884 | 66171ce586cc |
parent 12860 | e33bcb9d5e9c |
permissions | -rw-r--r-- |
#include <QGuiApplication> #include <QQmlApplicationEngine> #include "hwengine.h" int main(int argc, char* argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); QQmlApplicationEngine engine; HWEngine::exposeToQML(); engine.load(QUrl(QLatin1String("qrc:/main.qml"))); if (engine.rootObjects().isEmpty()) return -1; return app.exec(); }