diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-10-05 17:28:26 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-10-05 14:50:27 +0000 |
commit | ecb33b42996c07860f75dadc9fa72f8ff1b183b1 (patch) | |
tree | d64f9df1e76bc903f04b1f9bb6eb872ff69b57ab | |
parent | 34f3b711e12780d07c9903834de86a86141daaa3 (diff) |
skip building gtk2 platform theme if gtk+-2.0 is missing
Change-Id: I35e648023168155e28790045f9a74a1d4c609a00
Reviewed-by: Dmitry Shachnev <mitya57@gmail.com>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r-- | src/plugins/platformthemes/platformthemes.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/platformthemes/platformthemes.pro b/src/plugins/platformthemes/platformthemes.pro index 064880e..fedc8f7 100644 --- a/src/plugins/platformthemes/platformthemes.pro +++ b/src/plugins/platformthemes/platformthemes.pro @@ -1,2 +1,5 @@ TEMPLATE = subdirs -SUBDIRS = gtk2 + +packagesExist(gtk+-2.0) { + SUBDIRS += gtk2 +} |