summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-02-24 19:56:22 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-02-25 11:36:09 +0100
commitfed9bcfc97ade6366c8f5a4559607daf18befb57 (patch)
tree01785c5fb41f2013fe709302476296adeea80e98
parenta100f74851afc596b828c67f9eb402d95081e907 (diff)
downloadqttools-fed9bcfc97ade6366c8f5a4559607daf18befb57.tar.gz
Don't run qdoc tests if qdoc was not enabled during configure
Change-Id: I2dd4998811769cc8df3b190cc411390e5a2557d6 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--tests/auto/qdoc/qdoc.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qdoc/qdoc.pro b/tests/auto/qdoc/qdoc.pro
index c7af516ae..481e59d1d 100644
--- a/tests/auto/qdoc/qdoc.pro
+++ b/tests/auto/qdoc/qdoc.pro
@@ -1,5 +1,9 @@
TEMPLATE = subdirs
+include($$OUT_PWD/../../../src/qdoc/qtqdoc-config.pri)
+QT_FOR_CONFIG += qdoc-private
+requires(qtConfig(qdoc))
+
SUBDIRS = \
config \
generatedoutput \