summaryrefslogtreecommitdiffstats
path: root/src/src.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2018-08-09 14:50:55 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2018-08-24 05:45:55 +0000
commite8f3a4afd5e7a62ef5d6e7fdf953b8befe9bb0cd (patch)
treef0bea22532c5aebcf390af1981ad09f74601b6ac /src/src.pro
parentbabc227fa25733c1562eccd9623fd8a5f6bec688 (diff)
Skip building qdoc if Qt is configured with no-thread
After the code parser switched to clang, qdoc requires the -pthread compiler flag which is disabled for no-thread builds. Change-Id: I50db3e559569c2e876902dbbedc52127793ff67d Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src.pro b/src/src.pro
index b6f6dcb1f..8eac4432f 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -21,7 +21,7 @@ qtConfig(library) {
!android|android_app: SUBDIRS += qtplugininfo
}
-config_clang: SUBDIRS += qdoc
+config_clang: qtConfig(thread): SUBDIRS += qdoc
if(!android|android_app):!uikit: SUBDIRS += qtpaths