summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2016-07-09 15:39:52 +0300
committerDmitry Shachnev <mitya57@gmail.com>2016-07-12 14:11:26 +0000
commit2d55b4996eaa26c973afdf15f6f703c0a1840a96 (patch)
tree4ec9f3c4fc701f5e99a9a77c4a3b913eaf681e24
parentda117cdd5a602ad6c77a41699fbea6f685f62931 (diff)
downloadqtsvg-2d55b4996eaa26c973afdf15f6f703c0a1840a96.tar.gz
Allow running qicon_svg test against local qtsvg buildv5.6.25.6.2
When the build is local (i.e. not system-wide installed), libQt5Svg.so.5 needs to be on LD_LIBRARY_PATH, otherwise the plugin will not be able to load it. LD_LIBRARY_PATH is set by target_wrapper.sh, generated by qmake, which will add local lib directory there only if QT contains svg. This is a workaround for the dependency resolution of plugins and modules not being properly integrated. Change-Id: I68c3bc850367af62e7ccaa766fa83453fa0d8621 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-rw-r--r--tests/auto/qicon_svg/qicon_svg.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qicon_svg/qicon_svg.pro b/tests/auto/qicon_svg/qicon_svg.pro
index 643717c..b7f4832 100644
--- a/tests/auto/qicon_svg/qicon_svg.pro
+++ b/tests/auto/qicon_svg/qicon_svg.pro
@@ -1,12 +1,11 @@
CONFIG += testcase
TARGET = tst_qicon_svg
-QT += testlib gui-private
+QT += svg testlib gui-private
SOURCES += tst_qicon_svg.cpp
RESOURCES = tst_qicon_svg.qrc
wince* {
- QT += svg
DEPLOYMENT_PLUGIN += qsvg
}
TESTDATA += icons/*