CMake: Regenerate examples to use qt_add_executable

Task-number: QTBUG-87661
Change-Id: Id97b3405ce69eb5db61790e8187a48762f3067db
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
This commit is contained in:
Alexandru Croitor 2020-10-16 16:28:25 +02:00
parent 7fbc0017a8
commit 8097af244f
10 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
add_qt_gui_executable(calqlatr
qt_add_executable(calqlatr
main.cpp
)
target_link_libraries(calqlatr PUBLIC

View File

@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
add_qt_gui_executable(clocks
qt_add_executable(clocks
main.cpp
)
target_link_libraries(clocks PUBLIC

View File

@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
add_qt_gui_executable(coffee
qt_add_executable(coffee
main.cpp
)
target_compile_definitions(coffee PUBLIC

View File

@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
add_qt_gui_executable(maroon
qt_add_executable(maroon
main.cpp
)
target_link_libraries(maroon PUBLIC

View File

@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS XmlPatterns)
add_qt_gui_executable(photoviewer
qt_add_executable(photoviewer
main.cpp
)
target_link_libraries(photoviewer PUBLIC

View File

@ -22,7 +22,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Xml)
find_package(Qt6 COMPONENTS XmlPatterns)
add_qt_gui_executable(rssnews
qt_add_executable(rssnews
main.cpp
)
target_link_libraries(rssnews PUBLIC

View File

@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS Sql)
add_qt_gui_executable(samegame
qt_add_executable(samegame
main.cpp
)
target_link_libraries(samegame PUBLIC

View File

@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
add_qt_gui_executable(stocqt
qt_add_executable(stocqt
main.cpp
)
target_link_libraries(stocqt PUBLIC

View File

@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS Qml)
add_qt_gui_executable(tweetsearch
qt_add_executable(tweetsearch
main.cpp
)
target_link_libraries(tweetsearch PUBLIC

View File

@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Quick)
add_qt_gui_executable(alarms
qt_add_executable(alarms
main.cpp
)
target_link_libraries(alarms PUBLIC