mirror of https://github.com/qt/qtbase.git
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661 Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
c3fee0d984
commit
2ffbac7cb2
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(localfortuneclient
|
||||
qt_add_executable(localfortuneclient
|
||||
client.cpp client.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(localfortuneserver
|
||||
qt_add_executable(localfortuneserver
|
||||
main.cpp
|
||||
server.cpp server.h
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(sharedmemory
|
||||
qt_add_executable(sharedmemory
|
||||
dialog.cpp dialog.h dialog.ui
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_executable(mimetypebrowser
|
||||
qt_add_executable(mimetypebrowser
|
||||
main.cpp
|
||||
mainwindow.cpp mainwindow.h
|
||||
mimetypemodel.cpp mimetypemodel.h
|
||||
|
|
|
@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump")
|
|||
|
||||
find_package(Qt6 COMPONENTS Core)
|
||||
|
||||
add_executable(cbordump
|
||||
qt_add_executable(cbordump
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(cbordump PUBLIC
|
||||
|
|
|
@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/serialization/convert")
|
|||
|
||||
find_package(Qt6 COMPONENTS Core)
|
||||
|
||||
add_executable(convert
|
||||
qt_add_executable(convert
|
||||
cborconverter.cpp cborconverter.h
|
||||
converter.h
|
||||
datastreamconverter.cpp datastreamconverter.h
|
||||
|
|
|
@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/serialization/savegame")
|
|||
|
||||
find_package(Qt6 COMPONENTS Core)
|
||||
|
||||
add_executable(savegame
|
||||
qt_add_executable(savegame
|
||||
character.cpp character.h
|
||||
game.cpp game.h
|
||||
level.cpp level.h
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(mandelbrot
|
||||
qt_add_executable(mandelbrot
|
||||
main.cpp
|
||||
mandelbrotwidget.cpp mandelbrotwidget.h
|
||||
renderthread.cpp renderthread.h
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(queuedcustomtype
|
||||
qt_add_executable(queuedcustomtype
|
||||
block.cpp block.h
|
||||
main.cpp
|
||||
renderthread.cpp renderthread.h
|
||||
|
|
|
@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/threads/semaphores")
|
|||
|
||||
find_package(Qt6 COMPONENTS Core)
|
||||
|
||||
add_executable(semaphores
|
||||
qt_add_executable(semaphores
|
||||
semaphores.cpp
|
||||
)
|
||||
target_link_libraries(semaphores PUBLIC
|
||||
|
|
|
@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/threads/waitconditions")
|
|||
|
||||
find_package(Qt6 COMPONENTS Core)
|
||||
|
||||
add_executable(waitconditions
|
||||
qt_add_executable(waitconditions
|
||||
waitconditions.cpp
|
||||
)
|
||||
target_link_libraries(waitconditions PUBLIC
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(contiguouscache
|
||||
qt_add_executable(contiguouscache
|
||||
main.cpp
|
||||
randomlistmodel.cpp randomlistmodel.h
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(customtype
|
||||
qt_add_executable(customtype
|
||||
main.cpp
|
||||
message.cpp message.h
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(customtypesending
|
||||
qt_add_executable(customtypesending
|
||||
main.cpp
|
||||
message.cpp message.h
|
||||
window.cpp window.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS DBus)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(chat
|
||||
qt_add_executable(chat
|
||||
chat.cpp chat.h
|
||||
chatmainwindow.ui
|
||||
chatsetnickname.ui
|
||||
|
|
|
@ -33,7 +33,7 @@ qt6_add_dbus_adaptor(chat_SRCS
|
|||
chat_adaptor
|
||||
)
|
||||
# special case end
|
||||
add_qt_gui_executable(chat
|
||||
qt_add_executable(chat
|
||||
chat.cpp chat.h
|
||||
chatmainwindow.ui
|
||||
chatsetnickname.ui
|
||||
|
|
|
@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/complexpingpong")
|
|||
|
||||
find_package(Qt6 COMPONENTS DBus)
|
||||
|
||||
add_qt_gui_executable(complexping
|
||||
qt_add_executable(complexping
|
||||
complexping.cpp complexping.h
|
||||
ping-common.h
|
||||
)
|
||||
|
@ -48,7 +48,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/complexpingpong")
|
|||
|
||||
find_package(Qt6 COMPONENTS DBus)
|
||||
|
||||
add_qt_gui_executable(complexpong
|
||||
qt_add_executable(complexpong
|
||||
complexpong.cpp complexpong.h
|
||||
)
|
||||
target_link_libraries(complexpong PUBLIC
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/listnames")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS DBus)
|
||||
|
||||
add_qt_gui_executable(listnames
|
||||
qt_add_executable(listnames
|
||||
listnames.cpp
|
||||
)
|
||||
target_link_libraries(listnames PUBLIC
|
||||
|
|
|
@ -17,7 +17,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/pingpong")
|
|||
|
||||
find_package(Qt6 COMPONENTS DBus)
|
||||
|
||||
add_qt_gui_executable(ping
|
||||
qt_add_executable(ping
|
||||
ping.cpp
|
||||
ping-common.h
|
||||
)
|
||||
|
@ -48,7 +48,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/dbus/pingpong")
|
|||
|
||||
find_package(Qt6 COMPONENTS DBus)
|
||||
|
||||
add_qt_gui_executable(pong
|
||||
qt_add_executable(pong
|
||||
ping-common.h
|
||||
pong.cpp pong.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS DBus)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(car
|
||||
qt_add_executable(car
|
||||
car.cpp car.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -29,7 +29,7 @@ qt6_add_dbus_adaptor(car_SRCS
|
|||
car_adaptor
|
||||
)
|
||||
# special case end
|
||||
add_qt_gui_executable(car
|
||||
qt_add_executable(car
|
||||
car.cpp car.h
|
||||
main.cpp
|
||||
${car_SRCS} # special case
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS DBus)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(controller
|
||||
qt_add_executable(controller
|
||||
controller.cpp controller.h controller.ui
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -27,7 +27,7 @@ qt6_add_dbus_interface(controller_SRCS
|
|||
car_interface
|
||||
)
|
||||
# special case end
|
||||
add_qt_gui_executable(controller
|
||||
qt_add_executable(controller
|
||||
controller.cpp controller.h controller.ui
|
||||
main.cpp
|
||||
${controller_SRCS} # special case
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(digiflip
|
||||
qt_add_executable(digiflip
|
||||
digiflip.cpp
|
||||
)
|
||||
target_link_libraries(digiflip PUBLIC
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(flickable
|
||||
qt_add_executable(flickable
|
||||
flickable.cpp flickable.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(flightinfo
|
||||
qt_add_executable(flightinfo
|
||||
flightinfo.cpp
|
||||
form.ui
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(lightmaps
|
||||
qt_add_executable(lightmaps
|
||||
lightmaps.cpp lightmaps.h
|
||||
main.cpp
|
||||
mapzoom.cpp mapzoom.h
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(raycasting
|
||||
qt_add_executable(raycasting
|
||||
raycasting.cpp
|
||||
)
|
||||
target_link_libraries(raycasting PUBLIC
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(styleexample
|
||||
qt_add_executable(styleexample
|
||||
main.cpp
|
||||
stylewidget.cpp stylewidget.h stylewidget.ui
|
||||
)
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/gui/analogclock")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Gui)
|
||||
|
||||
add_qt_gui_executable(analogclock
|
||||
qt_add_executable(analogclock
|
||||
../rasterwindow/rasterwindow.cpp ../rasterwindow/rasterwindow.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets) # special case: add
|
||||
|
||||
add_qt_gui_executable(gui_analogclock # special case: renamed target
|
||||
qt_add_executable(gui_analogclock # special case: renamed target
|
||||
../rasterwindow/rasterwindow.cpp ../rasterwindow/rasterwindow.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/gui/rasterwindow")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Gui)
|
||||
|
||||
add_qt_gui_executable(rasterwindow
|
||||
qt_add_executable(rasterwindow
|
||||
main.cpp
|
||||
rasterwindow.cpp rasterwindow.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/gui/rasterwindow")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Gui)
|
||||
|
||||
add_qt_gui_executable(rasterwindow
|
||||
qt_add_executable(rasterwindow
|
||||
main.cpp
|
||||
rasterwindow.cpp rasterwindow.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(blockingfortuneclient
|
||||
qt_add_executable(blockingfortuneclient
|
||||
blockingclient.cpp blockingclient.h
|
||||
fortunethread.cpp fortunethread.h
|
||||
main.cpp
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(broadcastreceiver
|
||||
qt_add_executable(broadcastreceiver
|
||||
main.cpp
|
||||
receiver.cpp receiver.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(broadcastsender
|
||||
qt_add_executable(broadcastsender
|
||||
main.cpp
|
||||
sender.cpp sender.h
|
||||
)
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/network/dnslookup")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Network)
|
||||
|
||||
add_executable(dnslookup
|
||||
qt_add_executable(dnslookup
|
||||
dnslookup.cpp dnslookup.h
|
||||
)
|
||||
target_link_libraries(dnslookup PUBLIC
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/network/download")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Network)
|
||||
|
||||
add_executable(download
|
||||
qt_add_executable(download
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(download PUBLIC
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/network/downloadmanager")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Network)
|
||||
|
||||
add_executable(downloadmanager
|
||||
qt_add_executable(downloadmanager
|
||||
downloadmanager.cpp downloadmanager.h
|
||||
main.cpp
|
||||
textprogressbar.cpp textprogressbar.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(fortuneclient
|
||||
qt_add_executable(fortuneclient
|
||||
client.cpp client.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(fortuneserver
|
||||
qt_add_executable(fortuneserver
|
||||
main.cpp
|
||||
server.cpp server.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(googlesuggest
|
||||
qt_add_executable(googlesuggest
|
||||
googlesuggest.cpp googlesuggest.h
|
||||
main.cpp
|
||||
searchbox.cpp searchbox.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(http
|
||||
qt_add_executable(http
|
||||
authenticationdialog.ui
|
||||
httpwindow.cpp httpwindow.h
|
||||
main.cpp
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(loopback
|
||||
qt_add_executable(loopback
|
||||
dialog.cpp dialog.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(multicastreceiver
|
||||
qt_add_executable(multicastreceiver
|
||||
main.cpp
|
||||
receiver.cpp receiver.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(multicastsender
|
||||
qt_add_executable(multicastsender
|
||||
main.cpp
|
||||
sender.cpp sender.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(multistreamclient
|
||||
qt_add_executable(multistreamclient
|
||||
chatconsumer.cpp chatconsumer.h
|
||||
client.cpp client.h
|
||||
consumer.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(multistreamserver
|
||||
qt_add_executable(multistreamserver
|
||||
chatprovider.cpp chatprovider.h
|
||||
main.cpp
|
||||
movieprovider.cpp movieprovider.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(network-chat
|
||||
qt_add_executable(network-chat
|
||||
chatdialog.cpp chatdialog.h chatdialog.ui
|
||||
client.cpp client.h
|
||||
connection.cpp connection.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(securesocketclient
|
||||
qt_add_executable(securesocketclient
|
||||
certificateinfo.cpp certificateinfo.h certificateinfo.ui
|
||||
main.cpp
|
||||
sslclient.cpp sslclient.h sslclient.ui
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Network)
|
||||
|
||||
add_qt_gui_executable(secureudpclient
|
||||
qt_add_executable(secureudpclient
|
||||
addressdialog.cpp addressdialog.h addressdialog.ui
|
||||
association.cpp association.h
|
||||
main.cpp
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Network)
|
||||
|
||||
add_qt_gui_executable(secureudpserver
|
||||
qt_add_executable(secureudpserver
|
||||
main.cpp
|
||||
mainwindow.cpp mainwindow.h mainwindow.ui
|
||||
nicselector.cpp nicselector.h nicselector.ui
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(threadedfortuneserver
|
||||
qt_add_executable(threadedfortuneserver
|
||||
dialog.cpp dialog.h
|
||||
fortuneserver.cpp fortuneserver.h
|
||||
fortunethread.cpp fortunethread.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(torrent
|
||||
qt_add_executable(torrent
|
||||
addtorrentdialog.cpp addtorrentdialog.h
|
||||
bencodeparser.cpp bencodeparser.h
|
||||
connectionmanager.cpp connectionmanager.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Network)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(torrent
|
||||
qt_add_executable(torrent
|
||||
addtorrentdialog.cpp addtorrentdialog.h
|
||||
bencodeparser.cpp bencodeparser.h
|
||||
connectionmanager.cpp connectionmanager.h
|
||||
|
|
|
@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets)
|
|||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
find_package(Qt6 COMPONENTS OpenGLWidgets)
|
||||
|
||||
add_qt_gui_executable(2dpainting
|
||||
qt_add_executable(2dpainting
|
||||
glwidget.cpp glwidget.h
|
||||
helper.cpp helper.h
|
||||
main.cpp
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
|
||||
add_qt_gui_executable(computegles31
|
||||
qt_add_executable(computegles31
|
||||
glwindow.cpp glwindow.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
|
||||
add_qt_gui_executable(contextinfo
|
||||
qt_add_executable(contextinfo
|
||||
main.cpp
|
||||
renderwindow.cpp renderwindow.h
|
||||
widget.cpp widget.h
|
||||
|
|
|
@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets)
|
|||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
find_package(Qt6 COMPONENTS OpenGLWidgets)
|
||||
|
||||
add_qt_gui_executable(cube
|
||||
qt_add_executable(cube
|
||||
geometryengine.cpp geometryengine.h
|
||||
main.cpp
|
||||
mainwidget.cpp mainwidget.h
|
||||
|
|
|
@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets)
|
|||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
find_package(Qt6 COMPONENTS OpenGLWidgets)
|
||||
|
||||
add_qt_gui_executable(hellogl2
|
||||
qt_add_executable(hellogl2
|
||||
glwidget.cpp glwidget.h
|
||||
logo.cpp logo.h
|
||||
main.cpp
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
|
||||
add_qt_gui_executable(hellogles3
|
||||
qt_add_executable(hellogles3
|
||||
../hellogl2/logo.cpp ../hellogl2/logo.h
|
||||
glwindow.cpp glwindow.h
|
||||
main.cpp
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
|
||||
add_qt_gui_executable(hellowindow
|
||||
qt_add_executable(hellowindow
|
||||
hellowindow.cpp hellowindow.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
|
||||
add_qt_gui_executable(openglwindow
|
||||
qt_add_executable(openglwindow
|
||||
main.cpp
|
||||
openglwindow.cpp openglwindow.h
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
|
||||
add_qt_gui_executable(paintedwindow
|
||||
qt_add_executable(paintedwindow
|
||||
main.cpp
|
||||
paintedwindow.cpp paintedwindow.h
|
||||
)
|
||||
|
|
|
@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets)
|
|||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
find_package(Qt6 COMPONENTS OpenGLWidgets)
|
||||
|
||||
add_qt_gui_executable(qopenglwidget
|
||||
qt_add_executable(qopenglwidget
|
||||
bubble.cpp bubble.h
|
||||
glwidget.cpp glwidget.h
|
||||
main.cpp
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
|
||||
add_qt_gui_executable(qopenglwindow
|
||||
qt_add_executable(qopenglwindow
|
||||
background_renderer.cpp background_renderer.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets)
|
|||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
find_package(Qt6 COMPONENTS OpenGLWidgets)
|
||||
|
||||
add_qt_gui_executable(textures
|
||||
qt_add_executable(textures
|
||||
glwidget.cpp glwidget.h
|
||||
main.cpp
|
||||
window.cpp window.h
|
||||
|
|
|
@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Widgets)
|
|||
find_package(Qt6 COMPONENTS OpenGL)
|
||||
find_package(Qt6 COMPONENTS OpenGLWidgets)
|
||||
|
||||
add_qt_gui_executable(threadedqopenglwidget
|
||||
qt_add_executable(threadedqopenglwidget
|
||||
glwidget.cpp glwidget.h
|
||||
main.cpp
|
||||
mainwindow.cpp mainwindow.h
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qpa/qrasterwindow")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Gui)
|
||||
|
||||
add_qt_gui_executable(qrasterwindow
|
||||
qt_add_executable(qrasterwindow
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(qrasterwindow PUBLIC
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qpa/windows")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Gui)
|
||||
|
||||
add_executable(windows
|
||||
qt_add_executable(windows
|
||||
main.cpp
|
||||
window.cpp window.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Concurrent)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(imagescaling
|
||||
qt_add_executable(imagescaling
|
||||
imagescaling.cpp imagescaling.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Concurrent)
|
||||
|
||||
add_executable(mapdemo
|
||||
qt_add_executable(mapdemo
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(mapdemo PUBLIC
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Concurrent)
|
||||
|
||||
add_executable(mapdemo
|
||||
qt_add_executable(mapdemo
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(mapdemo PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Concurrent)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_executable(progressdialog
|
||||
qt_add_executable(progressdialog
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(progressdialog PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Concurrent)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_executable(runfunction
|
||||
qt_add_executable(runfunction
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(runfunction PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Concurrent)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_executable(wordcount
|
||||
qt_add_executable(wordcount
|
||||
main.cpp
|
||||
)
|
||||
target_link_libraries(wordcount PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Test)
|
||||
|
||||
add_executable(tutorial1
|
||||
qt_add_executable(tutorial1
|
||||
testqstring.cpp
|
||||
)
|
||||
target_link_libraries(tutorial1 PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Test)
|
||||
|
||||
add_executable(tutorial2
|
||||
qt_add_executable(tutorial2
|
||||
testqstring.cpp
|
||||
)
|
||||
target_link_libraries(tutorial2 PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Test)
|
||||
|
||||
add_executable(tutorial3
|
||||
qt_add_executable(tutorial3
|
||||
testgui.cpp
|
||||
)
|
||||
target_link_libraries(tutorial3 PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Test)
|
||||
|
||||
add_executable(tutorial4
|
||||
qt_add_executable(tutorial4
|
||||
testgui.cpp
|
||||
)
|
||||
target_link_libraries(tutorial4 PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Test)
|
||||
|
||||
add_executable(tutorial5
|
||||
qt_add_executable(tutorial5
|
||||
benchmarking.cpp
|
||||
)
|
||||
target_link_libraries(tutorial5 PUBLIC
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Sql)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(books
|
||||
qt_add_executable(books
|
||||
bookdelegate.cpp bookdelegate.h
|
||||
bookwindow.cpp bookwindow.h bookwindow.ui
|
||||
initdb.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Sql)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(cachedtable
|
||||
qt_add_executable(cachedtable
|
||||
../connection.h
|
||||
main.cpp
|
||||
tableeditor.cpp tableeditor.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Sql)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(drilldown
|
||||
qt_add_executable(drilldown
|
||||
../connection.h
|
||||
imageitem.cpp imageitem.h
|
||||
informationwindow.cpp informationwindow.h
|
||||
|
|
|
@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Sql)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Xml)
|
||||
|
||||
add_qt_gui_executable(masterdetail
|
||||
qt_add_executable(masterdetail
|
||||
database.h
|
||||
dialog.cpp dialog.h
|
||||
main.cpp
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Sql)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(querymodel
|
||||
qt_add_executable(querymodel
|
||||
../connection.h
|
||||
customsqlmodel.cpp customsqlmodel.h
|
||||
editablesqlmodel.cpp editablesqlmodel.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Sql)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(relationaltablemodel
|
||||
qt_add_executable(relationaltablemodel
|
||||
../connection.h
|
||||
relationaltablemodel.cpp
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Sql)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(sqlbrowser
|
||||
qt_add_executable(sqlbrowser
|
||||
browser.cpp browser.h
|
||||
browserwidget.ui
|
||||
connectionwidget.cpp connectionwidget.h
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Sql)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(sqlwidgetmapper
|
||||
qt_add_executable(sqlwidgetmapper
|
||||
main.cpp
|
||||
window.cpp window.h
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Sql)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(tablemodel
|
||||
qt_add_executable(tablemodel
|
||||
../connection.h
|
||||
tablemodel.cpp
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui)
|
|||
find_package(Qt6 COMPONENTS Widgets)
|
||||
find_package(Qt6 COMPONENTS Concurrent)
|
||||
|
||||
add_qt_gui_executable(hellovulkancubes
|
||||
qt_add_executable(hellovulkancubes
|
||||
camera.cpp camera.h
|
||||
main.cpp
|
||||
mainwindow.cpp mainwindow.h
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/vulkan/hellovulkantexture")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Gui)
|
||||
|
||||
add_qt_gui_executable(hellovulkantexture
|
||||
qt_add_executable(hellovulkantexture
|
||||
hellovulkantexture.cpp hellovulkantexture.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/vulkan/hellovulkantriangle")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Gui)
|
||||
|
||||
add_qt_gui_executable(hellovulkantriangle
|
||||
qt_add_executable(hellovulkantriangle
|
||||
../shared/trianglerenderer.cpp ../shared/trianglerenderer.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(hellovulkanwidget
|
||||
qt_add_executable(hellovulkanwidget
|
||||
../shared/trianglerenderer.cpp ../shared/trianglerenderer.h
|
||||
hellovulkanwidget.cpp hellovulkanwidget.h
|
||||
main.cpp
|
||||
|
|
|
@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/vulkan/hellovulkanwindow")
|
|||
find_package(Qt6 COMPONENTS Core)
|
||||
find_package(Qt6 COMPONENTS Gui)
|
||||
|
||||
add_qt_gui_executable(hellovulkanwindow
|
||||
qt_add_executable(hellovulkanwindow
|
||||
hellovulkanwindow.cpp hellovulkanwindow.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(easing
|
||||
qt_add_executable(easing
|
||||
animation.h
|
||||
form.ui
|
||||
main.cpp
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(screenshot
|
||||
qt_add_executable(screenshot
|
||||
main.cpp
|
||||
screenshot.cpp screenshot.h
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(systray
|
||||
qt_add_executable(systray
|
||||
main.cpp
|
||||
window.cpp window.h
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(classwizard
|
||||
qt_add_executable(classwizard
|
||||
classwizard.cpp classwizard.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
|
|||
find_package(Qt6 COMPONENTS Gui)
|
||||
find_package(Qt6 COMPONENTS Widgets)
|
||||
|
||||
add_qt_gui_executable(extension
|
||||
qt_add_executable(extension
|
||||
finddialog.cpp finddialog.h
|
||||
main.cpp
|
||||
)
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue