CMake: Add more examples

Change-Id: I7a8a3fd0a844a518592957fe07c6e707dd452d5f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Tobias Hunger 2019-03-18 19:26:24 +01:00
parent a0a94576fa
commit 64c6c943c7
88 changed files with 1637 additions and 5 deletions

View File

@ -1,3 +1,22 @@
if(QT_FEATURE_gui)
add_subdirectory(corelib)
add_subdirectory(embedded)
add_subdirectory(qpa)
if(TARGET Qt::DBus)
add_subdirectory(dbus)
endif()
if(TARGET Qt::Network)
add_subdirectory(network)
endif()
if(TARGET Qt::Test)
add_subdirectory(qtestlib)
endif()
if(TARGET Qt::Concurrent)
add_subdirectory(qtconcurrent)
endif()
if(TARGET Qt::Sql)
add_subdirectory(sql)
endif()
if(TARGET Qt::Gui)
add_subdirectory(gui)
endif()

View File

@ -0,0 +1,7 @@
# Generated from corelib.pro.
add_subdirectory(ipc)
add_subdirectory(mimetypes)
add_subdirectory(serialization)
add_subdirectory(threads)
add_subdirectory(tools)

View File

@ -0,0 +1,14 @@
# Generated from ipc.pro.
if(QT_FEATURE_sharedmemory)
add_subdirectory(sharedmemory)
endif()
if(TARGET Qt::Network)
if(QT_FEATURE_localserver)
add_subdirectory(localfortuneserver)
add_subdirectory(localfortuneclient)
endif()
endif()

View File

@ -0,0 +1,17 @@
# Generated from localfortuneclient.pro.
#####################################################################
## localfortuneclient Binary:
#####################################################################
add_qt_executable(localfortuneclient
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneclient"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneclient"
SOURCES
client.cpp client.h
main.cpp
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from localfortuneserver.pro.
#####################################################################
## localfortuneserver Binary:
#####################################################################
add_qt_executable(localfortuneserver
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneserver"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneserver"
SOURCES
main.cpp
server.cpp server.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,19 @@
# Generated from sharedmemory.pro.
#####################################################################
## sharedmemory Binary:
#####################################################################
add_qt_executable(sharedmemory
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/sharedmemory"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/ipc/sharedmemory"
SOURCES
dialog.cpp dialog.h dialog.ui
main.cpp
LIBRARIES
Qt::Widgets
)
#### Keys ignored in scope 1:.:sharedmemory.pro:<NONE>:
# EXAMPLE_FILES = "*.png"

View File

@ -0,0 +1,6 @@
# Generated from mimetypes.pro.
if(TARGET Qt::Widgets)
add_subdirectory(mimetypebrowser)
endif()

View File

@ -0,0 +1,21 @@
# Generated from mimetypebrowser.pro.
#####################################################################
## mimetypebrowser Binary:
#####################################################################
add_qt_executable(mimetypebrowser
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/mimetypes/mimetypebrowser"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/mimetypes/mimetypebrowser"
SOURCES
main.cpp
mainwindow.cpp mainwindow.h
mimetypemodel.cpp mimetypemodel.h
LIBRARIES
Qt::Widgets
)
#### Keys ignored in scope 1:.:mimetypebrowser.pro:<NONE>:
# CONFIG = "-app_bundle" "c++11"
# TEMPLATE = "app"

View File

@ -0,0 +1,5 @@
# Generated from serialization.pro.
add_subdirectory(cbordump)
add_subdirectory(convert)
add_subdirectory(savegame)

View File

@ -0,0 +1,19 @@
# Generated from cbordump.pro.
#####################################################################
## cbordump Binary:
#####################################################################
add_qt_executable(cbordump
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump"
SOURCES
main.cpp
LIBRARIES
# Remove: gui
)
#### Keys ignored in scope 1:.:cbordump.pro:<NONE>:
# CONFIG = "-app_bundle"
# TEMPLATE = "app"

View File

@ -0,0 +1,26 @@
# Generated from convert.pro.
#####################################################################
## convert Binary:
#####################################################################
add_qt_executable(convert
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/convert"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/convert"
SOURCES
cborconverter.cpp cborconverter.h
converter.h
datastreamconverter.cpp datastreamconverter.h
jsonconverter.cpp jsonconverter.h
main.cpp
nullconverter.cpp nullconverter.h
textconverter.cpp textconverter.h
xmlconverter.cpp xmlconverter.h
LIBRARIES
# Remove: gui
)
#### Keys ignored in scope 1:.:convert.pro:<NONE>:
# CONFIG = "-app_bundle"
# TEMPLATE = "app"

View File

@ -0,0 +1,22 @@
# Generated from savegame.pro.
#####################################################################
## savegame Binary:
#####################################################################
add_qt_executable(savegame
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/savegame"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/savegame"
SOURCES
character.cpp character.h
game.cpp game.h
level.cpp level.h
main.cpp
LIBRARIES
# Remove: gui
)
#### Keys ignored in scope 1:.:savegame.pro:<NONE>:
# CONFIG = "-app_bundle"
# TEMPLATE = "app"

View File

@ -0,0 +1,9 @@
# Generated from threads.pro.
add_subdirectory(semaphores)
add_subdirectory(waitconditions)
if(TARGET Qt::Widgets)
add_subdirectory(mandelbrot)
add_subdirectory(queuedcustomtype)
endif()

View File

@ -0,0 +1,25 @@
# Generated from mandelbrot.pro.
#####################################################################
## mandelbrot Binary:
#####################################################################
add_qt_executable(mandelbrot
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/threads/mandelbrot"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/threads/mandelbrot"
SOURCES
main.cpp
mandelbrotwidget.cpp mandelbrotwidget.h
renderthread.cpp renderthread.h
LIBRARIES
Qt::Widgets
)
## Scopes:
#####################################################################
extend_target(mandelbrot CONDITION UNIX AND NOT APPLE_OSX AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS
LIBRARIES
m
)

View File

@ -0,0 +1,18 @@
# Generated from queuedcustomtype.pro.
#####################################################################
## queuedcustomtype Binary:
#####################################################################
add_qt_executable(queuedcustomtype
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/threads/queuedcustomtype"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/threads/queuedcustomtype"
SOURCES
block.cpp block.h
main.cpp
renderthread.cpp renderthread.h
window.cpp window.h
LIBRARIES
Qt::Widgets
)

View File

@ -0,0 +1,15 @@
# Generated from semaphores.pro.
#####################################################################
## semaphores Binary:
#####################################################################
add_qt_executable(semaphores
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/threads/semaphores"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/threads/semaphores"
SOURCES
semaphores.cpp
)
#### Keys ignored in scope 1:.:semaphores.pro:<NONE>:
# CONFIG = "-app_bundle" "console"

View File

@ -0,0 +1,15 @@
# Generated from waitconditions.pro.
#####################################################################
## waitconditions Binary:
#####################################################################
add_qt_executable(waitconditions
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/threads/waitconditions"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/threads/waitconditions"
SOURCES
waitconditions.cpp
)
#### Keys ignored in scope 1:.:waitconditions.pro:<NONE>:
# CONFIG = "-moc" "-app_bundle" "console"

View File

@ -0,0 +1,5 @@
# Generated from tools.pro.
add_subdirectory(contiguouscache)
add_subdirectory(customtype)
add_subdirectory(customtypesending)

View File

@ -0,0 +1,16 @@
# Generated from contiguouscache.pro.
#####################################################################
## contiguouscache Binary:
#####################################################################
add_qt_executable(contiguouscache
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/tools/contiguouscache"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/tools/contiguouscache"
SOURCES
main.cpp
randomlistmodel.cpp randomlistmodel.h
LIBRARIES
Qt::Widgets
)

View File

@ -0,0 +1,16 @@
# Generated from customtype.pro.
#####################################################################
## customtype Binary:
#####################################################################
add_qt_executable(customtype
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/tools/customtype"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/tools/customtype"
SOURCES
main.cpp
message.cpp message.h
LIBRARIES
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from customtypesending.pro.
#####################################################################
## customtypesending Binary:
#####################################################################
add_qt_executable(customtypesending
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/tools/customtypesending"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/tools/customtypesending"
SOURCES
main.cpp
message.cpp message.h
window.cpp window.h
LIBRARIES
Qt::Widgets
)

View File

@ -0,0 +1,13 @@
# Generated from dbus.pro.
add_subdirectory(listnames)
add_subdirectory(pingpong)
if(QT_FEATURE_process)
add_subdirectory(complexpingpong)
endif()
if(TARGET Qt::Widgets)
add_subdirectory(chat)
add_subdirectory(remotecontrolledcar)
endif()

View File

@ -0,0 +1,22 @@
# Generated from chat.pro.
#####################################################################
## chat Binary:
#####################################################################
add_qt_executable(chat
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/chat"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/chat"
SOURCES
chat.cpp chat.h
chatmainwindow.ui
chatsetnickname.ui
DBUS_ADAPTOR_SOURCES
org.example.chat.xml
DBUS_INTERFACE_SOURCES
org.example.chat.xml
LIBRARIES
Qt::DBus
Qt::Widgets
)

View File

@ -0,0 +1,16 @@
# Generated from complexpong.pro.
#####################################################################
## complexpong Binary:
#####################################################################
add_qt_executable(complexpong
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/complexpingpong"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/complexpingpong"
SOURCES
complexpong.cpp complexpong.h
LIBRARIES
# Remove: gui
Qt::DBus
)

View File

@ -0,0 +1,22 @@
# Generated from listnames.pro.
#####################################################################
## listnames Binary:
#####################################################################
add_qt_executable(listnames
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/listnames"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/listnames"
SOURCES
listnames.cpp
LIBRARIES
# Remove: gui
Qt::DBus
)
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:listnames.pro:WIN32:
# CONFIG = "console"

View File

@ -0,0 +1,35 @@
# Generated from pingpong.pro.
#####################################################################
## ping Binary:
#####################################################################
add_qt_executable(ping
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/pingpong"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/pingpong"
SOURCES
ping.cpp
ping-common.h
LIBRARIES
# Remove: gui
Qt::DBus
)
#####################################################################
## pong Binary:
#####################################################################
add_qt_executable(pong
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/pingpong"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/pingpong"
SOURCES
ping-common.h
pong.cpp pong.h
LIBRARIES
# Remove: gui
Qt::DBus
)
if(WIN32)
endif()

View File

@ -0,0 +1,4 @@
# Generated from remotecontrolledcar.pro.
add_subdirectory(car)
add_subdirectory(controller)

View File

@ -0,0 +1,19 @@
# Generated from car.pro.
#####################################################################
## car Binary:
#####################################################################
add_qt_executable(car
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/remotecontrolledcar/car"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/remotecontrolledcar/car"
SOURCES
car.cpp car.h
main.cpp
DBUS_ADAPTOR_SOURCES
car.xml
LIBRARIES
Qt::DBus
Qt::Widgets
)

View File

@ -0,0 +1,19 @@
# Generated from controller.pro.
#####################################################################
## controller Binary:
#####################################################################
add_qt_executable(controller
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/remotecontrolledcar/controller"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/dbus/remotecontrolledcar/controller"
SOURCES
controller.cpp controller.h controller.ui
main.cpp
DBUS_INTERFACE_SOURCES
car.xml
LIBRARIES
Qt::DBus
Qt::Widgets
)

View File

@ -0,0 +1,8 @@
# Generated from embedded.pro.
add_subdirectory(styleexample)
add_subdirectory(raycasting)
add_subdirectory(flickable)
add_subdirectory(digiflip)
add_subdirectory(lightmaps)
add_subdirectory(flightinfo)

View File

@ -0,0 +1,15 @@
# Generated from digiflip.pro.
#####################################################################
## digiflip Binary:
#####################################################################
add_qt_executable(digiflip
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/digiflip"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/digiflip"
SOURCES
digiflip.cpp
LIBRARIES
Qt::Widgets
)

View File

@ -0,0 +1,16 @@
# Generated from flickable.pro.
#####################################################################
## flickable Binary:
#####################################################################
add_qt_executable(flickable
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/flickable"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/flickable"
SOURCES
flickable.cpp flickable.h
main.cpp
LIBRARIES
Qt::Widgets
)

View File

@ -0,0 +1,25 @@
# Generated from flightinfo.pro.
#####################################################################
## flightinfo Binary:
#####################################################################
add_qt_executable(flightinfo
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/flightinfo"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/flightinfo"
SOURCES
flightinfo.cpp
form.ui
LIBRARIES
Qt::Network
Qt::Widgets
)
# Resources:
add_qt_resource(flightinfo "flightinfo" PREFIX "/" FILES
aircraft.png)
#### Keys ignored in scope 1:.:flightinfo.pro:<NONE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,22 @@
# Generated from lightmaps.pro.
#####################################################################
## lightmaps Binary:
#####################################################################
add_qt_executable(lightmaps
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/lightmaps"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/lightmaps"
SOURCES
lightmaps.cpp lightmaps.h
main.cpp
mapzoom.cpp mapzoom.h
slippymap.cpp slippymap.h
LIBRARIES
Qt::Network
Qt::Widgets
)
#### Keys ignored in scope 1:.:lightmaps.pro:<NONE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,23 @@
# Generated from raycasting.pro.
#####################################################################
## raycasting Binary:
#####################################################################
add_qt_executable(raycasting
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/raycasting"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/raycasting"
SOURCES
raycasting.cpp
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(raycasting "raycasting" PREFIX "/" FILES
textures.png)
#### Keys ignored in scope 1:.:raycasting.pro:<NONE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,28 @@
# Generated from styleexample.pro.
#####################################################################
## styleexample Binary:
#####################################################################
add_qt_executable(styleexample
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/styleexample"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/styleexample"
SOURCES
main.cpp
stylewidget.cpp stylewidget.h stylewidget.ui
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(styleexample "styleexample" PREFIX "/" FILES
files/add.png
files/application.qss
files/blue.qss
files/khaki.qss
files/nature_1.jpg
files/nostyle.qss
files/remove.png
files/transparent.qss)

View File

@ -1 +1,8 @@
# Generated from gui.pro.
add_subdirectory(analogclock)
add_subdirectory(rasterwindow)
if(TARGET Qt::Gui AND QT_FEATURE_opengl)
add_subdirectory(openglwindow)
endif()

View File

@ -0,0 +1,21 @@
# Generated from analogclock.pro.
#####################################################################
## analogclock Binary:
#####################################################################
add_qt_executable(analogclock
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/gui/analogclock"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/gui/analogclock"
SOURCES
../rasterwindow/rasterwindow.cpp ../rasterwindow/rasterwindow.h
main.cpp
INCLUDE_DIRECTORIES
../rasterwindow
LIBRARIES # special case
Qt::Gui
)
#### Keys ignored in scope 1:.:analogclock.pro:<NONE>:
# CONFIG = "no_batch"

View File

@ -0,0 +1,18 @@
# Generated from openglwindow.pro.
#####################################################################
## openglwindow Binary:
#####################################################################
add_qt_executable(openglwindow
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/gui/openglwindow"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/gui/openglwindow"
SOURCES
main.cpp
openglwindow.cpp openglwindow.h
INCLUDE_DIRECTORIES
${CMAKE_CURRENT_SOURCE_DIR}
LIBRARIES # special case
Qt::Gui
)

View File

@ -1,6 +1,18 @@
# Generated from rasterwindow.pro.
#####################################################################
## rasterwindow Binary:
#####################################################################
add_qt_executable(rasterwindow
SOURCES
main.cpp
rasterwindow.cpp rasterwindow.h
LIBRARIES Qt::Core Qt::Test Qt::Gui
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/gui/rasterwindow"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/gui/rasterwindow"
SOURCES
main.cpp
rasterwindow.cpp rasterwindow.h
INCLUDE_DIRECTORIES
${CMAKE_CURRENT_SOURCE_DIR}
LIBRARIES # special case
Qt::Gui
)

View File

@ -0,0 +1,45 @@
# Generated from network.pro.
add_subdirectory(download)
add_subdirectory(downloadmanager)
if(NOT INTEGRITY)
add_subdirectory(dnslookup)
endif()
if(TARGET Qt::Widgets)
add_subdirectory(blockingfortuneclient)
add_subdirectory(broadcastreceiver)
add_subdirectory(broadcastsender)
add_subdirectory(http)
add_subdirectory(loopback)
add_subdirectory(threadedfortuneserver)
add_subdirectory(googlesuggest)
# add_subdirectory(torrent) FIXME: This does not find its ui file:-/
add_subdirectory(multicastreceiver)
add_subdirectory(multicastsender)
if(QT_FEATURE_bearermanagement)
add_subdirectory(bearermonitor)
add_subdirectory(fortuneclient)
add_subdirectory(fortuneserver)
if(QT_FEATURE_processenvironment)
add_subdirectory(network-chat)
endif()
endif()
if(QT_FEATURE_openssl)
add_subdirectory(securesocketclient)
endif()
if(QT_FEATURE_dtls)
add_subdirectory(secureudpserver)
add_subdirectory(secureudpclient)
endif()
if(QT_FEATURE_sctp)
add_subdirectory(multistreamserver)
add_subdirectory(multistreamclient)
endif()
endif()

View File

@ -0,0 +1,31 @@
# Generated from bearermonitor.pro.
#####################################################################
## bearermonitor Binary:
#####################################################################
add_qt_executable(bearermonitor
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/bearermonitor"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/bearermonitor"
SOURCES
bearermonitor.cpp bearermonitor.h
bearermonitor_240_320.ui
bearermonitor_640_480.ui
main.cpp
sessionwidget.cpp sessionwidget.h sessionwidget.ui
LIBRARIES
Qt::Gui
Qt::Network
Qt::Widgets
)
#### Keys ignored in scope 1:.:bearermonitor.pro:<NONE>:
# CONFIG = "console"
## Scopes:
#####################################################################
extend_target(bearermonitor CONDITION WIN32
LIBRARIES
ws2_32
)

View File

@ -0,0 +1,18 @@
# Generated from blockingfortuneclient.pro.
#####################################################################
## blockingfortuneclient Binary:
#####################################################################
add_qt_executable(blockingfortuneclient
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/blockingfortuneclient"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/blockingfortuneclient"
SOURCES
blockingclient.cpp blockingclient.h
fortunethread.cpp fortunethread.h
main.cpp
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from broadcastreceiver.pro.
#####################################################################
## broadcastreceiver Binary:
#####################################################################
add_qt_executable(broadcastreceiver
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/broadcastreceiver"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/broadcastreceiver"
SOURCES
main.cpp
receiver.cpp receiver.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from broadcastsender.pro.
#####################################################################
## broadcastsender Binary:
#####################################################################
add_qt_executable(broadcastsender
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/broadcastsender"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/broadcastsender"
SOURCES
main.cpp
sender.cpp sender.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,27 @@
# Generated from dnslookup.pro.
#####################################################################
## dnslookup Binary:
#####################################################################
add_qt_executable(dnslookup
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/dnslookup"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/dnslookup"
SOURCES
dnslookup.cpp dnslookup.h
LIBRARIES
Qt::Network
)
#### Keys ignored in scope 1:.:dnslookup.pro:<NONE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:dnslookup.pro:APPLE_OSX:
# CONFIG = "-app_bundle"
#### Keys ignored in scope 3:.:dnslookup.pro:WIN32:
# CONFIG = "console"

View File

@ -0,0 +1,18 @@
# Generated from download.pro.
#####################################################################
## download Binary:
#####################################################################
add_qt_executable(download
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/download"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/download"
SOURCES
main.cpp
LIBRARIES
Qt::Network
)
#### Keys ignored in scope 1:.:download.pro:<NONE>:
# CONFIG = "-app_bundle"

View File

@ -0,0 +1,21 @@
# Generated from downloadmanager.pro.
#####################################################################
## downloadmanager Binary:
#####################################################################
add_qt_executable(downloadmanager
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/downloadmanager"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/downloadmanager"
SOURCES
downloadmanager.cpp downloadmanager.h
main.cpp
textprogressbar.cpp textprogressbar.h
LIBRARIES
Qt::Network
)
#### Keys ignored in scope 1:.:downloadmanager.pro:<NONE>:
# CONFIG = "-app_bundle"
# OTHER_FILES = "debian/changelog" "debian/compat" "debian/control" "debian/copyright" "debian/README" "debian/rules"

View File

@ -0,0 +1,17 @@
# Generated from fortuneclient.pro.
#####################################################################
## fortuneclient Binary:
#####################################################################
add_qt_executable(fortuneclient
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/fortuneclient"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/fortuneclient"
SOURCES
client.cpp client.h
main.cpp
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from fortuneserver.pro.
#####################################################################
## fortuneserver Binary:
#####################################################################
add_qt_executable(fortuneserver
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/fortuneserver"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/fortuneserver"
SOURCES
main.cpp
server.cpp server.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,18 @@
# Generated from googlesuggest.pro.
#####################################################################
## googlesuggest Binary:
#####################################################################
add_qt_executable(googlesuggest
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/googlesuggest"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/googlesuggest"
SOURCES
googlesuggest.cpp googlesuggest.h
main.cpp
searchbox.cpp searchbox.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,18 @@
# Generated from http.pro.
#####################################################################
## http Binary:
#####################################################################
add_qt_executable(http
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/http"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/http"
SOURCES
authenticationdialog.ui
httpwindow.cpp httpwindow.h
main.cpp
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from loopback.pro.
#####################################################################
## loopback Binary:
#####################################################################
add_qt_executable(loopback
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/loopback"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/loopback"
SOURCES
dialog.cpp dialog.h
main.cpp
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from multicastreceiver.pro.
#####################################################################
## multicastreceiver Binary:
#####################################################################
add_qt_executable(multicastreceiver
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multicastreceiver"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multicastreceiver"
SOURCES
main.cpp
receiver.cpp receiver.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from multicastsender.pro.
#####################################################################
## multicastsender Binary:
#####################################################################
add_qt_executable(multicastsender
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multicastsender"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multicastsender"
SOURCES
main.cpp
sender.cpp sender.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,21 @@
# Generated from multistreamclient.pro.
#####################################################################
## multistreamclient Binary:
#####################################################################
add_qt_executable(multistreamclient
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multistreamclient"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multistreamclient"
SOURCES
chatconsumer.cpp chatconsumer.h
client.cpp client.h
consumer.h
main.cpp
movieconsumer.cpp movieconsumer.h
timeconsumer.cpp timeconsumer.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,24 @@
# Generated from multistreamserver.pro.
#####################################################################
## multistreamserver Binary:
#####################################################################
add_qt_executable(multistreamserver
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multistreamserver"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/multistreamserver"
SOURCES
chatprovider.cpp chatprovider.h
main.cpp
movieprovider.cpp movieprovider.h
provider.h
server.cpp server.h
timeprovider.cpp timeprovider.h
LIBRARIES
Qt::Network
Qt::Widgets
)
#### Keys ignored in scope 1:.:multistreamserver.pro:<NONE>:
# EXAMPLE_FILES = "animation.gif"

View File

@ -0,0 +1,21 @@
# Generated from network-chat.pro.
#####################################################################
## network-chat Binary:
#####################################################################
add_qt_executable(network-chat
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/network-chat"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/network-chat"
SOURCES
chatdialog.cpp chatdialog.h chatdialog.ui
client.cpp client.h
connection.cpp connection.h
main.cpp
peermanager.cpp peermanager.h
server.cpp server.h
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,24 @@
# Generated from securesocketclient.pro.
#####################################################################
## securesocketclient Binary:
#####################################################################
add_qt_executable(securesocketclient
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/securesocketclient"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/securesocketclient"
SOURCES
certificateinfo.cpp certificateinfo.h certificateinfo.ui
main.cpp
sslclient.cpp sslclient.h sslclient.ui
sslerrors.ui
LIBRARIES
Qt::Network
Qt::Widgets
)
# Resources:
add_qt_resource(securesocketclient "securesocketclient" FILES
encrypted.png)

View File

@ -0,0 +1,22 @@
# Generated from secureudpclient.pro.
#####################################################################
## secureudpclient Binary:
#####################################################################
add_qt_executable(secureudpclient
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/secureudpclient"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/secureudpclient"
SOURCES
addressdialog.cpp addressdialog.h addressdialog.ui
association.cpp association.h
main.cpp
mainwindow.cpp mainwindow.h mainwindow.ui
LIBRARIES
Qt::Widgets
Qt::Network
)
#### Keys ignored in scope 1:.:secureudpclient.pro:<NONE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,22 @@
# Generated from secureudpserver.pro.
#####################################################################
## secureudpserver Binary:
#####################################################################
add_qt_executable(secureudpserver
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/secureudpserver"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/secureudpserver"
SOURCES
main.cpp
mainwindow.cpp mainwindow.h mainwindow.ui
nicselector.cpp nicselector.h nicselector.ui
server.cpp server.h
LIBRARIES
Qt::Widgets
Qt::Network
)
#### Keys ignored in scope 1:.:secureudpserver.pro:<NONE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,19 @@
# Generated from threadedfortuneserver.pro.
#####################################################################
## threadedfortuneserver Binary:
#####################################################################
add_qt_executable(threadedfortuneserver
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/threadedfortuneserver"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/threadedfortuneserver"
SOURCES
dialog.cpp dialog.h
fortuneserver.cpp fortuneserver.h
fortunethread.cpp fortunethread.h
main.cpp
LIBRARIES
Qt::Network
Qt::Widgets
)

View File

@ -0,0 +1,42 @@
# Generated from torrent.pro.
#####################################################################
## torrent Binary:
#####################################################################
add_qt_executable(torrent
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/torrent"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/torrent"
SOURCES
addtorrentdialog.cpp addtorrentdialog.h
bencodeparser.cpp bencodeparser.h
connectionmanager.cpp connectionmanager.h
filemanager.cpp filemanager.h
forms/addtorrentform.ui
main.cpp
mainwindow.cpp mainwindow.h
metainfo.cpp metainfo.h
peerwireclient.cpp peerwireclient.h
ratecontroller.cpp ratecontroller.h
torrentclient.cpp torrentclient.h
torrentserver.cpp torrentserver.h
trackerclient.cpp trackerclient.h
INCLUDE_DIRECTORIES
forms # special case
LIBRARIES
Qt::Network
Qt::Widgets
)
# Resources:
add_qt_resource(torrent "icons" PREFIX "/" FILES
icons/1downarrow.png
icons/1uparrow.png
icons/bottom.png
icons/exit.png
icons/peertopeer.png
icons/player_pause.png
icons/player_play.png
icons/player_stop.png)

View File

@ -0,0 +1,4 @@
# Generated from qpa.pro.
add_subdirectory(windows)
add_subdirectory(qrasterwindow)

View File

@ -0,0 +1,15 @@
# Generated from qrasterwindow.pro.
#####################################################################
## qrasterwindow Binary:
#####################################################################
add_qt_executable(qrasterwindow
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qpa/qrasterwindow"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qpa/qrasterwindow"
SOURCES
main.cpp
LIBRARIES
Qt::Gui # special case
)

View File

@ -0,0 +1,19 @@
# Generated from windows.pro.
#####################################################################
## windows Binary:
#####################################################################
add_qt_executable(windows
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qpa/windows"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qpa/windows"
SOURCES
main.cpp
window.cpp window.h
LIBRARIES
Qt::GuiPrivate
Qt::CorePrivate
)
#### Keys ignored in scope 1:.:windows.pro:<NONE>:
# CONFIG = "console"

View File

@ -0,0 +1,9 @@
if(TARGET Qt::Gui)
add_subdirectory(map)
endif()
if(TARGET Qt::Widgets)
add_subdirectory(imagescaling)
add_subdirectory(progressdialog)
add_subdirectory(runfunction)
add_subdirectory(wordcount)
endif()

View File

@ -0,0 +1,17 @@
# Generated from imagescaling.pro.
#####################################################################
## imagescaling Binary:
#####################################################################
add_qt_executable(imagescaling
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/imagescaling"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/imagescaling"
SOURCES
imagescaling.cpp imagescaling.h
main.cpp
LIBRARIES
Qt::Concurrent
Qt::Widgets
)

View File

@ -0,0 +1,20 @@
# Generated from map.pro.
#####################################################################
## mapdemo Binary:
#####################################################################
add_qt_executable(mapdemo
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/map"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/map"
SOURCES
main.cpp
LIBRARIES
Qt::Concurrent
Qt::Gui # special case
)
#### Keys ignored in scope 1:.:map.pro:<NONE>:
# CONFIG = "-app_bundle"
# TEMPLATE = "app"

View File

@ -0,0 +1,18 @@
# Generated from progressdialog.pro.
#####################################################################
## progressdialog Binary:
#####################################################################
add_qt_executable(progressdialog
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/progressdialog"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/progressdialog"
SOURCES
main.cpp
LIBRARIES
Qt::Concurrent
Qt::Widgets
)
#### Keys ignored in scope 1:.:progressdialog.pro:<NONE>:
# CONFIG = "console"

View File

@ -0,0 +1,19 @@
# Generated from runfunction.pro.
#####################################################################
## runfunction Binary:
#####################################################################
add_qt_executable(runfunction
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/runfunction"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/runfunction"
SOURCES
main.cpp
LIBRARIES
Qt::Concurrent
Qt::Widgets
)
#### Keys ignored in scope 1:.:runfunction.pro:<NONE>:
# CONFIG = "-app_bundle"

View File

@ -0,0 +1,19 @@
# Generated from wordcount.pro.
#####################################################################
## wordcount Binary:
#####################################################################
add_qt_executable(wordcount
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/wordcount"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtconcurrent/wordcount"
SOURCES
main.cpp
LIBRARIES
Qt::Concurrent
Qt::Widgets
)
#### Keys ignored in scope 1:.:wordcount.pro:<NONE>:
# CONFIG = "-app_bundle"

View File

@ -0,0 +1,7 @@
# Generated from qtestlib.pro.
add_subdirectory(tutorial1)
add_subdirectory(tutorial2)
add_subdirectory(tutorial3)
add_subdirectory(tutorial4)
add_subdirectory(tutorial5)

View File

@ -0,0 +1,16 @@
# Generated from tutorial1.pro.
#####################################################################
## tutorial1 Binary:
#####################################################################
add_qt_executable(tutorial1
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial1"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial1"
SOURCES
testqstring.cpp
LIBRARIES
Qt::Widgets
Qt::Test
)

View File

@ -0,0 +1,16 @@
# Generated from tutorial2.pro.
#####################################################################
## tutorial2 Binary:
#####################################################################
add_qt_executable(tutorial2
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial2"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial2"
SOURCES
testqstring.cpp
LIBRARIES
Qt::Widgets
Qt::Test
)

View File

@ -0,0 +1,16 @@
# Generated from tutorial3.pro.
#####################################################################
## tutorial3 Binary:
#####################################################################
add_qt_executable(tutorial3
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial3"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial3"
SOURCES
testgui.cpp
LIBRARIES
Qt::Widgets
Qt::Test
)

View File

@ -0,0 +1,16 @@
# Generated from tutorial4.pro.
#####################################################################
## tutorial4 Binary:
#####################################################################
add_qt_executable(tutorial4
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial4"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial4"
SOURCES
testgui.cpp
LIBRARIES
Qt::Widgets
Qt::Test
)

View File

@ -0,0 +1,16 @@
# Generated from tutorial5.pro.
#####################################################################
## tutorial5 Binary:
#####################################################################
add_qt_executable(tutorial5
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial5"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial5"
SOURCES
benchmarking.cpp
LIBRARIES
Qt::Widgets
Qt::Test
)

View File

@ -0,0 +1,17 @@
# Generated from sql.pro.
add_subdirectory(books)
add_subdirectory(drilldown)
add_subdirectory(cachedtable)
add_subdirectory(querymodel)
add_subdirectory(relationaltablemodel)
add_subdirectory(sqlwidgetmapper)
add_subdirectory(tablemodel)
if(TARGET Qt::Xml)
add_subdirectory(masterdetail)
endif()
if(NOT CMAKE_CROSSCOMPILING) # special case
add_subdirectory(sqlbrowser)
endif()

View File

@ -0,0 +1,30 @@
# Generated from books.pro.
#####################################################################
## books Binary:
#####################################################################
add_qt_executable(books
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/books"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/books"
SOURCES
bookdelegate.cpp bookdelegate.h
bookwindow.cpp bookwindow.h bookwindow.ui
initdb.h
main.cpp
INCLUDE_DIRECTORIES
${CMAKE_CURRENT_SOURCE_DIR}
LIBRARIES
Qt::Sql
Qt::Widgets
Qt::Widgets
)
# Resources:
add_qt_resource(books "books" PREFIX "/" FILES
images/star.png)
#### Keys ignored in scope 1:.:books.pro:<NONE>:
# TEMPLATE = "app"

View File

@ -0,0 +1,18 @@
# Generated from cachedtable.pro.
#####################################################################
## cachedtable Binary:
#####################################################################
add_qt_executable(cachedtable
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/cachedtable"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/cachedtable"
SOURCES
../connection.h
main.cpp
tableeditor.cpp tableeditor.h
LIBRARIES
Qt::Sql
Qt::Widgets
)

View File

@ -0,0 +1,28 @@
# Generated from drilldown.pro.
#####################################################################
## drilldown Binary:
#####################################################################
add_qt_executable(drilldown
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/drilldown"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/drilldown"
SOURCES
../connection.h
imageitem.cpp imageitem.h
informationwindow.cpp informationwindow.h
main.cpp
view.cpp view.h
LIBRARIES
Qt::Sql
Qt::Widgets
)
# Resources:
add_qt_resource(drilldown "drilldown" PREFIX "/" FILES
images/qt-creator.png
images/qt-logo.png
images/qt-project.png
images/qt-quick.png)

View File

@ -0,0 +1,30 @@
# Generated from masterdetail.pro.
#####################################################################
## masterdetail Binary:
#####################################################################
add_qt_executable(masterdetail
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/masterdetail"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/masterdetail"
SOURCES
database.h
dialog.cpp dialog.h
main.cpp
mainwindow.cpp mainwindow.h
LIBRARIES
Qt::Sql
Qt::Widgets
Qt::Xml
Qt::Widgets
)
# Resources:
add_qt_resource(masterdetail "masterdetail" FILES
images/icon.png
images/image.png)
#### Keys ignored in scope 1:.:masterdetail.pro:<NONE>:
# EXAMPLE_FILES = "albumdetails.xml"

View File

@ -0,0 +1,19 @@
# Generated from querymodel.pro.
#####################################################################
## querymodel Binary:
#####################################################################
add_qt_executable(querymodel
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/querymodel"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/querymodel"
SOURCES
../connection.h
customsqlmodel.cpp customsqlmodel.h
editablesqlmodel.cpp editablesqlmodel.h
main.cpp
LIBRARIES
Qt::Sql
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from relationaltablemodel.pro.
#####################################################################
## relationaltablemodel Binary:
#####################################################################
add_qt_executable(relationaltablemodel
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/relationaltablemodel"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/relationaltablemodel"
SOURCES
../connection.h
relationaltablemodel.cpp
LIBRARIES
Qt::Sql
Qt::Widgets
)

View File

@ -0,0 +1,29 @@
# Generated from sqlbrowser.pro.
#####################################################################
## sqlbrowser Binary:
#####################################################################
add_qt_executable(sqlbrowser
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/sqlbrowser"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/sqlbrowser"
SOURCES
browser.cpp browser.h
browserwidget.ui
connectionwidget.cpp connectionwidget.h
main.cpp
qsqlconnectiondialog.cpp qsqlconnectiondialog.h qsqlconnectiondialog.ui
LIBRARIES
Qt::Sql
Qt::Widgets
)
#### Keys ignored in scope 1:.:sqlbrowser.pro:<NONE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:sqlbrowser.pro:build_all AND NOT build_pass:
# CONFIG = "-build_all" "release"

View File

@ -0,0 +1,17 @@
# Generated from sqlwidgetmapper.pro.
#####################################################################
## sqlwidgetmapper Binary:
#####################################################################
add_qt_executable(sqlwidgetmapper
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/sqlwidgetmapper"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/sqlwidgetmapper"
SOURCES
main.cpp
window.cpp window.h
LIBRARIES
Qt::Sql
Qt::Widgets
)

View File

@ -0,0 +1,17 @@
# Generated from tablemodel.pro.
#####################################################################
## tablemodel Binary:
#####################################################################
add_qt_executable(tablemodel
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/tablemodel"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/tablemodel"
SOURCES
../connection.h
tablemodel.cpp
LIBRARIES
Qt::Sql
Qt::Widgets
)