Remove libQt6Xml dependency in rsslisting example

This example does not use libQt6Xml, remove dependency.

Task-number: QTBUG-110647
Pick-to: 6.5 6.2
Change-Id: Ida8c4df0e274cbc2e0a5f7151f18693d7e1c2401
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Øystein Heskestad 2023-03-20 11:48:34 +01:00
parent 7185c8e0a4
commit 3c521e1fb4
2 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,7 @@ endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/rsslisting")
find_package(Qt6 REQUIRED COMPONENTS Core Gui Network Widgets Xml)
find_package(Qt6 REQUIRED COMPONENTS Core Gui Network Widgets)
qt_standard_project_setup()
@ -29,7 +29,6 @@ target_link_libraries(rsslisting PRIVATE
Qt6::Gui
Qt6::Network
Qt6::Widgets
Qt6::Xml
)
install(TARGETS rsslisting

View File

@ -1,6 +1,6 @@
HEADERS += rsslisting.h
SOURCES += main.cpp rsslisting.cpp
QT += network xml widgets
QT += network widgets
requires(qtConfig(treewidget))
# install