#include #include #include #include "SystemInfo.h" int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); SystemInfo systemInfo; QQmlApplicationEngine engine; engine.rootContext()->setContextProperty( "systemInfo", &systemInfo ); engine.loadFromModule("BottomDash", "Main"); if (engine.rootObjects().isEmpty()) return -1; return app.exec(); }