#include #include #include #include "app.h" int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); QQmlApplicationEngine engine; engine.load("qrc:/main.qml"); App appy; appy.setEngine(&engine); engine.rootContext()->setContextProperty("app",&appy); return app.exec(); }