aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qttools/0003-src.pro-Add-option-noqdoc-to-disable-qdoc-builds.patch
blob: 06eec226f2ac61e09ea02c91808412ad663cf223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From ffbd58e5a6c709592fb97a6d033820556b76ab53 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 14 Dec 2019 18:36:49 -0800
Subject: [PATCH] src.pro: Add option noqdoc to disable qdoc builds

it needs clang on host, so lets separate it out

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/src.pro | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/src.pro b/src/src.pro
index 5c256ea3..196c34c7 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -25,7 +25,7 @@ qtConfig(library) {
 
 include($$OUT_PWD/qdoc/qtqdoc-config.pri)
 QT_FOR_CONFIG += qdoc-private
-qtConfig(qdoc): qtConfig(thread): SUBDIRS += qdoc
+qtConfig(qdoc): qtConfig(thread):!contains(CONFIG, noqdoc): SUBDIRS += qdoc
 
 !android|android_app: SUBDIRS += qtpaths