同样,如何在QML中进行条件导入?
if x import ABC 1.0 else import PQR 2.0
Loader { source: condition?"RedRectangle.qml":"BlueRectangle.qml" }