summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-08-10 14:21:14 +0200
committerTopi Reinio <topi.reinio@qt.io>2020-09-23 21:33:23 +0200
commit82384d23378ca8277d0a228c1f343d7d89912edb (patch)
tree82be668f09c1dadb4176459f2848913c4718ae37 /tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf
parent668696ac8502c7fced5f0985188bff62a9040313 (diff)
qdoc: Test the C++ property macros in QDoc's generatedoutput autotest
In order to test the Q_PROPERTY macros, we need to provide include paths to QtCore for the test. Generate a list of include files when running qmake or CMake, stored in a file, and load that file as extra command line arguments when running QDoc. Skip the test if that file is not available at the time of test execution. Fixes: QTBUG-85565 Change-Id: Ibe7ec4a454441c15320b3a7e1ff8ebefb44c2f5e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf')
-rw-r--r--tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf
new file mode 100644
index 000000000..610b96948
--- /dev/null
+++ b/tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf
@@ -0,0 +1,10 @@
+include(testcpp.qdocconf)
+
+defines += test_properties
+
+sources += ../testcpp/properties.qdoc
+
+outputformats = HTML DocBook
+{HTML.nosubdirs,DocBook.nosubdirs} = true
+HTML.outputsubdir = properties
+DocBook.outputsubdir = properties-docbook