diff options
author | Martchus | 2017-12-14 01:06:20 +0100 |
---|---|---|
committer | Martchus | 2017-12-14 01:06:20 +0100 |
commit | d6d71dbf8a51a1efc0b852f25fc667b159f45c08 (patch) | |
tree | 5aaaeabf0aded780d9ca20b16db858d0448786b2 /0033-Fix-linking-against-static-plugins-with-qmake.patch | |
parent | 1b8f63cfb014aa54a6d385c111b94d4c6c05ed29 (diff) | |
download | aur-d6d71dbf8a51a1efc0b852f25fc667b159f45c08.tar.gz |
Update to 5.10.0
Diffstat (limited to '0033-Fix-linking-against-static-plugins-with-qmake.patch')
-rw-r--r-- | 0033-Fix-linking-against-static-plugins-with-qmake.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/0033-Fix-linking-against-static-plugins-with-qmake.patch b/0033-Fix-linking-against-static-plugins-with-qmake.patch new file mode 100644 index 000000000000..d849f3d800ac --- /dev/null +++ b/0033-Fix-linking-against-static-plugins-with-qmake.patch @@ -0,0 +1,37 @@ +From 7db753e04de6a458fc10124b7e3b12ac5f4d1623 Mon Sep 17 00:00:00 2001 +From: Martchus <martchus@gmx.net> +Date: Fri, 25 Aug 2017 17:07:17 +0200 +Subject: [PATCH 33/34] Fix linking against static plugins with qmake + +Required because qtConfig(static) does not work +with 'Merge shared and static library trees' +approach +--- + mkspecs/features/qt.prf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf +index afaac3dbc4..82b02b5113 100644 +--- a/mkspecs/features/qt.prf ++++ b/mkspecs/features/qt.prf +@@ -65,7 +65,7 @@ all_qt_module_deps = $$resolve_depends(qt_module_deps, "QT.", ".depends" ".run_d + + QTPLUGIN = $$unique($$list($$lower($$QTPLUGIN))) + +-import_plugins:qtConfig(static) { ++import_plugins:static { + manualplugs = $$QTPLUGIN # User may specify plugins. Mostly legacy. + autoplugs = # Auto-added plugins. + # First round: explicitly specified modules. +@@ -135,7 +135,7 @@ import_plugins:qtConfig(static) { + } + + # Only link against plugins in static builds +-!isEmpty(QTPLUGIN):qtConfig(static) { ++!isEmpty(QTPLUGIN):static { + for (plug, QTPLUGIN) { + # Check if the plugin is known to Qt. We can use this to determine + # the plugin path. Unknown plugins must rely on the default link path. +-- +2.15.1 + |