Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
147e6281c (dev), a9c8870b5 (dev), 6e09b6481 (6.4), bb01e0bc0 (6.5), 47e5e4c9f (tqtc/lts-6.2), 2b966fe7a (tqtc/lts-5.15), 92746da86 (6.4), d670ce853 (6.5), 5d2c0991e (tqtc/lts-5.15), da273fed3 (tqtc/lts-6.2)
Description
When building application that doesn't use either Core or Gui, androiddeployqt fails to resolve dependencies of libplugins_platforms_qtforandroid_armeabi-v7a.so with non-obvious output:
46: Skipping /home/semlanik/Projects/Qt/qt6_dev/android_armv7/plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so due to unmet dependencies: lib/libQt6Gui_armeabi-v7a.so
46: Skipping plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so due to unmet dependencies: lib/libQt6Gui_armeabi-v7a.so
46: Skipping createRCC
46: No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. Please include one.
It would be nice either:
- to skip the deployment step completely and display the cmake warning if application doesn't link to Core/Gui libraries
- show the tip that Core/Gui need to be linked to the application