Hi,
Try
viewer.setSource(QUrl("qrc:/qml/pilarApp/main.qml"));
instead of
viewer.setMainQmlFile(QStringLiteral("qrc:/qml/pilarApp/main.qml"));
↧