summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-10-21 23:58:50 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-10-22 05:57:13 +0000
commit8bf15570d8e741574e5540e56621c26e9cdd5442 (patch)
treea8b4d0a862e239081a7eeb9d36c315a432c86669 /src
parentee567fa93bfc0e2aa3e5432f7c5f1ed0d08b24a2 (diff)
Build the BB10 style with Qt 5.7 or later only
Change-Id: I18449b542ffc4d43ee31cabb58611f79396983fd Reviewed-by: Louai Al-Khanji <louai.al-khanji@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/styles/styles.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/styles/styles.pro b/src/plugins/styles/styles.pro
index adcf8e4..fa96033 100644
--- a/src/plugins/styles/styles.pro
+++ b/src/plugins/styles/styles.pro
@@ -2,8 +2,12 @@ TEMPLATE = subdirs
SUBDIRS = \
cleanlooks \
motif \
- plastique \
- bb10style
+ plastique
+
+greaterThan(QT_MAJOR_VERSION, 5) | greaterThan(QT_MINOR_VERSION, 6) {
+ # only 5.7 or later
+ SUBDIRS += bb10style
+}
packagesExist(gtk+-2.0 x11) {
SUBDIRS += gtk2