summaryrefslogtreecommitdiffstats
path: root/src/network/configure.json
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2016-10-27 18:05:51 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2016-11-03 15:25:45 +0000
commit9930ea92c1301ae13760a8492f69f381a65ada68 (patch)
treedfdf0b63d9944ff7dd4623120103fe34ef89773e /src/network/configure.json
parent181bb447f55d174654e742d24206068fb119ff72 (diff)
configure -libproxy: add a warning if not namespacing Qt
Task-number: QTBUG-46058 Change-Id: I62978b7fe9a82f9facb16ba56d0b14b792e3de61 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/network/configure.json')
-rw-r--r--src/network/configure.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/network/configure.json b/src/network/configure.json
index 124fa1718f..30a1c39c0c 100644
--- a/src/network/configure.json
+++ b/src/network/configure.json
@@ -253,6 +253,19 @@
library names through OPENSSL_LIBS.
For example:
OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked"
+ },
+ {
+ "type": "warning",
+ "condition": "features.libproxy && input.qt_namespace == ''",
+ "message": "Some of libproxy's plugins may use incompatible Qt versions.
+
+ Some platforms and distributions ship libproxy with plugins, such
+ as config_kde4.so, that are linked against old versions of Qt; and
+ libproxy loads these plugins automatically when initialized. If Qt
+ is not in a namespace, that loading causes a crash. Even if the
+ systems on which you build and test have no such plugins, your
+ users' systems may have them. We therefore recommend that you
+ combine -libproxy with -qtnamespace when configuring Qt."
}
],