Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
5.12
-
None
Description
Currently qmlimportscanner is unable to find and scan qmls defined inline in cpp.
This prevents deploying qml modules to a device.
QByteArray plainQML = \ "import QtQuick 2.0\n" \ "import QtMultimedia 5.0\n" \ "VideoOutput {" \ " width: 150;" \ " height: 100;" \ "}"; QQmlEngine engine; QQmlComponent *mappingComponent = new QQmlComponent(&engine); mappingComponent->setData(plainQML, QUrl()); QObject *mappingOutput = mappingComponent->create();
Using this example, QtQuick is not found