Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.5.3
-
None
Description
Hi,
I have a simple QML project with two QML modules (Settings which is static) and (Time which is dynamic).
After converting the project to a CMake one from the included CMakePresets.json, I tried to build and run the application bin/appexternalmodule.exe but I get the error:
QQmlApplicationEngine failed to load component
qrc:/externalqmlmodule/main.qml:2:1: module "Time" plugin "TimeLibplugin" not found
Looking in my build folder I could not find TimeLibplugin.dll (located in bin/qml/Time when generating with Ninja). Instead TimeLibplugin.dll is in bin/qml/Time/Debug which contradicts what is written in the qmldir. Is there a way to set how qmldir is written with function qt_add_qml_module() to take this into accout?
Thank you.