Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
6.8.0 Beta4
-
None
Description
Attached an example with an small QML ui registered using qt_add_qml_module directly into the executable.
In addition the example uses a second QML module which registers a C++ based Item. That module is linked as dynamic library to the example.
When using Qt 6.7 the example works fine, with 6.8 the Example cannot find the qmldir embedded into the library anymore and cannot load the module:
qrc:/qt/qml/Example/Main.qml:11:1: module "MyModule" is not installed
Attachments
Issue Links
- relates to
-
QTBUG-97816 Prevent linker from discarding unused shared libraries
- Reported
-
QTBUG-128501 [Boot to Qt 6.8.0 beta4] "module "Example.If.RemoteModule" is not installed" when running 'remote' application on a Boot to Qt device
- Closed
-
QTBUG-95149 Fix use case of linking an executable to a shared library QML module backing target
- Reported