path: root/tests
diff options
authorRichard Moe Gustavsen <>2021-02-23 16:44:13 +0100
committerRichard Moe Gustavsen <>2021-03-02 11:08:07 +0100
commit9d80deb92f066dba6c2bfce98f5cc83304026c2b (patch)
treed7102ccb366d433264942c012c3c771ec7aa22ec /tests
parentba139603925453bf79994eca48b566d8f15b2af0 (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 <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions