summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/rbutilqt.pro
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index cfd6fb39ab..43d74e59d7 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -32,6 +32,7 @@ unix:!mac:!noccache {
32} 32}
33MACHINEFLAGS = $$find(QMAKE_CFLAGS, -m[63][42]) 33MACHINEFLAGS = $$find(QMAKE_CFLAGS, -m[63][42])
34EXTRALIBS_OPTS += EXTRALIBS_CC=\"$$QMAKE_CC\" 34EXTRALIBS_OPTS += EXTRALIBS_CC=\"$$QMAKE_CC\"
35EXTRALIBS_OPTS += EXTRALIBS_CXX=\"$$QMAKE_CXX\"
35EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\" \ 36EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\" \
36 37
37MYBUILDDIR = $$OUT_PWD/build/ 38MYBUILDDIR = $$OUT_PWD/build/
@@ -251,8 +252,10 @@ macx {
251} 252}
252 253
253static { 254static {
254 QTPLUGIN += qtaccessiblewidgets 255 if(equals(QT_MAJOR_VERSION, 5) : lessThan(QT_MINOR_VERSION, 4)) | lessThan(QT_MAJOR_VERSION, 5) {
255 LIBS += -L$$(QT_BUILD_TREE)/plugins/accessible -lqtaccessiblewidgets 256 QTPLUGIN += qtaccessiblewidgets
257 LIBS += -L$$(QT_BUILD_TREE)/plugins/accessible -lqtaccessiblewidgets
258 }
256 LIBS += -L. 259 LIBS += -L.
257 DEFINES += STATIC 260 DEFINES += STATIC
258 message("using static plugin") 261 message("using static plugin")