#include #include #include #include int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); app.setOrganizationName("Sepanta"); app.setOrganizationDomain("Sepanta"); QQmlApplicationEngine engine; Bridge *brdige = new Bridge; engine.rootContext ()->setContextProperty ("cpp",brdige); engine.load("qrc:/main.qml"); return app.exec(); }