From 7185c8e0a46344496de0f516c4d1b4b8f738ccec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Heskestad?= Date: Mon, 20 Mar 2023 12:14:59 +0100 Subject: 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 --- examples/xml/streambookmarks/CMakeLists.txt | 3 +-- examples/xml/streambookmarks/streambookmarks.pro | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'examples/xml') 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 -- cgit v1.2.3