If you replace your main content with
QApplication app(argc, argv);
qmlRegisterType<CoreAdapter>("conv.core", 1, 0, "CoreAdapter");
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:///main.qml")));
return app.exec();
is it working ? If not, then first ensure you have it working before adding your gui/non-gui code
↧