Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.4.0
-
None
-
Mac 12.6.1
-
0649d88215 (qtsdk/tqtc-qtsdk/master)
Description
Example in attachment.
Example made from simple new project, with following modifications:
- "QT += core5compat" in .pro
- "ColorOverlay" qml element in main.qml
- "import Qt5Compat.GraphicalEffects" in main.qml
When running the app it failed at startup, here is the logs :
W libtestCore5Compat_x86_64.so: QQmlApplicationEngine failed to load component
W libtestCore5Compat_x86_64.so: qrc:/testCore5Compat/main.qml:17:5: Type ColorOverlay unavailable
W libtestCore5Compat_x86_64.so: qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/ColorOverlay.qml:5:1: Cannot load library /data/app/~~Z9ES9cLNa6gT_Av2wOtzUQ==/org.qtproject.example.testCore5Compat-Tlp1cnuJvOMArVVKhDsJLg==/lib/x86_64/libqml_Qt5Compat_GraphicalEffects_private_qtgraphicaleffectsprivateplugin_x86_64.so: (dlopen failed: library "_data_app_~~Z9ES9cLNa6gT_Av2wOtzUQ==_org.qtproject.example.testCore5Compat-Tlp1cnuJvOMArVVKhDsJLg==_lib_x86_64_libqml_Qt5Compat_GraphicalEffects_private_qtgraphicaleffectsprivateplugin_x86_64.so" not found)
W libtestCore5Compat_x86_64.so: exit app 0
The library "libqml_Qt5Compat_GraphicalEffects_private_qtgraphicaleffectsprivateplugin_x86_64.so" is in folder build.
Same problem on emulator or real Android device.
Did I miss something?
Attachments
For Gerrit Dashboard: QTBUG-108174 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
442103,2 | Qt6: Add dependency from qt5compat to qtshadertools | master | qtsdk/tqtc-qtsdk | Status: MERGED | +2 | 0 |