magpie/main_web.cpp
2023-11-24 20:48:01 -03:00

17 lines
353 B
C++

#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include "root.h"
int main(int argc, char *argv[]) {
Root* app;
try {
app = new Root(u"qrc:qml/main.qml"_qs, argc, argv);
} catch (const std::exception& exception) {
std::cerr << "Couldn't start megpie: " << exception.what() << std::endl;
}
return 0;
}