summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_build_config.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/qt_build_config.prf')
-rw-r--r--mkspecs/features/qt_build_config.prf5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf
index 8273ba3fe1..511b158b91 100644
--- a/mkspecs/features/qt_build_config.prf
+++ b/mkspecs/features/qt_build_config.prf
@@ -91,10 +91,13 @@ android|uikit|winrt: \
# Prevent warnings about object files without any symbols
macos: CONFIG += no_warn_empty_obj_files
+# Make sure the doc features are loaded last since they depend on other
+# features setting up things like includepaths to find everything.
+CONFIG = prepare_docs qt_docs_targets $$CONFIG
+
CONFIG += \
utf8_source \
create_prl link_prl \
- prepare_docs qt_docs_targets \
no_private_qt_headers_warning QTDIR_build \
qt_example_installs \
# Qt modules get compiled without exceptions enabled by default.