summaryrefslogtreecommitdiffstats
path: root/src/src.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/src.pro b/src/src.pro
index 2796171d6..7a1af0078 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -4,13 +4,15 @@ qtHaveModule(widgets) {
no-png {
message("Some graphics-related tools are unavailable without PNG support")
} else {
- SUBDIRS = assistant \
- pixeltool \
- designer
-
- qtHaveModule(quick):qtConfig(thread): SUBDIRS += distancefieldgenerator
-
- linguist.depends = designer
+ QT_FOR_CONFIG += widgets
+ qtConfig(pushbutton):qtConfig(toolbutton) {
+ SUBDIRS = assistant \
+ designer \
+ pixeltool
+
+ linguist.depends = designer
+ }
+ qtHaveModule(quick):qtConfig(thread):qtConfig(toolbutton): SUBDIRS += distancefieldgenerator
}
}