diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-10-21 23:58:50 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-10-22 05:57:13 +0000 |
commit | 8bf15570d8e741574e5540e56621c26e9cdd5442 (patch) | |
tree | a8b4d0a862e239081a7eeb9d36c315a432c86669 | |
parent | ee567fa93bfc0e2aa3e5432f7c5f1ed0d08b24a2 (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>
-rw-r--r-- | src/plugins/styles/styles.pro | 8 |
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 |