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>
This commit is contained in:
Øystein Heskestad 2023-03-20 12:14:59 +01:00
parent dffc67e6f2
commit 7185c8e0a4
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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