diff options
-rw-r--r-- | examples/demos/CMakeLists.txt | 4 |
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() |