summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2023-03-22 15:43:16 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2023-03-23 15:27:40 +0100
commit527896dc3d8ef394c9dd6c9919b96b0491c0aa18 (patch)
tree6e92f5200adcb248bfc7b4f76ca815ea9f40e943 /examples
parent611de7a799bd61bf3e0f35391a1bc8e5d94a5b18 (diff)
downloadqtdoc-527896dc3d8ef394c9dd6c9919b96b0491c0aa18.tar.gz
Build the photosurface demo only with Quick + QSB + PDF
We need qsb for the background shader, and the PDF image format for the intro slides. Task-number: QTBUG-108924 Change-Id: I6e4d8467730ad0691e71d08c8d456bf2d071f984 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/demos/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/demos/CMakeLists.txt b/examples/demos/CMakeLists.txt
index c4783c46..d49015fc 100644
--- a/examples/demos/CMakeLists.txt
+++ b/examples/demos/CMakeLists.txt
@@ -7,7 +7,6 @@ if(TARGET Qt::Quick)
qt_internal_add_example(clocks)
qt_internal_add_example(tweetsearch)
qt_internal_add_example(maroon)
- qt_internal_add_example(photosurface)
qt_internal_add_example(stocqt)
endif()
if(TARGET Qt::Quick AND TARGET Qt::QuickControls2)
@@ -21,6 +20,9 @@ if(TARGET Qt::Quick AND TARGET Qt::Network AND TARGET Qt::QmlXmlListModel)
qt_internal_add_example(rssnews)
qt_internal_add_example(photoviewer)
endif()
+if(TARGET Qt::Quick AND TARGET Qt::qsb AND TARGET Qt::Pdf)
+ qt_internal_add_example(photosurface)
+endif()
if(TARGET Qt::Widgets AND TARGET Qt::PdfWidgets)
qt_internal_add_example(documentviewer)
endif()