Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 6.1.0 Beta 1
-
Fix Version/s: None
-
Component/s: Build System: CMake
-
Labels:None
-
Platform/s:
Description
This difference means the internal function will do the following things, whereas the non-internal one won't:
- Add the arch suffix to the library file name on Android.
- Add the compiler defines QT_PLUGIN, QT_DEPRECATED_WARNINGS and QT_STATICPLUGIN (this last one only for static builds).
I'm assuming we want these things for qt6_add_qml_module() too. If so, then we should probably be calling qt6_add_plugin() internally inside qt6_add_qml_module(). If someone can confirm that, I can include the necessary change as part of my work on QTBUG-88763.
Attachments
Issue Links
- relates to
-
QTBUG-91509 CMake: qt6_add_qml_module() doesn't set arch suffix on Android
-
- Reported
-
-
QTBUG-88763 Review / refactor public CMake API that is marked as Technical Preview
-
- Closed
-