diff options
author | Topi Reinio <topi.reinio@qt.io> | 2018-11-07 10:41:11 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2018-11-07 18:32:24 +0000 |
commit | 0d9aee0c22fb6bc4ff57c03f54b67d2817e1e886 (patch) | |
tree | 1cc08cb7c67ec34a983a239132bc2b31346df9ed /src/src.pro | |
parent | d682d612ec2ae75f12cde2525a0cacee798b2b49 (diff) |
Documentation: Get rid of QT_INSTALL_HEADERS in documentation config
The use of QT_INSTALL_HEADERS caused documentation build failures
in certain configurations. Use an alternative method to pass the
required include paths to QDoc; make the documentation subproject
depend on (a subset of) Qt 3D modules to retrieve them.
Task-number: QTBUG-67925
Change-Id: I2fb745fb59c319b85c51b544acdab95cded2207e
Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/src.pro')
-rw-r--r-- | src/src.pro | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/src.pro b/src/src.pro index cd07486e9..c3c8d6291 100644 --- a/src/src.pro +++ b/src/src.pro @@ -23,6 +23,10 @@ src_extras.subdir = $$PWD/extras src_extras.target = src_extras src_extras.depends = src_render src_input src_logic +src_doc.subdir = $$PWD/doc +src_doc.target = sub-doc +src_doc.depends = src_animation src_input + qtHaveModule(quick) { # Quick3D libs src_quick3d_core.subdir = $$PWD/quick3d/quick3d @@ -100,9 +104,7 @@ qtHaveModule(quick) { src_plugins_render.depends = src_render src_extras src_quick3d_render src_quick3d_scene2d } -SUBDIRS += \ - src_core \ - doc +SUBDIRS += src_core QT_FOR_CONFIG += 3dcore include($$OUT_PWD/core/qt3dcore-config.pri) @@ -110,7 +112,10 @@ include($$OUT_PWD/core/qt3dcore-config.pri) qtConfig(qt3d-input): SUBDIRS += src_input qtConfig(qt3d-logic): SUBDIRS += src_logic qtConfig(qt3d-render): SUBDIRS += src_render -qtConfig(qt3d-animation): SUBDIRS += src_animation +qtConfig(qt3d-animation) { + SUBDIRS += src_animation + qtConfig(qt3d-input): SUBDIRS += src_doc +} qtConfig(qt3d-extras) { SUBDIRS += \ src_extras \ |