1 2 3 4 5 6 7 8 9 10 11 12
#include <QGuiApplication> #include <QQmlApplicationEngine> #include "controller.hxx" int main(int argc, char* argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app{argc, argv}; QQmlApplicationEngine engine; Controller controller{&engine}; return app.exec(); }