diff options
author | Øystein Heskestad <oystein.heskestad@qt.io> | 2023-03-20 12:14:59 +0100 |
---|---|---|
committer | Øystein Heskestad <oystein.heskestad@qt.io> | 2023-03-21 14:49:08 +0100 |
commit | 7185c8e0a46344496de0f516c4d1b4b8f738ccec (patch) | |
tree | c00c9e98995a11a5142aee96e3fb287787d466c7 | |
parent | dffc67e6f2a15a2ae7783e97749d5400a0a3cd99 (diff) |
Remove libQt6Xml dependency in streambookmarks example
This example does not use libQt6Xml, remove dependency.
Task-number: QTBUG-110647
Pick-to: 6.5 6.2
Change-Id: I40e5976121ddc97a78b540d17784b3357b87adf7
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
-rw-r--r-- | examples/xml/streambookmarks/CMakeLists.txt | 3 | ||||
-rw-r--r-- | examples/xml/streambookmarks/streambookmarks.pro | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/xml/streambookmarks/CMakeLists.txt b/examples/xml/streambookmarks/CMakeLists.txt index e4a18aa0fb..cefc30453e 100644 --- a/examples/xml/streambookmarks/CMakeLists.txt +++ b/examples/xml/streambookmarks/CMakeLists.txt @@ -10,7 +10,7 @@ endif() set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/streambookmarks") -find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Xml) +find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_standard_project_setup() @@ -30,7 +30,6 @@ target_link_libraries(streambookmarks PRIVATE Qt6::Core Qt6::Gui Qt6::Widgets - Qt6::Xml ) install(TARGETS streambookmarks diff --git a/examples/xml/streambookmarks/streambookmarks.pro b/examples/xml/streambookmarks/streambookmarks.pro index 8c2fc3fa19..23eebdfe7d 100644 --- a/examples/xml/streambookmarks/streambookmarks.pro +++ b/examples/xml/streambookmarks/streambookmarks.pro @@ -5,7 +5,7 @@ SOURCES = main.cpp \ mainwindow.cpp \ xbelreader.cpp \ xbelwriter.cpp -QT += xml widgets +QT += widgets requires(qtConfig(filedialog)) EXAMPLE_FILES = frank.xbel jennifer.xbel |