diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-02-02 11:51:59 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-02-09 09:17:21 +0100 |
commit | 9d84bafebabb48b83edd6392027238d7a4dd3581 (patch) | |
tree | 0e07fb62b137fe34d06f62a6ca083448a7e6c55a /configure.cmake | |
parent | 841e63cb77094a7a50fe7c9f0e210b045f7c7402 (diff) |
Make it possible to disable the PrintSupport module
Introduce the 'printsupport' feature to control whether the PrintSupport
module is built.
[ChangeLog][QtPrintSupport] Building of QtPrintSupport can be disabled
by passing -no-feature-printsupport to configure.
Fixes: QTBUG-90778
Change-Id: I8a9a4b7f8dd8f39a81565c8eb14ce1ae0839267d
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Nodir Temirkhodjaev <nodir.temir@gmail.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index d0767902c8..830a408b7b 100644 --- a/configure.cmake +++ b/configure.cmake @@ -898,6 +898,10 @@ qt_feature_config("gui" QMAKE_PUBLIC_QT_CONFIG qt_feature("network" PRIVATE LABEL "Qt Network" ) +qt_feature("printsupport" PRIVATE + LABEL "Qt PrintSupport" + CONDITION QT_FEATURE_widgets +) qt_feature("sql" PRIVATE LABEL "Qt Sql" CONDITION QT_FEATURE_thread |