summaryrefslogtreecommitdiffstats
path: root/examples/xml
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-10-16 11:55:24 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-10-19 11:51:47 +0200
commit2ffbac7cb2f16ab350d203a12a86535772d1c578 (patch)
tree6c75c04df8ddfdf9c466647858538ea9fa3b925b /examples/xml
parentc3fee0d984e59cee3ab6d069011015dd850be98f (diff)
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661 Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/xml')
-rw-r--r--examples/xml/dombookmarks/CMakeLists.txt2
-rw-r--r--examples/xml/htmlinfo/CMakeLists.txt2
-rw-r--r--examples/xml/rsslisting/CMakeLists.txt2
-rw-r--r--examples/xml/streambookmarks/CMakeLists.txt2
-rw-r--r--examples/xml/xmlstreamlint/.prev_CMakeLists.txt2
-rw-r--r--examples/xml/xmlstreamlint/CMakeLists.txt2
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/xml/dombookmarks/CMakeLists.txt b/examples/xml/dombookmarks/CMakeLists.txt
index bce2094a83..e3de1fd26d 100644
--- a/examples/xml/dombookmarks/CMakeLists.txt
+++ b/examples/xml/dombookmarks/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Xml)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(dombookmarks
+qt_add_executable(dombookmarks
main.cpp
mainwindow.cpp mainwindow.h
xbeltree.cpp xbeltree.h
diff --git a/examples/xml/htmlinfo/CMakeLists.txt b/examples/xml/htmlinfo/CMakeLists.txt
index e2480ef1a0..d4676de324 100644
--- a/examples/xml/htmlinfo/CMakeLists.txt
+++ b/examples/xml/htmlinfo/CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/htmlinfo")
find_package(Qt6 COMPONENTS Core)
-add_executable(htmlinfo
+qt_add_executable(htmlinfo
main.cpp
)
target_link_libraries(htmlinfo PUBLIC
diff --git a/examples/xml/rsslisting/CMakeLists.txt b/examples/xml/rsslisting/CMakeLists.txt
index 7007b2bdeb..caa4738f6e 100644
--- a/examples/xml/rsslisting/CMakeLists.txt
+++ b/examples/xml/rsslisting/CMakeLists.txt
@@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Network)
find_package(Qt6 COMPONENTS Xml)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(rsslisting
+qt_add_executable(rsslisting
main.cpp
rsslisting.cpp rsslisting.h
)
diff --git a/examples/xml/streambookmarks/CMakeLists.txt b/examples/xml/streambookmarks/CMakeLists.txt
index 671b22f7ae..6a6de031e5 100644
--- a/examples/xml/streambookmarks/CMakeLists.txt
+++ b/examples/xml/streambookmarks/CMakeLists.txt
@@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Xml)
find_package(Qt6 COMPONENTS Widgets)
-add_qt_gui_executable(streambookmarks
+qt_add_executable(streambookmarks
main.cpp
mainwindow.cpp mainwindow.h
xbelreader.cpp xbelreader.h
diff --git a/examples/xml/xmlstreamlint/.prev_CMakeLists.txt b/examples/xml/xmlstreamlint/.prev_CMakeLists.txt
index 3c2e8cb19a..215cc83f6e 100644
--- a/examples/xml/xmlstreamlint/.prev_CMakeLists.txt
+++ b/examples/xml/xmlstreamlint/.prev_CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/xmlstreamlint")
find_package(Qt6 COMPONENTS Core)
-add_executable(xmlstreamlint
+qt_add_executable(xmlstreamlint
main.cpp
)
target_link_libraries(xmlstreamlint PUBLIC
diff --git a/examples/xml/xmlstreamlint/CMakeLists.txt b/examples/xml/xmlstreamlint/CMakeLists.txt
index bea0c5c1f4..0642344892 100644
--- a/examples/xml/xmlstreamlint/CMakeLists.txt
+++ b/examples/xml/xmlstreamlint/CMakeLists.txt
@@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/xml/xmlstreamlint")
find_package(Qt6 COMPONENTS Core Xml) # special case
-add_executable(xmlstreamlint
+qt_add_executable(xmlstreamlint
main.cpp
)
target_link_libraries(xmlstreamlint PUBLIC