Move rsslisting example into corelibe/serialization
The implementation of the stream-based XML parser resides in coreslib/serialization. Moving the rsslisting example there. Task-number: QTBUG-110647 Pick-to: 6.5 Change-Id: I862909e767301250750b6ee0d8ac7e20d6bad2b1 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
parent
3c521e1fb4
commit
10b4c06b49
@ -4,3 +4,6 @@
|
||||
qt_internal_add_example(cbordump)
|
||||
qt_internal_add_example(convert)
|
||||
qt_internal_add_example(savegame)
|
||||
if(TARGET Qt6::Network AND TARGET Qt6::Widgets)
|
||||
qt_internal_add_example(rsslisting)
|
||||
endif()
|
||||
|
@ -8,7 +8,7 @@ if(NOT DEFINED INSTALL_EXAMPLESDIR)
|
||||
set(INSTALL_EXAMPLESDIR "examples")
|
||||
endif()
|
||||
|
||||
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/rsslisting")
|
||||
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/serialization/rsslisting")
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Network Widgets)
|
||||
|
@ -4,5 +4,5 @@ QT += network widgets
|
||||
requires(qtConfig(treewidget))
|
||||
|
||||
# install
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/xml/rsslisting
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/serialization/rsslisting
|
||||
INSTALLS += target
|
@ -3,3 +3,8 @@ SUBDIRS = \
|
||||
cbordump \
|
||||
convert \
|
||||
savegame
|
||||
|
||||
qtHaveModule(widgets) {
|
||||
qtHaveModule(network): SUBDIRS += \
|
||||
rsslisting
|
||||
}
|
||||
|
@ -5,6 +5,3 @@ if(TARGET Qt6::Widgets)
|
||||
qt_internal_add_example(dombookmarks)
|
||||
qt_internal_add_example(streambookmarks)
|
||||
endif()
|
||||
if(TARGET Qt6::Network AND TARGET Qt6::Widgets)
|
||||
qt_internal_add_example(rsslisting)
|
||||
endif()
|
||||
|
@ -3,7 +3,4 @@ TEMPLATE = subdirs
|
||||
qtHaveModule(widgets) {
|
||||
SUBDIRS += dombookmarks \
|
||||
streambookmarks
|
||||
|
||||
qtHaveModule(network): SUBDIRS += \
|
||||
rsslisting
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user