Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

qml gui and nogui mode

$
0
0
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

Viewing all articles
Browse latest Browse all 4972

Trending Articles