summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/doc.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/doc.pro b/doc/doc.pro
index d0e0ed409..314a87398 100644
--- a/doc/doc.pro
+++ b/doc/doc.pro
@@ -5,4 +5,6 @@
######################################################################
TEMPLATE = subdirs
-SUBDIRS += src/snippets
+
+# Doc snippets use widgets
+!isEmpty(QT.widgets.name): SUBDIRS += src/snippets