Files
2026-09-16 01:46:52 -05:00

27 lines
476 B
C++

#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#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();
}