Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.12.0
-
None
-
windows 7 x64, ndk18d
Description
For some reason, Qt pulls in the Widgets module for a project that doesn't even include it:
QT += quick quickcontrols2
The resulting APK file contains libQt5Widgets.so, which constitutes a 2 mb package and 3.7 mb deployment overhead. Should that be happening?
Examining the verbose build output, it seems that the module is brought in by the Qt.labs.platform module:
-- Appending dependency found by qmlimportscanner: E:/Qt/Qt5.12.0/5.12.0/android_armv7/qml/Qt/labs/platform/libqtlabsplatformplugin.so Reading dependencies from E:/Qt/Qt5.12.0/5.12.0/android_armv7/qml/Qt/labs/platform/libqtlabsplatformplugin.so lib/libQt5Quick.so lib/libQt5Widgets.so lib/libQt5Gui.so lib/libQt5Qml.so lib/libQt5Network.so lib/libQt5Core.so