diff options
author | Axel Spoerl <axel.spoerl@qt.io> | 2023-05-05 12:02:26 +0200 |
---|---|---|
committer | Axel Spoerl <axel.spoerl@qt.io> | 2023-05-05 13:16:33 +0200 |
commit | 7ae8a61df62f9c6793ef5540846008ac03d87828 (patch) | |
tree | f34ea3794b277f6a1c9c3d2eb5197a88c288aeee | |
parent | 5a67a065d6edc9cbb1a99918384c0dace5e6b3ae (diff) | |
download | qtdoc-7ae8a61df62f9c6793ef5540846008ac03d87828.tar.gz |
Documentviewer demo: Remove optional PrintSupport and PdfWidgets deps
This patch removes optional dependencies to eliminate compiler
errors/warnings.
Task-number: QTBUG-113377
Change-Id: I95707ccad30837093263d509a5617b2de4574962
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
-rw-r--r-- | examples/demos/documentviewer/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/demos/documentviewer/app/CMakeLists.txt | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/examples/demos/documentviewer/CMakeLists.txt b/examples/demos/documentviewer/CMakeLists.txt index 28f91fc1..97636339 100644 --- a/examples/demos/documentviewer/CMakeLists.txt +++ b/examples/demos/documentviewer/CMakeLists.txt @@ -4,8 +4,8 @@ cmake_minimum_required(VERSION 3.16) project(documentviewer LANGUAGES CXX) -find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets - OPTIONAL_COMPONENTS PrintSupport PdfWidgets) +find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) +# OPTIONAL_COMPONENTS PrintSupport PdfWidgets) if(NOT DEFINED INSTALL_EXAMPLESDIR) set(INSTALL_EXAMPLESDIR "examples") diff --git a/examples/demos/documentviewer/app/CMakeLists.txt b/examples/demos/documentviewer/app/CMakeLists.txt index 66b9cbec..c27282b8 100644 --- a/examples/demos/documentviewer/app/CMakeLists.txt +++ b/examples/demos/documentviewer/app/CMakeLists.txt @@ -1,8 +1,7 @@ cmake_minimum_required(VERSION 3.16) project(documentviewer LANGUAGES CXX) -find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets - OPTIONAL_COMPONENTS PrintSupport PdfWidgets) +find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_standard_project_setup() |