diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-02-23 16:44:13 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-03-02 11:08:07 +0100 |
commit | 9d80deb92f066dba6c2bfce98f5cc83304026c2b (patch) | |
tree | d7102ccb366d433264942c012c3c771ec7aa22ec /src/3rdparty/freetype/src/type1/t1gload.h | |
parent | ba139603925453bf79994eca48b566d8f15b2af0 (diff) |
cmake: disable snippets/graphicsview if "printdialog" is not available
The graphicsview doc snippet has an explicit
QT_REQUIRE_CONFIG(printdialog) check that will fail the
build if Qt is not configured with "printdialog".
This check should be mirrored in the cmake file, so that
we skip building the snippet in the first place if the
feature is not available.
As it stood, we would build the snippet if "printsupport"
was enabled. But this is too granular, as you can configure
Qt to have general print support, but at the same time, skip
the print dialog. This caused the build to fail on iOS.
This patch will check the correct feature in the cmake file.
Change-Id: I31acc1f7c257e08374ea7b84a7fc38c66f214271
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/3rdparty/freetype/src/type1/t1gload.h')
0 files changed, 0 insertions, 0 deletions