diff options
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.pro | 7 |
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 | } |
33 | MACHINEFLAGS = $$find(QMAKE_CFLAGS, -m[63][42]) | 33 | MACHINEFLAGS = $$find(QMAKE_CFLAGS, -m[63][42]) |
34 | EXTRALIBS_OPTS += EXTRALIBS_CC=\"$$QMAKE_CC\" | 34 | EXTRALIBS_OPTS += EXTRALIBS_CC=\"$$QMAKE_CC\" |
35 | EXTRALIBS_OPTS += EXTRALIBS_CXX=\"$$QMAKE_CXX\" | ||
35 | EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\" \ | 36 | EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\" \ |
36 | 37 | ||
37 | MYBUILDDIR = $$OUT_PWD/build/ | 38 | MYBUILDDIR = $$OUT_PWD/build/ |
@@ -251,8 +252,10 @@ macx { | |||
251 | } | 252 | } |
252 | 253 | ||
253 | static { | 254 | static { |
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") |