为什么 setMainQmlFile 工作并且 setSource 在同一路径下失败?
QmlApplicationViewer viewer;
viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
//viewer.setMainQmlFile(QLatin1String("qml/exQml02/main.qml")); // <-- works
viewer.setSource(QUrl("qrc:qml/exQml02/main.qml")); // <--- fails: qrc:qml/exQml02/main.qml: File not found