summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_plugin.prf
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kde.org>2019-09-17 09:56:14 +0300
committerBogDan Vatra <bogdan@kde.org>2019-10-01 11:36:24 +0300
commitfcb78b500076bf3917e5d8bf8507395bbc33a1a5 (patch)
tree2f9a7d0d94e9cebfcfd6f42c5cf49ccb07d39ba4 /mkspecs/features/qt_plugin.prf
parent9e59024bf80124dbf301e8b3dca3dc4548fee428 (diff)
Android: Fix plugins naming
Android 5 doesn't extract the files from libs folder unless they are prefixed with "lib". This patch sets a proper name for the plugin which will make gdb happy and it will also avoid any name clashes. If we rename the plugins when we copy them, gdb won't find them, therefore it can't load their symbols. On Android all the libs are in a single folder, so to make sure we don't have any name clashes, we are prefixing the plugin name with it's relative path to qt folder (we replace / with _). Fixes: QTBUG-78616 Change-Id: I7e0e67d65448532769d69f46b1856c029e2cf5cb Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'mkspecs/features/qt_plugin.prf')
-rw-r--r--mkspecs/features/qt_plugin.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf
index 6e7388c352..573d717eea 100644
--- a/mkspecs/features/qt_plugin.prf
+++ b/mkspecs/features/qt_plugin.prf
@@ -92,7 +92,7 @@ target.path = $$[QT_INSTALL_PLUGINS]/$$PLUGIN_TYPE
INSTALLS += target
qt_libinfix_plugins: TARGET = $$TARGET$$QT_LIBINFIX
-TARGET = $$qt5LibraryTarget($$TARGET)
+TARGET = $$qt5LibraryTarget($$TARGET, "plugins/$$PLUGIN_TYPE/")
CONFIG += create_cmake