summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/corelib/CMakeLists.txt2
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/CMakeLists.txt13
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.cpp51
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h51
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/bindableuser.cpp51
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/bindableuser.h51
-rw-r--r--examples/corelib/bindableproperties/bindablesubscription/main.cpp51
-rw-r--r--examples/corelib/bindableproperties/doc/src/bindableproperties.qdoc28
-rw-r--r--examples/corelib/bindableproperties/shared/subscriptionwindow.cpp51
-rw-r--r--examples/corelib/bindableproperties/shared/subscriptionwindow.h51
-rw-r--r--examples/corelib/bindableproperties/subscription/CMakeLists.txt13
-rw-r--r--examples/corelib/bindableproperties/subscription/main.cpp51
-rw-r--r--examples/corelib/bindableproperties/subscription/subscription.cpp51
-rw-r--r--examples/corelib/bindableproperties/subscription/subscription.h51
-rw-r--r--examples/corelib/bindableproperties/subscription/user.cpp51
-rw-r--r--examples/corelib/bindableproperties/subscription/user.h51
-rw-r--r--examples/corelib/ipc/CMakeLists.txt2
-rw-r--r--examples/corelib/ipc/doc/src/localfortuneclient.qdoc28
-rw-r--r--examples/corelib/ipc/doc/src/localfortuneserver.qdoc28
-rw-r--r--examples/corelib/ipc/doc/src/sharedmemory.qdoc28
-rw-r--r--examples/corelib/ipc/localfortuneclient/CMakeLists.txt15
-rw-r--r--examples/corelib/ipc/localfortuneclient/client.cpp51
-rw-r--r--examples/corelib/ipc/localfortuneclient/client.h51
-rw-r--r--examples/corelib/ipc/localfortuneclient/main.cpp51
-rw-r--r--examples/corelib/ipc/localfortuneserver/CMakeLists.txt15
-rw-r--r--examples/corelib/ipc/localfortuneserver/main.cpp51
-rw-r--r--examples/corelib/ipc/localfortuneserver/server.cpp51
-rw-r--r--examples/corelib/ipc/localfortuneserver/server.h51
-rw-r--r--examples/corelib/ipc/sharedmemory/CMakeLists.txt13
-rw-r--r--examples/corelib/ipc/sharedmemory/dialog.cpp51
-rw-r--r--examples/corelib/ipc/sharedmemory/dialog.h51
-rw-r--r--examples/corelib/ipc/sharedmemory/main.cpp51
-rw-r--r--examples/corelib/mimetypes/CMakeLists.txt2
-rw-r--r--examples/corelib/mimetypes/doc/src/mimetypebrowser.qdoc28
-rw-r--r--examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt14
-rw-r--r--examples/corelib/mimetypes/mimetypebrowser/main.cpp51
-rw-r--r--examples/corelib/mimetypes/mimetypebrowser/mainwindow.cpp51
-rw-r--r--examples/corelib/mimetypes/mimetypebrowser/mainwindow.h51
-rw-r--r--examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.cpp51
-rw-r--r--examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.h51
-rw-r--r--examples/corelib/platform/androidnotifier/CMakeLists.txt77
-rw-r--r--examples/corelib/platform/androidnotifier/android/src/org/qtproject/example/androidnotifier/NotificationClient.java51
-rw-r--r--examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc28
-rw-r--r--examples/corelib/platform/androidnotifier/main.cpp51
-rw-r--r--examples/corelib/platform/androidnotifier/notificationclient.cpp51
-rw-r--r--examples/corelib/platform/androidnotifier/notificationclient.h51
-rw-r--r--examples/corelib/serialization/CMakeLists.txt2
-rw-r--r--examples/corelib/serialization/cbordump/CMakeLists.txt15
-rw-r--r--examples/corelib/serialization/cbordump/main.cpp51
-rw-r--r--examples/corelib/serialization/convert/CMakeLists.txt15
-rw-r--r--examples/corelib/serialization/convert/cborconverter.cpp51
-rw-r--r--examples/corelib/serialization/convert/cborconverter.h51
-rw-r--r--examples/corelib/serialization/convert/converter.h52
-rw-r--r--examples/corelib/serialization/convert/datastreamconverter.cpp51
-rw-r--r--examples/corelib/serialization/convert/datastreamconverter.h51
-rw-r--r--examples/corelib/serialization/convert/jsonconverter.cpp51
-rw-r--r--examples/corelib/serialization/convert/jsonconverter.h51
-rw-r--r--examples/corelib/serialization/convert/main.cpp51
-rw-r--r--examples/corelib/serialization/convert/nullconverter.cpp51
-rw-r--r--examples/corelib/serialization/convert/nullconverter.h51
-rw-r--r--examples/corelib/serialization/convert/textconverter.cpp51
-rw-r--r--examples/corelib/serialization/convert/textconverter.h51
-rw-r--r--examples/corelib/serialization/convert/xmlconverter.cpp51
-rw-r--r--examples/corelib/serialization/convert/xmlconverter.h51
-rw-r--r--examples/corelib/serialization/savegame/CMakeLists.txt15
-rw-r--r--examples/corelib/serialization/savegame/character.cpp51
-rw-r--r--examples/corelib/serialization/savegame/character.h51
-rw-r--r--examples/corelib/serialization/savegame/doc/src/savegame.qdoc28
-rw-r--r--examples/corelib/serialization/savegame/game.cpp51
-rw-r--r--examples/corelib/serialization/savegame/game.h51
-rw-r--r--examples/corelib/serialization/savegame/level.cpp51
-rw-r--r--examples/corelib/serialization/savegame/level.h51
-rw-r--r--examples/corelib/serialization/savegame/main.cpp51
-rw-r--r--examples/corelib/threads/CMakeLists.txt2
-rw-r--r--examples/corelib/threads/doc/src/mandelbrot.qdoc28
-rw-r--r--examples/corelib/threads/doc/src/queuedcustomtype.qdoc28
-rw-r--r--examples/corelib/threads/doc/src/semaphores.qdoc28
-rw-r--r--examples/corelib/threads/doc/src/waitconditions.qdoc28
-rw-r--r--examples/corelib/threads/mandelbrot/CMakeLists.txt20
-rw-r--r--examples/corelib/threads/mandelbrot/main.cpp51
-rw-r--r--examples/corelib/threads/mandelbrot/mandelbrot.pro2
-rw-r--r--examples/corelib/threads/mandelbrot/mandelbrotwidget.cpp51
-rw-r--r--examples/corelib/threads/mandelbrot/mandelbrotwidget.h51
-rw-r--r--examples/corelib/threads/mandelbrot/renderthread.cpp51
-rw-r--r--examples/corelib/threads/mandelbrot/renderthread.h51
-rw-r--r--examples/corelib/threads/queuedcustomtype/CMakeLists.txt14
-rw-r--r--examples/corelib/threads/queuedcustomtype/block.cpp51
-rw-r--r--examples/corelib/threads/queuedcustomtype/block.h51
-rw-r--r--examples/corelib/threads/queuedcustomtype/main.cpp51
-rw-r--r--examples/corelib/threads/queuedcustomtype/renderthread.cpp51
-rw-r--r--examples/corelib/threads/queuedcustomtype/renderthread.h51
-rw-r--r--examples/corelib/threads/queuedcustomtype/window.cpp51
-rw-r--r--examples/corelib/threads/queuedcustomtype/window.h51
-rw-r--r--examples/corelib/threads/semaphores/CMakeLists.txt15
-rw-r--r--examples/corelib/threads/semaphores/semaphores.cpp51
-rw-r--r--examples/corelib/threads/waitconditions/CMakeLists.txt15
-rw-r--r--examples/corelib/threads/waitconditions/waitconditions.cpp51
-rw-r--r--examples/corelib/tools/CMakeLists.txt2
-rw-r--r--examples/corelib/tools/contiguouscache/CMakeLists.txt14
-rw-r--r--examples/corelib/tools/contiguouscache/main.cpp51
-rw-r--r--examples/corelib/tools/contiguouscache/randomlistmodel.cpp51
-rw-r--r--examples/corelib/tools/contiguouscache/randomlistmodel.h51
-rw-r--r--examples/corelib/tools/customtype/CMakeLists.txt14
-rw-r--r--examples/corelib/tools/customtype/main.cpp51
-rw-r--r--examples/corelib/tools/customtype/message.cpp54
-rw-r--r--examples/corelib/tools/customtype/message.h51
-rw-r--r--examples/corelib/tools/customtypesending/CMakeLists.txt14
-rw-r--r--examples/corelib/tools/customtypesending/main.cpp51
-rw-r--r--examples/corelib/tools/customtypesending/message.cpp51
-rw-r--r--examples/corelib/tools/customtypesending/message.h51
-rw-r--r--examples/corelib/tools/customtypesending/window.cpp51
-rw-r--r--examples/corelib/tools/customtypesending/window.h51
-rw-r--r--examples/corelib/tools/doc/src/contiguouscache.qdoc28
-rw-r--r--examples/corelib/tools/doc/src/customtype.qdoc28
-rw-r--r--examples/dbus/CMakeLists.txt2
-rw-r--r--examples/dbus/chat/.prev_CMakeLists.txt43
-rw-r--r--examples/dbus/chat/CMakeLists.txt22
-rw-r--r--examples/dbus/chat/chat.cpp51
-rw-r--r--examples/dbus/chat/chat.h51
-rw-r--r--examples/dbus/complexpingpong/CMakeLists.txt56
-rw-r--r--examples/dbus/complexpingpong/complexping.cpp51
-rw-r--r--examples/dbus/complexpingpong/complexping.h51
-rw-r--r--examples/dbus/complexpingpong/complexpong.cpp51
-rw-r--r--examples/dbus/complexpingpong/complexpong.h51
-rw-r--r--examples/dbus/complexpingpong/ping-common.h51
-rw-r--r--examples/dbus/doc/src/chat.qdoc28
-rw-r--r--examples/dbus/doc/src/complexpingpong.qdoc28
-rw-r--r--examples/dbus/doc/src/listnames.qdoc28
-rw-r--r--examples/dbus/doc/src/pingpong.qdoc28
-rw-r--r--examples/dbus/listnames/CMakeLists.txt22
-rw-r--r--examples/dbus/listnames/listnames.cpp51
-rw-r--r--examples/dbus/pingpong/CMakeLists.txt54
-rw-r--r--examples/dbus/pingpong/ping-common.h51
-rw-r--r--examples/dbus/pingpong/ping.cpp51
-rw-r--r--examples/dbus/pingpong/pong.cpp51
-rw-r--r--examples/dbus/pingpong/pong.h51
-rw-r--r--examples/dbus/remotecontrolledcar/CMakeLists.txt2
-rw-r--r--examples/dbus/remotecontrolledcar/car/.prev_CMakeLists.txt42
-rw-r--r--examples/dbus/remotecontrolledcar/car/CMakeLists.txt20
-rw-r--r--examples/dbus/remotecontrolledcar/car/car.cpp51
-rw-r--r--examples/dbus/remotecontrolledcar/car/car.h51
-rw-r--r--examples/dbus/remotecontrolledcar/car/main.cpp51
-rw-r--r--examples/dbus/remotecontrolledcar/controller/.prev_CMakeLists.txt42
-rw-r--r--examples/dbus/remotecontrolledcar/controller/CMakeLists.txt19
-rw-r--r--examples/dbus/remotecontrolledcar/controller/controller.cpp51
-rw-r--r--examples/dbus/remotecontrolledcar/controller/controller.h51
-rw-r--r--examples/dbus/remotecontrolledcar/controller/main.cpp51
-rw-r--r--examples/dbus/remotecontrolledcar/doc/src/dbus-remotecontrolledcar.qdoc28
-rw-r--r--examples/embedded/CMakeLists.txt2
-rw-r--r--examples/embedded/digiflip/CMakeLists.txt14
-rw-r--r--examples/embedded/digiflip/digiflip.cpp51
-rw-r--r--examples/embedded/flickable/CMakeLists.txt14
-rw-r--r--examples/embedded/flickable/flickable.cpp51
-rw-r--r--examples/embedded/flickable/flickable.h51
-rw-r--r--examples/embedded/flickable/main.cpp55
-rw-r--r--examples/embedded/flightinfo/.prev_CMakeLists.txt47
-rw-r--r--examples/embedded/flightinfo/CMakeLists.txt17
-rw-r--r--examples/embedded/flightinfo/flightinfo.cpp51
-rw-r--r--examples/embedded/lightmaps/CMakeLists.txt15
-rw-r--r--examples/embedded/lightmaps/lightmaps.cpp51
-rw-r--r--examples/embedded/lightmaps/lightmaps.h51
-rw-r--r--examples/embedded/lightmaps/main.cpp51
-rw-r--r--examples/embedded/lightmaps/mapzoom.cpp51
-rw-r--r--examples/embedded/lightmaps/mapzoom.h53
-rw-r--r--examples/embedded/lightmaps/slippymap.cpp51
-rw-r--r--examples/embedded/lightmaps/slippymap.h51
-rw-r--r--examples/embedded/raycasting/CMakeLists.txt17
-rw-r--r--examples/embedded/raycasting/raycasting.cpp51
-rw-r--r--examples/embedded/styleexample/.prev_CMakeLists.txt52
-rw-r--r--examples/embedded/styleexample/CMakeLists.txt16
-rw-r--r--examples/embedded/styleexample/main.cpp51
-rw-r--r--examples/embedded/styleexample/stylewidget.cpp51
-rw-r--r--examples/embedded/styleexample/stylewidget.h51
-rw-r--r--examples/gui/CMakeLists.txt2
-rw-r--r--examples/gui/analogclock/.prev_CMakeLists.txt42
-rw-r--r--examples/gui/analogclock/CMakeLists.txt32
-rw-r--r--examples/gui/analogclock/main.cpp51
-rw-r--r--examples/gui/doc/src/analogclockwindow.qdoc28
-rw-r--r--examples/gui/doc/src/rasterwindow.qdoc28
-rw-r--r--examples/gui/rasterwindow/.prev_CMakeLists.txt42
-rw-r--r--examples/gui/rasterwindow/CMakeLists.txt18
-rw-r--r--examples/gui/rasterwindow/main.cpp51
-rw-r--r--examples/gui/rasterwindow/rasterwindow.cpp51
-rw-r--r--examples/gui/rasterwindow/rasterwindow.h51
-rw-r--r--examples/network/.prev_CMakeLists.txt38
-rw-r--r--examples/network/CMakeLists.txt2
-rw-r--r--examples/network/blockingfortuneclient/CMakeLists.txt15
-rw-r--r--examples/network/blockingfortuneclient/blockingclient.cpp51
-rw-r--r--examples/network/blockingfortuneclient/blockingclient.h51
-rw-r--r--examples/network/blockingfortuneclient/fortunethread.cpp51
-rw-r--r--examples/network/blockingfortuneclient/fortunethread.h51
-rw-r--r--examples/network/blockingfortuneclient/main.cpp51
-rw-r--r--examples/network/broadcastreceiver/CMakeLists.txt15
-rw-r--r--examples/network/broadcastreceiver/main.cpp51
-rw-r--r--examples/network/broadcastreceiver/receiver.cpp51
-rw-r--r--examples/network/broadcastreceiver/receiver.h51
-rw-r--r--examples/network/broadcastsender/CMakeLists.txt15
-rw-r--r--examples/network/broadcastsender/main.cpp51
-rw-r--r--examples/network/broadcastsender/sender.cpp51
-rw-r--r--examples/network/broadcastsender/sender.h51
-rw-r--r--examples/network/dnslookup/CMakeLists.txt16
-rw-r--r--examples/network/dnslookup/dnslookup.cpp51
-rw-r--r--examples/network/dnslookup/dnslookup.h51
-rw-r--r--examples/network/doc/src/blockingfortuneclient.qdoc28
-rw-r--r--examples/network/doc/src/broadcastreceiver.qdoc28
-rw-r--r--examples/network/doc/src/broadcastsender.qdoc28
-rw-r--r--examples/network/doc/src/fortuneclient.qdoc28
-rw-r--r--examples/network/doc/src/fortuneserver.qdoc28
-rw-r--r--examples/network/doc/src/googlesuggest.qdoc28
-rw-r--r--examples/network/doc/src/http.qdoc28
-rw-r--r--examples/network/doc/src/loopback.qdoc28
-rw-r--r--examples/network/doc/src/multicastreceiver.qdoc28
-rw-r--r--examples/network/doc/src/multicastsender.qdoc28
-rw-r--r--examples/network/doc/src/network-chat.qdoc28
-rw-r--r--examples/network/doc/src/network-download.qdoc28
-rw-r--r--examples/network/doc/src/network-downloadmanager.qdoc28
-rw-r--r--examples/network/doc/src/securesocketclient.qdoc28
-rw-r--r--examples/network/doc/src/secureudpclient.qdoc28
-rw-r--r--examples/network/doc/src/secureudpserver.qdoc28
-rw-r--r--examples/network/doc/src/threadedfortuneserver.qdoc28
-rw-r--r--examples/network/doc/src/torrent.qdoc28
-rw-r--r--examples/network/download/CMakeLists.txt16
-rw-r--r--examples/network/download/main.cpp51
-rw-r--r--examples/network/downloadmanager/CMakeLists.txt16
-rw-r--r--examples/network/downloadmanager/downloadmanager.cpp51
-rw-r--r--examples/network/downloadmanager/downloadmanager.h51
-rw-r--r--examples/network/downloadmanager/main.cpp51
-rw-r--r--examples/network/downloadmanager/textprogressbar.cpp51
-rw-r--r--examples/network/downloadmanager/textprogressbar.h51
-rw-r--r--examples/network/fortuneclient/CMakeLists.txt15
-rw-r--r--examples/network/fortuneclient/client.cpp51
-rw-r--r--examples/network/fortuneclient/client.h51
-rw-r--r--examples/network/fortuneclient/main.cpp51
-rw-r--r--examples/network/fortuneserver/CMakeLists.txt15
-rw-r--r--examples/network/fortuneserver/main.cpp51
-rw-r--r--examples/network/fortuneserver/server.cpp51
-rw-r--r--examples/network/fortuneserver/server.h51
-rw-r--r--examples/network/googlesuggest/CMakeLists.txt15
-rw-r--r--examples/network/googlesuggest/googlesuggest.cpp51
-rw-r--r--examples/network/googlesuggest/googlesuggest.h51
-rw-r--r--examples/network/googlesuggest/main.cpp51
-rw-r--r--examples/network/googlesuggest/searchbox.cpp51
-rw-r--r--examples/network/googlesuggest/searchbox.h51
-rw-r--r--examples/network/http/CMakeLists.txt14
-rw-r--r--examples/network/http/httpwindow.cpp51
-rw-r--r--examples/network/http/httpwindow.h51
-rw-r--r--examples/network/http/main.cpp51
-rw-r--r--examples/network/loopback/CMakeLists.txt15
-rw-r--r--examples/network/loopback/dialog.cpp51
-rw-r--r--examples/network/loopback/dialog.h51
-rw-r--r--examples/network/loopback/main.cpp51
-rw-r--r--examples/network/multicastreceiver/CMakeLists.txt15
-rw-r--r--examples/network/multicastreceiver/main.cpp51
-rw-r--r--examples/network/multicastreceiver/receiver.cpp51
-rw-r--r--examples/network/multicastreceiver/receiver.h51
-rw-r--r--examples/network/multicastsender/CMakeLists.txt15
-rw-r--r--examples/network/multicastsender/main.cpp51
-rw-r--r--examples/network/multicastsender/sender.cpp51
-rw-r--r--examples/network/multicastsender/sender.h51
-rw-r--r--examples/network/multistreamclient/CMakeLists.txt15
-rw-r--r--examples/network/multistreamclient/chatconsumer.cpp51
-rw-r--r--examples/network/multistreamclient/chatconsumer.h51
-rw-r--r--examples/network/multistreamclient/client.cpp51
-rw-r--r--examples/network/multistreamclient/client.h51
-rw-r--r--examples/network/multistreamclient/consumer.h51
-rw-r--r--examples/network/multistreamclient/main.cpp51
-rw-r--r--examples/network/multistreamclient/movieconsumer.cpp51
-rw-r--r--examples/network/multistreamclient/movieconsumer.h51
-rw-r--r--examples/network/multistreamclient/timeconsumer.cpp51
-rw-r--r--examples/network/multistreamclient/timeconsumer.h51
-rw-r--r--examples/network/multistreamserver/CMakeLists.txt15
-rw-r--r--examples/network/multistreamserver/chatprovider.cpp51
-rw-r--r--examples/network/multistreamserver/chatprovider.h51
-rw-r--r--examples/network/multistreamserver/main.cpp51
-rw-r--r--examples/network/multistreamserver/movieprovider.cpp51
-rw-r--r--examples/network/multistreamserver/movieprovider.h51
-rw-r--r--examples/network/multistreamserver/provider.h51
-rw-r--r--examples/network/multistreamserver/server.cpp51
-rw-r--r--examples/network/multistreamserver/server.h51
-rw-r--r--examples/network/multistreamserver/timeprovider.cpp51
-rw-r--r--examples/network/multistreamserver/timeprovider.h51
-rw-r--r--examples/network/network-chat/CMakeLists.txt14
-rw-r--r--examples/network/network-chat/chatdialog.cpp51
-rw-r--r--examples/network/network-chat/chatdialog.h51
-rw-r--r--examples/network/network-chat/client.cpp51
-rw-r--r--examples/network/network-chat/client.h51
-rw-r--r--examples/network/network-chat/connection.cpp53
-rw-r--r--examples/network/network-chat/connection.h51
-rw-r--r--examples/network/network-chat/main.cpp51
-rw-r--r--examples/network/network-chat/peermanager.cpp53
-rw-r--r--examples/network/network-chat/peermanager.h51
-rw-r--r--examples/network/network-chat/server.cpp51
-rw-r--r--examples/network/network-chat/server.h51
-rw-r--r--examples/network/securesocketclient/CMakeLists.txt17
-rw-r--r--examples/network/securesocketclient/certificateinfo.cpp51
-rw-r--r--examples/network/securesocketclient/certificateinfo.h51
-rw-r--r--examples/network/securesocketclient/main.cpp51
-rw-r--r--examples/network/securesocketclient/sslclient.cpp51
-rw-r--r--examples/network/securesocketclient/sslclient.h51
-rw-r--r--examples/network/secureudpclient/CMakeLists.txt14
-rw-r--r--examples/network/secureudpclient/addressdialog.cpp51
-rw-r--r--examples/network/secureudpclient/addressdialog.h51
-rw-r--r--examples/network/secureudpclient/association.cpp51
-rw-r--r--examples/network/secureudpclient/association.h51
-rw-r--r--examples/network/secureudpclient/main.cpp51
-rw-r--r--examples/network/secureudpclient/mainwindow.cpp51
-rw-r--r--examples/network/secureudpclient/mainwindow.h51
-rw-r--r--examples/network/secureudpserver/CMakeLists.txt14
-rw-r--r--examples/network/secureudpserver/main.cpp51
-rw-r--r--examples/network/secureudpserver/mainwindow.cpp51
-rw-r--r--examples/network/secureudpserver/mainwindow.h51
-rw-r--r--examples/network/secureudpserver/nicselector.cpp51
-rw-r--r--examples/network/secureudpserver/nicselector.h51
-rw-r--r--examples/network/secureudpserver/server.cpp57
-rw-r--r--examples/network/secureudpserver/server.h51
-rw-r--r--examples/network/shared/sctpchannels.h51
-rw-r--r--examples/network/threadedfortuneserver/CMakeLists.txt15
-rw-r--r--examples/network/threadedfortuneserver/dialog.cpp51
-rw-r--r--examples/network/threadedfortuneserver/dialog.h51
-rw-r--r--examples/network/threadedfortuneserver/fortuneserver.cpp51
-rw-r--r--examples/network/threadedfortuneserver/fortuneserver.h51
-rw-r--r--examples/network/threadedfortuneserver/fortunethread.cpp51
-rw-r--r--examples/network/threadedfortuneserver/fortunethread.h51
-rw-r--r--examples/network/threadedfortuneserver/main.cpp51
-rw-r--r--examples/network/torrent/CMakeLists.txt17
-rw-r--r--examples/network/torrent/addtorrentdialog.cpp51
-rw-r--r--examples/network/torrent/addtorrentdialog.h51
-rw-r--r--examples/network/torrent/bencodeparser.cpp51
-rw-r--r--examples/network/torrent/bencodeparser.h51
-rw-r--r--examples/network/torrent/connectionmanager.cpp51
-rw-r--r--examples/network/torrent/connectionmanager.h51
-rw-r--r--examples/network/torrent/filemanager.cpp51
-rw-r--r--examples/network/torrent/filemanager.h51
-rw-r--r--examples/network/torrent/main.cpp51
-rw-r--r--examples/network/torrent/mainwindow.cpp53
-rw-r--r--examples/network/torrent/mainwindow.h51
-rw-r--r--examples/network/torrent/metainfo.cpp51
-rw-r--r--examples/network/torrent/metainfo.h51
-rw-r--r--examples/network/torrent/peerwireclient.cpp51
-rw-r--r--examples/network/torrent/peerwireclient.h51
-rw-r--r--examples/network/torrent/ratecontroller.cpp51
-rw-r--r--examples/network/torrent/ratecontroller.h51
-rw-r--r--examples/network/torrent/torrentclient.cpp51
-rw-r--r--examples/network/torrent/torrentclient.h51
-rw-r--r--examples/network/torrent/torrentserver.cpp51
-rw-r--r--examples/network/torrent/torrentserver.h51
-rw-r--r--examples/network/torrent/trackerclient.cpp51
-rw-r--r--examples/network/torrent/trackerclient.h51
-rw-r--r--examples/opengl/2dpainting/CMakeLists.txt16
-rw-r--r--examples/opengl/2dpainting/glwidget.cpp51
-rw-r--r--examples/opengl/2dpainting/glwidget.h51
-rw-r--r--examples/opengl/2dpainting/helper.cpp51
-rw-r--r--examples/opengl/2dpainting/helper.h51
-rw-r--r--examples/opengl/2dpainting/main.cpp51
-rw-r--r--examples/opengl/2dpainting/widget.cpp51
-rw-r--r--examples/opengl/2dpainting/widget.h51
-rw-r--r--examples/opengl/2dpainting/window.cpp51
-rw-r--r--examples/opengl/2dpainting/window.h51
-rw-r--r--examples/opengl/CMakeLists.txt2
-rw-r--r--examples/opengl/computegles31/CMakeLists.txt17
-rw-r--r--examples/opengl/computegles31/glwindow.cpp51
-rw-r--r--examples/opengl/computegles31/glwindow.h51
-rw-r--r--examples/opengl/computegles31/main.cpp51
-rw-r--r--examples/opengl/contextinfo/CMakeLists.txt15
-rw-r--r--examples/opengl/contextinfo/main.cpp51
-rw-r--r--examples/opengl/contextinfo/renderwindow.cpp51
-rw-r--r--examples/opengl/contextinfo/renderwindow.h51
-rw-r--r--examples/opengl/contextinfo/widget.cpp53
-rw-r--r--examples/opengl/contextinfo/widget.h51
-rw-r--r--examples/opengl/cube/CMakeLists.txt18
-rw-r--r--examples/opengl/cube/geometryengine.cpp51
-rw-r--r--examples/opengl/cube/geometryengine.h51
-rw-r--r--examples/opengl/cube/main.cpp51
-rw-r--r--examples/opengl/cube/mainwidget.cpp51
-rw-r--r--examples/opengl/cube/mainwidget.h51
-rw-r--r--examples/opengl/doc/src/2dpainting.qdoc28
-rw-r--r--examples/opengl/doc/src/cube.qdoc28
-rw-r--r--examples/opengl/doc/src/hellogl2.qdoc28
-rw-r--r--examples/opengl/doc/src/openglwindow.qdoc28
-rw-r--r--examples/opengl/doc/src/textures.qdoc28
-rw-r--r--examples/opengl/hellogl2/CMakeLists.txt16
-rw-r--r--examples/opengl/hellogl2/glwidget.cpp52
-rw-r--r--examples/opengl/hellogl2/glwidget.h51
-rw-r--r--examples/opengl/hellogl2/logo.cpp51
-rw-r--r--examples/opengl/hellogl2/logo.h51
-rw-r--r--examples/opengl/hellogl2/main.cpp51
-rw-r--r--examples/opengl/hellogl2/mainwindow.cpp51
-rw-r--r--examples/opengl/hellogl2/mainwindow.h51
-rw-r--r--examples/opengl/hellogl2/window.cpp51
-rw-r--r--examples/opengl/hellogl2/window.h51
-rw-r--r--examples/opengl/hellogles3/CMakeLists.txt17
-rw-r--r--examples/opengl/hellogles3/doc/src/hellogles3.qdoc28
-rw-r--r--examples/opengl/hellogles3/glwindow.cpp51
-rw-r--r--examples/opengl/hellogles3/glwindow.h51
-rw-r--r--examples/opengl/hellogles3/main.cpp51
-rw-r--r--examples/opengl/hellowindow/CMakeLists.txt14
-rw-r--r--examples/opengl/hellowindow/hellowindow.cpp51
-rw-r--r--examples/opengl/hellowindow/hellowindow.h51
-rw-r--r--examples/opengl/hellowindow/main.cpp51
-rw-r--r--examples/opengl/openglwindow/.prev_CMakeLists.txt36
-rw-r--r--examples/opengl/openglwindow/CMakeLists.txt16
-rw-r--r--examples/opengl/openglwindow/main.cpp51
-rw-r--r--examples/opengl/openglwindow/openglwindow.cpp51
-rw-r--r--examples/opengl/openglwindow/openglwindow.h51
-rw-r--r--examples/opengl/paintedwindow/CMakeLists.txt14
-rw-r--r--examples/opengl/paintedwindow/main.cpp51
-rw-r--r--examples/opengl/paintedwindow/paintedwindow.cpp51
-rw-r--r--examples/opengl/paintedwindow/paintedwindow.h51
-rw-r--r--examples/opengl/qopenglwidget/CMakeLists.txt17
-rw-r--r--examples/opengl/qopenglwidget/bubble.cpp51
-rw-r--r--examples/opengl/qopenglwidget/bubble.h51
-rw-r--r--examples/opengl/qopenglwidget/glwidget.cpp102
-rw-r--r--examples/opengl/qopenglwidget/glwidget.h60
-rw-r--r--examples/opengl/qopenglwidget/main.cpp54
-rw-r--r--examples/opengl/qopenglwidget/mainwindow.cpp107
-rw-r--r--examples/opengl/qopenglwidget/mainwindow.h54
-rw-r--r--examples/opengl/qopenglwindow/CMakeLists.txt19
-rw-r--r--examples/opengl/qopenglwindow/background_renderer.cpp51
-rw-r--r--examples/opengl/qopenglwindow/background_renderer.h51
-rw-r--r--examples/opengl/qopenglwindow/main.cpp51
-rw-r--r--examples/opengl/textures/CMakeLists.txt17
-rw-r--r--examples/opengl/textures/glwidget.cpp51
-rw-r--r--examples/opengl/textures/glwidget.h51
-rw-r--r--examples/opengl/textures/main.cpp51
-rw-r--r--examples/opengl/textures/window.cpp51
-rw-r--r--examples/opengl/textures/window.h51
-rw-r--r--examples/opengl/threadedqopenglwidget/CMakeLists.txt17
-rw-r--r--examples/opengl/threadedqopenglwidget/glwidget.cpp304
-rw-r--r--examples/opengl/threadedqopenglwidget/glwidget.h106
-rw-r--r--examples/opengl/threadedqopenglwidget/main.cpp55
-rw-r--r--examples/opengl/threadedqopenglwidget/mainwindow.cpp51
-rw-r--r--examples/opengl/threadedqopenglwidget/mainwindow.h51
-rw-r--r--examples/opengl/threadedqopenglwidget/renderer.cpp267
-rw-r--r--examples/opengl/threadedqopenglwidget/renderer.h61
-rw-r--r--examples/opengl/threadedqopenglwidget/threadedqopenglwidget.pro6
-rw-r--r--examples/qmake/precompile/main.cpp51
-rw-r--r--examples/qmake/precompile/mydialog.cpp51
-rw-r--r--examples/qmake/precompile/mydialog.h51
-rw-r--r--examples/qmake/precompile/myobject.cpp51
-rw-r--r--examples/qmake/precompile/myobject.h51
-rw-r--r--examples/qmake/precompile/stable.h51
-rw-r--r--examples/qmake/precompile/util.cpp51
-rw-r--r--examples/qmake/tutorial/hello.cpp51
-rw-r--r--examples/qmake/tutorial/hello.h51
-rw-r--r--examples/qmake/tutorial/hellounix.cpp51
-rw-r--r--examples/qmake/tutorial/hellowin.cpp51
-rw-r--r--examples/qmake/tutorial/main.cpp51
-rw-r--r--examples/qpa/CMakeLists.txt2
-rw-r--r--examples/qpa/qrasterwindow/.prev_CMakeLists.txt29
-rw-r--r--examples/qpa/qrasterwindow/CMakeLists.txt13
-rw-r--r--examples/qpa/qrasterwindow/main.cpp51
-rw-r--r--examples/qpa/windows/CMakeLists.txt13
-rw-r--r--examples/qpa/windows/main.cpp51
-rw-r--r--examples/qpa/windows/window.cpp51
-rw-r--r--examples/qpa/windows/window.h51
-rw-r--r--examples/qtconcurrent/CMakeLists.txt2
-rw-r--r--examples/qtconcurrent/imagescaling/CMakeLists.txt15
-rw-r--r--examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc28
-rw-r--r--examples/qtconcurrent/imagescaling/downloaddialog.cpp51
-rw-r--r--examples/qtconcurrent/imagescaling/downloaddialog.h51
-rw-r--r--examples/qtconcurrent/imagescaling/imagescaling.cpp51
-rw-r--r--examples/qtconcurrent/imagescaling/imagescaling.h51
-rw-r--r--examples/qtconcurrent/imagescaling/main.cpp51
-rw-r--r--examples/qtconcurrent/map/.prev_CMakeLists.txt39
-rw-r--r--examples/qtconcurrent/map/CMakeLists.txt18
-rw-r--r--examples/qtconcurrent/map/doc/src/qtconcurrent-map.qdoc28
-rw-r--r--examples/qtconcurrent/map/main.cpp51
-rw-r--r--examples/qtconcurrent/progressdialog/CMakeLists.txt15
-rw-r--r--examples/qtconcurrent/progressdialog/doc/src/qtconcurrent-progressdialog.qdoc28
-rw-r--r--examples/qtconcurrent/progressdialog/main.cpp51
-rw-r--r--examples/qtconcurrent/runfunction/CMakeLists.txt18
-rw-r--r--examples/qtconcurrent/runfunction/doc/src/qtconcurrent-runfunction.qdoc28
-rw-r--r--examples/qtconcurrent/runfunction/main.cpp51
-rw-r--r--examples/qtconcurrent/wordcount/CMakeLists.txt18
-rw-r--r--examples/qtconcurrent/wordcount/doc/src/qtconcurrent-wordcount.qdoc28
-rw-r--r--examples/qtconcurrent/wordcount/main.cpp51
-rw-r--r--examples/qtestlib/CMakeLists.txt2
-rw-r--r--examples/qtestlib/tutorial1/CMakeLists.txt15
-rw-r--r--examples/qtestlib/tutorial1/testqstring.cpp51
-rw-r--r--examples/qtestlib/tutorial2/CMakeLists.txt15
-rw-r--r--examples/qtestlib/tutorial2/testqstring.cpp51
-rw-r--r--examples/qtestlib/tutorial3/CMakeLists.txt15
-rw-r--r--examples/qtestlib/tutorial3/testgui.cpp51
-rw-r--r--examples/qtestlib/tutorial4/CMakeLists.txt15
-rw-r--r--examples/qtestlib/tutorial4/testgui.cpp51
-rw-r--r--examples/qtestlib/tutorial5/CMakeLists.txt15
-rw-r--r--examples/qtestlib/tutorial5/benchmarking.cpp51
-rw-r--r--examples/sql/.prev_CMakeLists.txt18
-rw-r--r--examples/sql/CMakeLists.txt4
-rw-r--r--examples/sql/books/CMakeLists.txt19
-rw-r--r--examples/sql/books/bookdelegate.cpp51
-rw-r--r--examples/sql/books/bookdelegate.h51
-rw-r--r--examples/sql/books/bookwindow.cpp51
-rw-r--r--examples/sql/books/bookwindow.h51
-rw-r--r--examples/sql/books/initdb.h51
-rw-r--r--examples/sql/books/main.cpp51
-rw-r--r--examples/sql/cachedtable/CMakeLists.txt15
-rw-r--r--examples/sql/cachedtable/main.cpp51
-rw-r--r--examples/sql/cachedtable/tableeditor.cpp51
-rw-r--r--examples/sql/cachedtable/tableeditor.h51
-rw-r--r--examples/sql/connection.h51
-rw-r--r--examples/sql/doc/src/books.qdoc28
-rw-r--r--examples/sql/doc/src/cachedtable.qdoc28
-rw-r--r--examples/sql/doc/src/drilldown.qdoc28
-rw-r--r--examples/sql/doc/src/masterdetail.qdoc28
-rw-r--r--examples/sql/doc/src/querymodel.qdoc28
-rw-r--r--examples/sql/doc/src/relationaltablemodel.qdoc28
-rw-r--r--examples/sql/doc/src/sqlbrowser.qdoc28
-rw-r--r--examples/sql/doc/src/sqlwidgetmapper.qdoc28
-rw-r--r--examples/sql/doc/src/tablemodel.qdoc28
-rw-r--r--examples/sql/drilldown/CMakeLists.txt18
-rw-r--r--examples/sql/drilldown/imageitem.cpp51
-rw-r--r--examples/sql/drilldown/imageitem.h51
-rw-r--r--examples/sql/drilldown/informationwindow.cpp51
-rw-r--r--examples/sql/drilldown/informationwindow.h51
-rw-r--r--examples/sql/drilldown/main.cpp51
-rw-r--r--examples/sql/drilldown/view.cpp51
-rw-r--r--examples/sql/drilldown/view.h51
-rw-r--r--examples/sql/masterdetail/CMakeLists.txt19
-rw-r--r--examples/sql/masterdetail/database.h51
-rw-r--r--examples/sql/masterdetail/dialog.cpp51
-rw-r--r--examples/sql/masterdetail/dialog.h51
-rw-r--r--examples/sql/masterdetail/main.cpp51
-rw-r--r--examples/sql/masterdetail/mainwindow.cpp51
-rw-r--r--examples/sql/masterdetail/mainwindow.h51
-rw-r--r--examples/sql/querymodel/CMakeLists.txt15
-rw-r--r--examples/sql/querymodel/customsqlmodel.cpp51
-rw-r--r--examples/sql/querymodel/customsqlmodel.h51
-rw-r--r--examples/sql/querymodel/editablesqlmodel.cpp51
-rw-r--r--examples/sql/querymodel/editablesqlmodel.h51
-rw-r--r--examples/sql/querymodel/main.cpp51
-rw-r--r--examples/sql/relationaltablemodel/CMakeLists.txt15
-rw-r--r--examples/sql/relationaltablemodel/relationaltablemodel.cpp51
-rw-r--r--examples/sql/sqlbrowser/CMakeLists.txt12
-rw-r--r--examples/sql/sqlbrowser/browser.cpp51
-rw-r--r--examples/sql/sqlbrowser/browser.h51
-rw-r--r--examples/sql/sqlbrowser/connectionwidget.cpp51
-rw-r--r--examples/sql/sqlbrowser/connectionwidget.h51
-rw-r--r--examples/sql/sqlbrowser/main.cpp51
-rw-r--r--examples/sql/sqlbrowser/qsqlconnectiondialog.cpp51
-rw-r--r--examples/sql/sqlbrowser/qsqlconnectiondialog.h51
-rw-r--r--examples/sql/sqlwidgetmapper/CMakeLists.txt15
-rw-r--r--examples/sql/sqlwidgetmapper/main.cpp51
-rw-r--r--examples/sql/sqlwidgetmapper/window.cpp51
-rw-r--r--examples/sql/sqlwidgetmapper/window.h51
-rw-r--r--examples/sql/tablemodel/CMakeLists.txt15
-rw-r--r--examples/sql/tablemodel/tablemodel.cpp51
-rw-r--r--examples/vulkan/CMakeLists.txt2
-rw-r--r--examples/vulkan/doc/src/hellovulkancubes.qdoc28
-rw-r--r--examples/vulkan/doc/src/hellovulkantexture.qdoc28
-rw-r--r--examples/vulkan/doc/src/hellovulkantriangle.qdoc28
-rw-r--r--examples/vulkan/doc/src/hellovulkanwidget.qdoc28
-rw-r--r--examples/vulkan/doc/src/hellovulkanwindow.qdoc28
-rw-r--r--examples/vulkan/hellovulkancubes/CMakeLists.txt18
-rw-r--r--examples/vulkan/hellovulkancubes/camera.cpp51
-rw-r--r--examples/vulkan/hellovulkancubes/camera.h51
-rw-r--r--examples/vulkan/hellovulkancubes/main.cpp51
-rw-r--r--examples/vulkan/hellovulkancubes/mainwindow.cpp51
-rw-r--r--examples/vulkan/hellovulkancubes/mainwindow.h51
-rw-r--r--examples/vulkan/hellovulkancubes/mesh.cpp51
-rw-r--r--examples/vulkan/hellovulkancubes/mesh.h51
-rw-r--r--examples/vulkan/hellovulkancubes/renderer.cpp51
-rw-r--r--examples/vulkan/hellovulkancubes/renderer.h51
-rw-r--r--examples/vulkan/hellovulkancubes/shader.cpp51
-rw-r--r--examples/vulkan/hellovulkancubes/shader.h51
-rw-r--r--examples/vulkan/hellovulkancubes/vulkanwindow.cpp51
-rw-r--r--examples/vulkan/hellovulkancubes/vulkanwindow.h51
-rw-r--r--examples/vulkan/hellovulkantexture/CMakeLists.txt16
-rw-r--r--examples/vulkan/hellovulkantexture/hellovulkantexture.cpp51
-rw-r--r--examples/vulkan/hellovulkantexture/hellovulkantexture.h51
-rw-r--r--examples/vulkan/hellovulkantexture/main.cpp51
-rw-r--r--examples/vulkan/hellovulkantriangle/CMakeLists.txt18
-rw-r--r--examples/vulkan/hellovulkantriangle/main.cpp51
-rw-r--r--examples/vulkan/hellovulkanwidget/CMakeLists.txt19
-rw-r--r--examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp51
-rw-r--r--examples/vulkan/hellovulkanwidget/hellovulkanwidget.h51
-rw-r--r--examples/vulkan/hellovulkanwidget/main.cpp51
-rw-r--r--examples/vulkan/hellovulkanwindow/CMakeLists.txt13
-rw-r--r--examples/vulkan/hellovulkanwindow/hellovulkanwindow.cpp51
-rw-r--r--examples/vulkan/hellovulkanwindow/hellovulkanwindow.h51
-rw-r--r--examples/vulkan/hellovulkanwindow/main.cpp51
-rw-r--r--examples/vulkan/shared/objconvert.js51
-rw-r--r--examples/vulkan/shared/trianglerenderer.cpp51
-rw-r--r--examples/vulkan/shared/trianglerenderer.h51
-rw-r--r--examples/widgets/.prev_CMakeLists.txt32
-rw-r--r--examples/widgets/CMakeLists.txt4
-rw-r--r--examples/widgets/animation/CMakeLists.txt2
-rw-r--r--examples/widgets/animation/easing/CMakeLists.txt16
-rw-r--r--examples/widgets/animation/easing/animation.h51
-rw-r--r--examples/widgets/animation/easing/main.cpp51
-rw-r--r--examples/widgets/animation/easing/window.cpp51
-rw-r--r--examples/widgets/animation/easing/window.h51
-rw-r--r--examples/widgets/desktop/CMakeLists.txt2
-rw-r--r--examples/widgets/desktop/screenshot/CMakeLists.txt14
-rw-r--r--examples/widgets/desktop/screenshot/main.cpp51
-rw-r--r--examples/widgets/desktop/screenshot/screenshot.cpp51
-rw-r--r--examples/widgets/desktop/screenshot/screenshot.h51
-rw-r--r--examples/widgets/desktop/systray/CMakeLists.txt17
-rw-r--r--examples/widgets/desktop/systray/doc/src/systray.qdoc28
-rw-r--r--examples/widgets/desktop/systray/main.cpp51
-rw-r--r--examples/widgets/desktop/systray/window.cpp51
-rw-r--r--examples/widgets/desktop/systray/window.h51
-rw-r--r--examples/widgets/dialogs/.prev_CMakeLists.txt13
-rw-r--r--examples/widgets/dialogs/CMakeLists.txt2
-rw-r--r--examples/widgets/dialogs/classwizard/CMakeLists.txt17
-rw-r--r--examples/widgets/dialogs/classwizard/classwizard.cpp51
-rw-r--r--examples/widgets/dialogs/classwizard/classwizard.h51
-rw-r--r--examples/widgets/dialogs/classwizard/main.cpp51
-rw-r--r--examples/widgets/dialogs/extension/CMakeLists.txt14
-rw-r--r--examples/widgets/dialogs/extension/finddialog.cpp51
-rw-r--r--examples/widgets/dialogs/extension/finddialog.h51
-rw-r--r--examples/widgets/dialogs/extension/main.cpp51
-rw-r--r--examples/widgets/dialogs/findfiles/CMakeLists.txt14
-rw-r--r--examples/widgets/dialogs/findfiles/main.cpp51
-rw-r--r--examples/widgets/dialogs/findfiles/window.cpp51
-rw-r--r--examples/widgets/dialogs/findfiles/window.h51
-rw-r--r--examples/widgets/dialogs/licensewizard/CMakeLists.txt18
-rw-r--r--examples/widgets/dialogs/licensewizard/licensewizard.cpp51
-rw-r--r--examples/widgets/dialogs/licensewizard/licensewizard.h51
-rw-r--r--examples/widgets/dialogs/licensewizard/main.cpp51
-rw-r--r--examples/widgets/dialogs/standarddialogs/CMakeLists.txt14
-rw-r--r--examples/widgets/dialogs/standarddialogs/dialog.cpp51
-rw-r--r--examples/widgets/dialogs/standarddialogs/dialog.h51
-rw-r--r--examples/widgets/dialogs/standarddialogs/main.cpp55
-rw-r--r--examples/widgets/dialogs/tabdialog/CMakeLists.txt14
-rw-r--r--examples/widgets/dialogs/tabdialog/main.cpp51
-rw-r--r--examples/widgets/dialogs/tabdialog/tabdialog.cpp51
-rw-r--r--examples/widgets/dialogs/tabdialog/tabdialog.h51
-rw-r--r--examples/widgets/dialogs/trivialwizard/CMakeLists.txt14
-rw-r--r--examples/widgets/dialogs/trivialwizard/trivialwizard.cpp51
-rw-r--r--examples/widgets/doc/dropsite.qdoc28
-rw-r--r--examples/widgets/doc/images/notepad1.pngbin12418 -> 11747 bytes
-rw-r--r--examples/widgets/doc/images/notepad2.pngbin22700 -> 26246 bytes
-rw-r--r--examples/widgets/doc/images/notepad3.pngbin40584 -> 21002 bytes
-rw-r--r--examples/widgets/doc/mousebuttons.qdoc30
-rw-r--r--examples/widgets/doc/src/addressbook-tutorial.qdoc28
-rw-r--r--examples/widgets/doc/src/addressbook.qdoc28
-rw-r--r--examples/widgets/doc/src/affine.qdoc28
-rw-r--r--examples/widgets/doc/src/analogclock.qdoc28
-rw-r--r--examples/widgets/doc/src/application.qdoc28
-rw-r--r--examples/widgets/doc/src/basicdrawing.qdoc28
-rw-r--r--examples/widgets/doc/src/basicgraphicslayouts.qdoc28
-rw-r--r--examples/widgets/doc/src/basiclayouts.qdoc28
-rw-r--r--examples/widgets/doc/src/basicsortfiltermodel.qdoc28
-rw-r--r--examples/widgets/doc/src/blurpicker.qdoc28
-rw-r--r--examples/widgets/doc/src/borderlayout.qdoc28
-rw-r--r--examples/widgets/doc/src/calculator.qdoc28
-rw-r--r--examples/widgets/doc/src/calendar.qdoc28
-rw-r--r--examples/widgets/doc/src/calendarwidget.qdoc28
-rw-r--r--examples/widgets/doc/src/charactermap.qdoc28
-rw-r--r--examples/widgets/doc/src/chart.qdoc28
-rw-r--r--examples/widgets/doc/src/chip.qdoc28
-rw-r--r--examples/widgets/doc/src/classwizard.qdoc28
-rw-r--r--examples/widgets/doc/src/codeeditor.qdoc28
-rw-r--r--examples/widgets/doc/src/collidingmice-example.qdoc28
-rw-r--r--examples/widgets/doc/src/coloreditorfactory.qdoc28
-rw-r--r--examples/widgets/doc/src/combowidgetmapper.qdoc28
-rw-r--r--examples/widgets/doc/src/completer.qdoc28
-rw-r--r--examples/widgets/doc/src/composition.qdoc28
-rw-r--r--examples/widgets/doc/src/concentriccircles.qdoc28
-rw-r--r--examples/widgets/doc/src/customsortfiltermodel.qdoc28
-rw-r--r--examples/widgets/doc/src/deform.qdoc28
-rw-r--r--examples/widgets/doc/src/diagramscene.qdoc28
-rw-r--r--examples/widgets/doc/src/digitalclock.qdoc28
-rw-r--r--examples/widgets/doc/src/dirview.qdoc28
-rw-r--r--examples/widgets/doc/src/dockwidgets.qdoc28
-rw-r--r--examples/widgets/doc/src/draganddroppuzzle.qdoc28
-rw-r--r--examples/widgets/doc/src/dragdroprobot.qdoc28
-rw-r--r--examples/widgets/doc/src/draggableicons.qdoc28
-rw-r--r--examples/widgets/doc/src/draggabletext.qdoc28
-rw-r--r--examples/widgets/doc/src/dynamiclayouts.qdoc28
-rw-r--r--examples/widgets/doc/src/easing.qdoc28
-rw-r--r--examples/widgets/doc/src/echoplugin.qdoc28
-rw-r--r--examples/widgets/doc/src/editabletreemodel.qdoc28
-rw-r--r--examples/widgets/doc/src/elasticnodes.qdoc28
-rw-r--r--examples/widgets/doc/src/elidedlabel.qdoc28
-rw-r--r--examples/widgets/doc/src/embeddeddialogs.qdoc28
-rw-r--r--examples/widgets/doc/src/extension.qdoc28
-rw-r--r--examples/widgets/doc/src/fademessage.qdoc28
-rw-r--r--examples/widgets/doc/src/fetchmore.qdoc28
-rw-r--r--examples/widgets/doc/src/findfiles.qdoc28
-rw-r--r--examples/widgets/doc/src/flowlayout.qdoc28
-rw-r--r--examples/widgets/doc/src/fontsampler.qdoc28
-rw-r--r--examples/widgets/doc/src/fridgemagnets.qdoc28
-rw-r--r--examples/widgets/doc/src/frozencolumn.qdoc28
-rw-r--r--examples/widgets/doc/src/gallery.qdoc28
-rw-r--r--examples/widgets/doc/src/gradients.qdoc28
-rw-r--r--examples/widgets/doc/src/graphicsview-anchorlayout.qdoc28
-rw-r--r--examples/widgets/doc/src/graphicsview-flowlayout.qdoc28
-rw-r--r--examples/widgets/doc/src/graphicsview-simpleanchorlayout.qdoc28
-rw-r--r--examples/widgets/doc/src/graphicsview-weatheranchorlayout.qdoc28
-rw-r--r--examples/widgets/doc/src/groupbox.qdoc28
-rw-r--r--examples/widgets/doc/src/i18n.qdoc28
-rw-r--r--examples/widgets/doc/src/icons.qdoc28
-rw-r--r--examples/widgets/doc/src/imagecomposition.qdoc28
-rw-r--r--examples/widgets/doc/src/imageviewer.qdoc28
-rw-r--r--examples/widgets/doc/src/interview.qdoc28
-rw-r--r--examples/widgets/doc/src/itemviewspuzzle.qdoc28
-rw-r--r--examples/widgets/doc/src/licensewizard.qdoc28
-rw-r--r--examples/widgets/doc/src/lineedits.qdoc28
-rw-r--r--examples/widgets/doc/src/mainwindow.qdoc28
-rw-r--r--examples/widgets/doc/src/mdi.qdoc28
-rw-r--r--examples/widgets/doc/src/menus.qdoc28
-rw-r--r--examples/widgets/doc/src/movie.qdoc28
-rw-r--r--examples/widgets/doc/src/orderform.qdoc28
-rw-r--r--examples/widgets/doc/src/painterpaths.qdoc28
-rw-r--r--examples/widgets/doc/src/pathstroke.qdoc28
-rw-r--r--examples/widgets/doc/src/pixelator.qdoc28
-rw-r--r--examples/widgets/doc/src/plugandpaint.qdoc28
-rw-r--r--examples/widgets/doc/src/regularexpression.qdoc28
-rw-r--r--examples/widgets/doc/src/screenshot.qdoc28
-rw-r--r--examples/widgets/doc/src/scribble.qdoc28
-rw-r--r--examples/widgets/doc/src/sdi.qdoc28
-rw-r--r--examples/widgets/doc/src/settingseditor.qdoc28
-rw-r--r--examples/widgets/doc/src/shapedclock.qdoc28
-rw-r--r--examples/widgets/doc/src/simpledommodel.qdoc28
-rw-r--r--examples/widgets/doc/src/simpletreemodel.qdoc28
-rw-r--r--examples/widgets/doc/src/simplewidgetmapper.qdoc28
-rw-r--r--examples/widgets/doc/src/sliders.qdoc28
-rw-r--r--examples/widgets/doc/src/spinboxdelegate.qdoc28
-rw-r--r--examples/widgets/doc/src/spinboxes.qdoc28
-rw-r--r--examples/widgets/doc/src/spreadsheet.qdoc28
-rw-r--r--examples/widgets/doc/src/standarddialogs.qdoc28
-rw-r--r--examples/widgets/doc/src/stardelegate.qdoc28
-rw-r--r--examples/widgets/doc/src/styleplugin.qdoc28
-rw-r--r--examples/widgets/doc/src/styles.qdoc28
-rw-r--r--examples/widgets/doc/src/stylesheet.qdoc28
-rw-r--r--examples/widgets/doc/src/syntaxhighlighter.qdoc28
-rw-r--r--examples/widgets/doc/src/tabdialog.qdoc28
-rw-r--r--examples/widgets/doc/src/tablet.qdoc28
-rw-r--r--examples/widgets/doc/src/tetrix.qdoc28
-rw-r--r--examples/widgets/doc/src/textedit.qdoc28
-rw-r--r--examples/widgets/doc/src/tooltips.qdoc28
-rw-r--r--examples/widgets/doc/src/transformations.qdoc28
-rw-r--r--examples/widgets/doc/src/treemodelcompleter.qdoc28
-rw-r--r--examples/widgets/doc/src/trivialwizard.qdoc28
-rw-r--r--examples/widgets/doc/src/undo.qdoc28
-rw-r--r--examples/widgets/doc/src/undoframework.qdoc28
-rw-r--r--examples/widgets/doc/src/validators.qdoc28
-rw-r--r--examples/widgets/doc/src/wiggly.qdoc28
-rw-r--r--examples/widgets/doc/src/windowflags.qdoc28
-rw-r--r--examples/widgets/draganddrop/CMakeLists.txt2
-rw-r--r--examples/widgets/draganddrop/draggableicons/CMakeLists.txt17
-rw-r--r--examples/widgets/draganddrop/draggableicons/dragwidget.cpp51
-rw-r--r--examples/widgets/draganddrop/draggableicons/dragwidget.h51
-rw-r--r--examples/widgets/draganddrop/draggableicons/main.cpp51
-rw-r--r--examples/widgets/draganddrop/draggabletext/CMakeLists.txt17
-rw-r--r--examples/widgets/draganddrop/draggabletext/dragwidget.cpp51
-rw-r--r--examples/widgets/draganddrop/draggabletext/dragwidget.h51
-rw-r--r--examples/widgets/draganddrop/draggabletext/main.cpp51
-rw-r--r--examples/widgets/draganddrop/dropsite/CMakeLists.txt14
-rw-r--r--examples/widgets/draganddrop/dropsite/droparea.cpp51
-rw-r--r--examples/widgets/draganddrop/dropsite/droparea.h51
-rw-r--r--examples/widgets/draganddrop/dropsite/dropsitewindow.cpp51
-rw-r--r--examples/widgets/draganddrop/dropsite/dropsitewindow.h51
-rw-r--r--examples/widgets/draganddrop/dropsite/main.cpp51
-rw-r--r--examples/widgets/draganddrop/fridgemagnets/CMakeLists.txt17
-rw-r--r--examples/widgets/draganddrop/fridgemagnets/draglabel.cpp51
-rw-r--r--examples/widgets/draganddrop/fridgemagnets/draglabel.h51
-rw-r--r--examples/widgets/draganddrop/fridgemagnets/dragwidget.cpp51
-rw-r--r--examples/widgets/draganddrop/fridgemagnets/dragwidget.h51
-rw-r--r--examples/widgets/draganddrop/fridgemagnets/main.cpp51
-rw-r--r--examples/widgets/draganddrop/puzzle/.prev_CMakeLists.txt55
-rw-r--r--examples/widgets/draganddrop/puzzle/CMakeLists.txt27
-rw-r--r--examples/widgets/draganddrop/puzzle/main.cpp51
-rw-r--r--examples/widgets/draganddrop/puzzle/mainwindow.cpp51
-rw-r--r--examples/widgets/draganddrop/puzzle/mainwindow.h51
-rw-r--r--examples/widgets/draganddrop/puzzle/pieceslist.cpp51
-rw-r--r--examples/widgets/draganddrop/puzzle/pieceslist.h51
-rw-r--r--examples/widgets/draganddrop/puzzle/puzzlewidget.cpp51
-rw-r--r--examples/widgets/draganddrop/puzzle/puzzlewidget.h51
-rw-r--r--examples/widgets/effects/CMakeLists.txt2
-rw-r--r--examples/widgets/effects/blurpicker/CMakeLists.txt17
-rw-r--r--examples/widgets/effects/blurpicker/blureffect.cpp51
-rw-r--r--examples/widgets/effects/blurpicker/blureffect.h51
-rw-r--r--examples/widgets/effects/blurpicker/blurpicker.cpp51
-rw-r--r--examples/widgets/effects/blurpicker/blurpicker.h51
-rw-r--r--examples/widgets/effects/blurpicker/main.cpp51
-rw-r--r--examples/widgets/effects/fademessage/CMakeLists.txt17
-rw-r--r--examples/widgets/effects/fademessage/fademessage.cpp51
-rw-r--r--examples/widgets/effects/fademessage/fademessage.h51
-rw-r--r--examples/widgets/effects/fademessage/main.cpp51
-rw-r--r--examples/widgets/gallery/CMakeLists.txt14
-rw-r--r--examples/widgets/gallery/main.cpp51
-rw-r--r--examples/widgets/gallery/widgetgallery.cpp51
-rw-r--r--examples/widgets/gallery/widgetgallery.h51
-rw-r--r--examples/widgets/gestures/CMakeLists.txt2
-rw-r--r--examples/widgets/gestures/imagegestures/CMakeLists.txt14
-rw-r--r--examples/widgets/gestures/imagegestures/doc/src/imagegestures.qdoc28
-rw-r--r--examples/widgets/gestures/imagegestures/imagewidget.cpp51
-rw-r--r--examples/widgets/gestures/imagegestures/imagewidget.h51
-rw-r--r--examples/widgets/gestures/imagegestures/main.cpp51
-rw-r--r--examples/widgets/gestures/imagegestures/mainwidget.cpp51
-rw-r--r--examples/widgets/gestures/imagegestures/mainwidget.h51
-rw-r--r--examples/widgets/graphicsview/CMakeLists.txt2
-rw-r--r--examples/widgets/graphicsview/anchorlayout/CMakeLists.txt14
-rw-r--r--examples/widgets/graphicsview/anchorlayout/main.cpp51
-rw-r--r--examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt17
-rw-r--r--examples/widgets/graphicsview/basicgraphicslayouts/layoutitem.cpp51
-rw-r--r--examples/widgets/graphicsview/basicgraphicslayouts/layoutitem.h51
-rw-r--r--examples/widgets/graphicsview/basicgraphicslayouts/main.cpp51
-rw-r--r--examples/widgets/graphicsview/basicgraphicslayouts/window.cpp51
-rw-r--r--examples/widgets/graphicsview/basicgraphicslayouts/window.h51
-rw-r--r--examples/widgets/graphicsview/chip/.prev_CMakeLists.txt66
-rw-r--r--examples/widgets/graphicsview/chip/CMakeLists.txt22
-rw-r--r--examples/widgets/graphicsview/chip/chip.cpp51
-rw-r--r--examples/widgets/graphicsview/chip/chip.h51
-rw-r--r--examples/widgets/graphicsview/chip/main.cpp51
-rw-r--r--examples/widgets/graphicsview/chip/mainwindow.cpp51
-rw-r--r--examples/widgets/graphicsview/chip/mainwindow.h51
-rw-r--r--examples/widgets/graphicsview/chip/view.cpp69
-rw-r--r--examples/widgets/graphicsview/chip/view.h57
-rw-r--r--examples/widgets/graphicsview/collidingmice/CMakeLists.txt17
-rw-r--r--examples/widgets/graphicsview/collidingmice/main.cpp51
-rw-r--r--examples/widgets/graphicsview/collidingmice/mouse.cpp51
-rw-r--r--examples/widgets/graphicsview/collidingmice/mouse.h51
-rw-r--r--examples/widgets/graphicsview/diagramscene/CMakeLists.txt17
-rw-r--r--examples/widgets/graphicsview/diagramscene/arrow.cpp51
-rw-r--r--examples/widgets/graphicsview/diagramscene/arrow.h51
-rw-r--r--examples/widgets/graphicsview/diagramscene/diagramitem.cpp51
-rw-r--r--examples/widgets/graphicsview/diagramscene/diagramitem.h51
-rw-r--r--examples/widgets/graphicsview/diagramscene/diagramscene.cpp51
-rw-r--r--examples/widgets/graphicsview/diagramscene/diagramscene.h51
-rw-r--r--examples/widgets/graphicsview/diagramscene/diagramtextitem.cpp51
-rw-r--r--examples/widgets/graphicsview/diagramscene/diagramtextitem.h51
-rw-r--r--examples/widgets/graphicsview/diagramscene/main.cpp51
-rw-r--r--examples/widgets/graphicsview/diagramscene/mainwindow.cpp51
-rw-r--r--examples/widgets/graphicsview/diagramscene/mainwindow.h51
-rw-r--r--examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt17
-rw-r--r--examples/widgets/graphicsview/dragdroprobot/coloritem.cpp51
-rw-r--r--examples/widgets/graphicsview/dragdroprobot/coloritem.h51
-rw-r--r--examples/widgets/graphicsview/dragdroprobot/main.cpp51
-rw-r--r--examples/widgets/graphicsview/dragdroprobot/robot.cpp51
-rw-r--r--examples/widgets/graphicsview/dragdroprobot/robot.h51
-rw-r--r--examples/widgets/graphicsview/elasticnodes/CMakeLists.txt14
-rw-r--r--examples/widgets/graphicsview/elasticnodes/edge.cpp51
-rw-r--r--examples/widgets/graphicsview/elasticnodes/edge.h51
-rw-r--r--examples/widgets/graphicsview/elasticnodes/graphwidget.cpp51
-rw-r--r--examples/widgets/graphicsview/elasticnodes/graphwidget.h51
-rw-r--r--examples/widgets/graphicsview/elasticnodes/main.cpp51
-rw-r--r--examples/widgets/graphicsview/elasticnodes/node.cpp51
-rw-r--r--examples/widgets/graphicsview/elasticnodes/node.h51
-rw-r--r--examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt16
-rw-r--r--examples/widgets/graphicsview/embeddeddialogs/customproxy.cpp51
-rw-r--r--examples/widgets/graphicsview/embeddeddialogs/customproxy.h51
-rw-r--r--examples/widgets/graphicsview/embeddeddialogs/embeddeddialog.cpp51
-rw-r--r--examples/widgets/graphicsview/embeddeddialogs/embeddeddialog.h51
-rw-r--r--examples/widgets/graphicsview/embeddeddialogs/main.cpp51
-rw-r--r--examples/widgets/graphicsview/flowlayout/.prev_CMakeLists.txt41
-rw-r--r--examples/widgets/graphicsview/flowlayout/CMakeLists.txt24
-rw-r--r--examples/widgets/graphicsview/flowlayout/flowlayout.cpp51
-rw-r--r--examples/widgets/graphicsview/flowlayout/flowlayout.h51
-rw-r--r--examples/widgets/graphicsview/flowlayout/main.cpp51
-rw-r--r--examples/widgets/graphicsview/flowlayout/window.cpp51
-rw-r--r--examples/widgets/graphicsview/flowlayout/window.h51
-rw-r--r--examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt14
-rw-r--r--examples/widgets/graphicsview/simpleanchorlayout/main.cpp51
-rw-r--r--examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt17
-rw-r--r--examples/widgets/graphicsview/weatheranchorlayout/main.cpp51
-rw-r--r--examples/widgets/itemviews/.prev_CMakeLists.txt27
-rw-r--r--examples/widgets/itemviews/CMakeLists.txt2
-rw-r--r--examples/widgets/itemviews/addressbook/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/addressbook/adddialog.cpp51
-rw-r--r--examples/widgets/itemviews/addressbook/adddialog.h51
-rw-r--r--examples/widgets/itemviews/addressbook/addresswidget.cpp51
-rw-r--r--examples/widgets/itemviews/addressbook/addresswidget.h51
-rw-r--r--examples/widgets/itemviews/addressbook/main.cpp51
-rw-r--r--examples/widgets/itemviews/addressbook/mainwindow.cpp51
-rw-r--r--examples/widgets/itemviews/addressbook/mainwindow.h51
-rw-r--r--examples/widgets/itemviews/addressbook/newaddresstab.cpp51
-rw-r--r--examples/widgets/itemviews/addressbook/newaddresstab.h51
-rw-r--r--examples/widgets/itemviews/addressbook/tablemodel.cpp51
-rw-r--r--examples/widgets/itemviews/addressbook/tablemodel.h51
-rw-r--r--examples/widgets/itemviews/basicsortfiltermodel/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/basicsortfiltermodel/main.cpp51
-rw-r--r--examples/widgets/itemviews/basicsortfiltermodel/window.cpp51
-rw-r--r--examples/widgets/itemviews/basicsortfiltermodel/window.h51
-rw-r--r--examples/widgets/itemviews/chart/CMakeLists.txt17
-rw-r--r--examples/widgets/itemviews/chart/main.cpp51
-rw-r--r--examples/widgets/itemviews/chart/mainwindow.cpp51
-rw-r--r--examples/widgets/itemviews/chart/mainwindow.h51
-rw-r--r--examples/widgets/itemviews/chart/pieview.cpp51
-rw-r--r--examples/widgets/itemviews/chart/pieview.h51
-rw-r--r--examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/coloreditorfactory/colorlisteditor.cpp51
-rw-r--r--examples/widgets/itemviews/coloreditorfactory/colorlisteditor.h51
-rw-r--r--examples/widgets/itemviews/coloreditorfactory/main.cpp51
-rw-r--r--examples/widgets/itemviews/coloreditorfactory/window.cpp51
-rw-r--r--examples/widgets/itemviews/coloreditorfactory/window.h51
-rw-r--r--examples/widgets/itemviews/combowidgetmapper/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/combowidgetmapper/main.cpp51
-rw-r--r--examples/widgets/itemviews/combowidgetmapper/window.cpp51
-rw-r--r--examples/widgets/itemviews/combowidgetmapper/window.h51
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/CMakeLists.txt17
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/filterwidget.cpp51
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/filterwidget.h51
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/main.cpp51
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/mysortfilterproxymodel.cpp51
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/mysortfilterproxymodel.h51
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/window.cpp51
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/window.h51
-rw-r--r--examples/widgets/itemviews/dirview/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/dirview/main.cpp51
-rw-r--r--examples/widgets/itemviews/editabletreemodel/CMakeLists.txt16
-rw-r--r--examples/widgets/itemviews/editabletreemodel/main.cpp51
-rw-r--r--examples/widgets/itemviews/editabletreemodel/mainwindow.cpp51
-rw-r--r--examples/widgets/itemviews/editabletreemodel/mainwindow.h51
-rw-r--r--examples/widgets/itemviews/editabletreemodel/treeitem.cpp51
-rw-r--r--examples/widgets/itemviews/editabletreemodel/treeitem.h51
-rw-r--r--examples/widgets/itemviews/editabletreemodel/treemodel.cpp51
-rw-r--r--examples/widgets/itemviews/editabletreemodel/treemodel.h51
-rw-r--r--examples/widgets/itemviews/fetchmore/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/fetchmore/filelistmodel.cpp51
-rw-r--r--examples/widgets/itemviews/fetchmore/filelistmodel.h51
-rw-r--r--examples/widgets/itemviews/fetchmore/main.cpp51
-rw-r--r--examples/widgets/itemviews/fetchmore/window.cpp51
-rw-r--r--examples/widgets/itemviews/fetchmore/window.h51
-rw-r--r--examples/widgets/itemviews/flattreeview/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/flattreeview/main.cpp51
-rw-r--r--examples/widgets/itemviews/frozencolumn/CMakeLists.txt17
-rw-r--r--examples/widgets/itemviews/frozencolumn/freezetablewidget.cpp51
-rw-r--r--examples/widgets/itemviews/frozencolumn/freezetablewidget.h51
-rw-r--r--examples/widgets/itemviews/frozencolumn/main.cpp51
-rw-r--r--examples/widgets/itemviews/interview/CMakeLists.txt17
-rw-r--r--examples/widgets/itemviews/interview/main.cpp51
-rw-r--r--examples/widgets/itemviews/interview/model.cpp51
-rw-r--r--examples/widgets/itemviews/interview/model.h51
-rw-r--r--examples/widgets/itemviews/pixelator/.prev_CMakeLists.txt61
-rw-r--r--examples/widgets/itemviews/pixelator/CMakeLists.txt21
-rw-r--r--examples/widgets/itemviews/pixelator/imagemodel.cpp51
-rw-r--r--examples/widgets/itemviews/pixelator/imagemodel.h51
-rw-r--r--examples/widgets/itemviews/pixelator/main.cpp51
-rw-r--r--examples/widgets/itemviews/pixelator/mainwindow.cpp51
-rw-r--r--examples/widgets/itemviews/pixelator/mainwindow.h51
-rw-r--r--examples/widgets/itemviews/pixelator/pixeldelegate.cpp51
-rw-r--r--examples/widgets/itemviews/pixelator/pixeldelegate.h51
-rw-r--r--examples/widgets/itemviews/puzzle/.prev_CMakeLists.txt55
-rw-r--r--examples/widgets/itemviews/puzzle/CMakeLists.txt25
-rw-r--r--examples/widgets/itemviews/puzzle/main.cpp51
-rw-r--r--examples/widgets/itemviews/puzzle/mainwindow.cpp51
-rw-r--r--examples/widgets/itemviews/puzzle/mainwindow.h51
-rw-r--r--examples/widgets/itemviews/puzzle/piecesmodel.cpp51
-rw-r--r--examples/widgets/itemviews/puzzle/piecesmodel.h51
-rw-r--r--examples/widgets/itemviews/puzzle/puzzlewidget.cpp51
-rw-r--r--examples/widgets/itemviews/puzzle/puzzlewidget.h51
-rw-r--r--examples/widgets/itemviews/simpledommodel/CMakeLists.txt15
-rw-r--r--examples/widgets/itemviews/simpledommodel/domitem.cpp51
-rw-r--r--examples/widgets/itemviews/simpledommodel/domitem.h51
-rw-r--r--examples/widgets/itemviews/simpledommodel/dommodel.cpp51
-rw-r--r--examples/widgets/itemviews/simpledommodel/dommodel.h51
-rw-r--r--examples/widgets/itemviews/simpledommodel/main.cpp51
-rw-r--r--examples/widgets/itemviews/simpledommodel/mainwindow.cpp51
-rw-r--r--examples/widgets/itemviews/simpledommodel/mainwindow.h51
-rw-r--r--examples/widgets/itemviews/simpletreemodel/CMakeLists.txt17
-rw-r--r--examples/widgets/itemviews/simpletreemodel/main.cpp51
-rw-r--r--examples/widgets/itemviews/simpletreemodel/treeitem.cpp51
-rw-r--r--examples/widgets/itemviews/simpletreemodel/treeitem.h51
-rw-r--r--examples/widgets/itemviews/simpletreemodel/treemodel.cpp51
-rw-r--r--examples/widgets/itemviews/simpletreemodel/treemodel.h51
-rw-r--r--examples/widgets/itemviews/simplewidgetmapper/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/simplewidgetmapper/main.cpp51
-rw-r--r--examples/widgets/itemviews/simplewidgetmapper/window.cpp51
-rw-r--r--examples/widgets/itemviews/simplewidgetmapper/window.h51
-rw-r--r--examples/widgets/itemviews/spinboxdelegate/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/spinboxdelegate/delegate.cpp51
-rw-r--r--examples/widgets/itemviews/spinboxdelegate/delegate.h51
-rw-r--r--examples/widgets/itemviews/spinboxdelegate/main.cpp51
-rw-r--r--examples/widgets/itemviews/spreadsheet/.prev_CMakeLists.txt62
-rw-r--r--examples/widgets/itemviews/spreadsheet/CMakeLists.txt24
-rw-r--r--examples/widgets/itemviews/spreadsheet/main.cpp51
-rw-r--r--examples/widgets/itemviews/spreadsheet/printview.cpp51
-rw-r--r--examples/widgets/itemviews/spreadsheet/printview.h51
-rw-r--r--examples/widgets/itemviews/spreadsheet/spreadsheet.cpp51
-rw-r--r--examples/widgets/itemviews/spreadsheet/spreadsheet.h51
-rw-r--r--examples/widgets/itemviews/spreadsheet/spreadsheetdelegate.cpp51
-rw-r--r--examples/widgets/itemviews/spreadsheet/spreadsheetdelegate.h51
-rw-r--r--examples/widgets/itemviews/spreadsheet/spreadsheetitem.cpp51
-rw-r--r--examples/widgets/itemviews/spreadsheet/spreadsheetitem.h51
-rw-r--r--examples/widgets/itemviews/stardelegate/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/stardelegate/main.cpp51
-rw-r--r--examples/widgets/itemviews/stardelegate/stardelegate.cpp51
-rw-r--r--examples/widgets/itemviews/stardelegate/stardelegate.h51
-rw-r--r--examples/widgets/itemviews/stardelegate/stareditor.cpp51
-rw-r--r--examples/widgets/itemviews/stardelegate/stareditor.h51
-rw-r--r--examples/widgets/itemviews/stardelegate/starrating.cpp51
-rw-r--r--examples/widgets/itemviews/stardelegate/starrating.h51
-rw-r--r--examples/widgets/itemviews/storageview/CMakeLists.txt14
-rw-r--r--examples/widgets/itemviews/storageview/main.cpp53
-rw-r--r--examples/widgets/itemviews/storageview/storagemodel.cpp53
-rw-r--r--examples/widgets/itemviews/storageview/storagemodel.h53
-rw-r--r--examples/widgets/layouts/CMakeLists.txt2
-rw-r--r--examples/widgets/layouts/basiclayouts/CMakeLists.txt14
-rw-r--r--examples/widgets/layouts/basiclayouts/dialog.cpp51
-rw-r--r--examples/widgets/layouts/basiclayouts/dialog.h51
-rw-r--r--examples/widgets/layouts/basiclayouts/main.cpp51
-rw-r--r--examples/widgets/layouts/borderlayout/CMakeLists.txt14
-rw-r--r--examples/widgets/layouts/borderlayout/borderlayout.cpp51
-rw-r--r--examples/widgets/layouts/borderlayout/borderlayout.h51
-rw-r--r--examples/widgets/layouts/borderlayout/main.cpp51
-rw-r--r--examples/widgets/layouts/borderlayout/window.cpp51
-rw-r--r--examples/widgets/layouts/borderlayout/window.h51
-rw-r--r--examples/widgets/layouts/dynamiclayouts/CMakeLists.txt14
-rw-r--r--examples/widgets/layouts/dynamiclayouts/dialog.cpp51
-rw-r--r--examples/widgets/layouts/dynamiclayouts/dialog.h51
-rw-r--r--examples/widgets/layouts/dynamiclayouts/main.cpp51
-rw-r--r--examples/widgets/layouts/flowlayout/CMakeLists.txt14
-rw-r--r--examples/widgets/layouts/flowlayout/flowlayout.cpp51
-rw-r--r--examples/widgets/layouts/flowlayout/flowlayout.h51
-rw-r--r--examples/widgets/layouts/flowlayout/main.cpp51
-rw-r--r--examples/widgets/layouts/flowlayout/window.cpp51
-rw-r--r--examples/widgets/layouts/flowlayout/window.h51
-rw-r--r--examples/widgets/mainwindows/CMakeLists.txt2
-rw-r--r--examples/widgets/mainwindows/application/CMakeLists.txt17
-rw-r--r--examples/widgets/mainwindows/application/main.cpp51
-rw-r--r--examples/widgets/mainwindows/application/mainwindow.cpp51
-rw-r--r--examples/widgets/mainwindows/application/mainwindow.h51
-rw-r--r--examples/widgets/mainwindows/dockwidgets/.prev_CMakeLists.txt62
-rw-r--r--examples/widgets/mainwindows/dockwidgets/CMakeLists.txt24
-rw-r--r--examples/widgets/mainwindows/dockwidgets/main.cpp51
-rw-r--r--examples/widgets/mainwindows/dockwidgets/mainwindow.cpp51
-rw-r--r--examples/widgets/mainwindows/dockwidgets/mainwindow.h51
-rw-r--r--examples/widgets/mainwindows/mainwindow/CMakeLists.txt17
-rw-r--r--examples/widgets/mainwindows/mainwindow/colorswatch.cpp51
-rw-r--r--examples/widgets/mainwindows/mainwindow/colorswatch.h51
-rw-r--r--examples/widgets/mainwindows/mainwindow/main.cpp51
-rw-r--r--examples/widgets/mainwindows/mainwindow/mainwindow.cpp51
-rw-r--r--examples/widgets/mainwindows/mainwindow/mainwindow.h54
-rw-r--r--examples/widgets/mainwindows/mainwindow/toolbar.cpp51
-rw-r--r--examples/widgets/mainwindows/mainwindow/toolbar.h51
-rw-r--r--examples/widgets/mainwindows/mdi/CMakeLists.txt17
-rw-r--r--examples/widgets/mainwindows/mdi/main.cpp51
-rw-r--r--examples/widgets/mainwindows/mdi/mainwindow.cpp51
-rw-r--r--examples/widgets/mainwindows/mdi/mainwindow.h51
-rw-r--r--examples/widgets/mainwindows/mdi/mdichild.cpp51
-rw-r--r--examples/widgets/mainwindows/mdi/mdichild.h51
-rw-r--r--examples/widgets/mainwindows/menus/CMakeLists.txt14
-rw-r--r--examples/widgets/mainwindows/menus/main.cpp51
-rw-r--r--examples/widgets/mainwindows/menus/mainwindow.cpp51
-rw-r--r--examples/widgets/mainwindows/menus/mainwindow.h51
-rw-r--r--examples/widgets/mainwindows/sdi/CMakeLists.txt17
-rw-r--r--examples/widgets/mainwindows/sdi/main.cpp51
-rw-r--r--examples/widgets/mainwindows/sdi/mainwindow.cpp51
-rw-r--r--examples/widgets/mainwindows/sdi/mainwindow.h51
-rw-r--r--examples/widgets/painting/.prev_CMakeLists.txt13
-rw-r--r--examples/widgets/painting/CMakeLists.txt5
-rw-r--r--examples/widgets/painting/affine/.prev_CMakeLists.txt118
-rw-r--r--examples/widgets/painting/affine/CMakeLists.txt28
-rw-r--r--examples/widgets/painting/affine/main.cpp51
-rw-r--r--examples/widgets/painting/affine/xform.cpp51
-rw-r--r--examples/widgets/painting/affine/xform.h51
-rw-r--r--examples/widgets/painting/basicdrawing/CMakeLists.txt17
-rw-r--r--examples/widgets/painting/basicdrawing/main.cpp51
-rw-r--r--examples/widgets/painting/basicdrawing/renderarea.cpp51
-rw-r--r--examples/widgets/painting/basicdrawing/renderarea.h51
-rw-r--r--examples/widgets/painting/basicdrawing/window.cpp51
-rw-r--r--examples/widgets/painting/basicdrawing/window.h51
-rw-r--r--examples/widgets/painting/composition/.prev_CMakeLists.txt119
-rw-r--r--examples/widgets/painting/composition/CMakeLists.txt28
-rw-r--r--examples/widgets/painting/composition/composition.cpp51
-rw-r--r--examples/widgets/painting/composition/composition.h51
-rw-r--r--examples/widgets/painting/composition/main.cpp51
-rw-r--r--examples/widgets/painting/concentriccircles/CMakeLists.txt14
-rw-r--r--examples/widgets/painting/concentriccircles/circlewidget.cpp51
-rw-r--r--examples/widgets/painting/concentriccircles/circlewidget.h51
-rw-r--r--examples/widgets/painting/concentriccircles/main.cpp51
-rw-r--r--examples/widgets/painting/concentriccircles/window.cpp51
-rw-r--r--examples/widgets/painting/concentriccircles/window.h51
-rw-r--r--examples/widgets/painting/deform/.prev_CMakeLists.txt117
-rw-r--r--examples/widgets/painting/deform/CMakeLists.txt28
-rw-r--r--examples/widgets/painting/deform/main.cpp51
-rw-r--r--examples/widgets/painting/deform/pathdeform.cpp51
-rw-r--r--examples/widgets/painting/deform/pathdeform.h51
-rw-r--r--examples/widgets/painting/fontsampler/CMakeLists.txt17
-rw-r--r--examples/widgets/painting/fontsampler/main.cpp51
-rw-r--r--examples/widgets/painting/fontsampler/mainwindow.cpp51
-rw-r--r--examples/widgets/painting/fontsampler/mainwindow.h56
-rw-r--r--examples/widgets/painting/gradients/.prev_CMakeLists.txt117
-rw-r--r--examples/widgets/painting/gradients/CMakeLists.txt28
-rw-r--r--examples/widgets/painting/gradients/gradients.cpp51
-rw-r--r--examples/widgets/painting/gradients/gradients.h51
-rw-r--r--examples/widgets/painting/gradients/main.cpp51
-rw-r--r--examples/widgets/painting/imagecomposition/CMakeLists.txt17
-rw-r--r--examples/widgets/painting/imagecomposition/imagecomposer.cpp51
-rw-r--r--examples/widgets/painting/imagecomposition/imagecomposer.h51
-rw-r--r--examples/widgets/painting/imagecomposition/main.cpp51
-rw-r--r--examples/widgets/painting/painterpaths/CMakeLists.txt14
-rw-r--r--examples/widgets/painting/painterpaths/main.cpp51
-rw-r--r--examples/widgets/painting/painterpaths/renderarea.cpp51
-rw-r--r--examples/widgets/painting/painterpaths/renderarea.h51
-rw-r--r--examples/widgets/painting/painterpaths/window.cpp51
-rw-r--r--examples/widgets/painting/painterpaths/window.h51
-rw-r--r--examples/widgets/painting/pathstroke/.prev_CMakeLists.txt117
-rw-r--r--examples/widgets/painting/pathstroke/CMakeLists.txt28
-rw-r--r--examples/widgets/painting/pathstroke/main.cpp51
-rw-r--r--examples/widgets/painting/pathstroke/pathstroke.cpp51
-rw-r--r--examples/widgets/painting/pathstroke/pathstroke.h51
-rw-r--r--examples/widgets/painting/shared/CMakeLists.txt4
-rw-r--r--examples/widgets/painting/shared/arthurstyle.cpp51
-rw-r--r--examples/widgets/painting/shared/arthurstyle.h51
-rw-r--r--examples/widgets/painting/shared/arthurwidgets.cpp51
-rw-r--r--examples/widgets/painting/shared/arthurwidgets.h51
-rw-r--r--examples/widgets/painting/shared/fbopaintdevice.cpp51
-rw-r--r--examples/widgets/painting/shared/fbopaintdevice.h51
-rw-r--r--examples/widgets/painting/shared/hoverpoints.cpp51
-rw-r--r--examples/widgets/painting/shared/hoverpoints.h51
-rw-r--r--examples/widgets/painting/transformations/CMakeLists.txt14
-rw-r--r--examples/widgets/painting/transformations/main.cpp51
-rw-r--r--examples/widgets/painting/transformations/renderarea.cpp51
-rw-r--r--examples/widgets/painting/transformations/renderarea.h51
-rw-r--r--examples/widgets/painting/transformations/window.cpp51
-rw-r--r--examples/widgets/painting/transformations/window.h51
-rw-r--r--examples/widgets/qnx/foreignwindows/collector.cpp40
-rw-r--r--examples/widgets/qnx/foreignwindows/collector.h40
-rw-r--r--examples/widgets/qnx/foreignwindows/main.cpp40
-rw-r--r--examples/widgets/richtext/CMakeLists.txt2
-rw-r--r--examples/widgets/richtext/calendar/CMakeLists.txt14
-rw-r--r--examples/widgets/richtext/calendar/main.cpp51
-rw-r--r--examples/widgets/richtext/calendar/mainwindow.cpp51
-rw-r--r--examples/widgets/richtext/calendar/mainwindow.h51
-rw-r--r--examples/widgets/richtext/orderform/CMakeLists.txt14
-rw-r--r--examples/widgets/richtext/orderform/detailsdialog.cpp51
-rw-r--r--examples/widgets/richtext/orderform/detailsdialog.h51
-rw-r--r--examples/widgets/richtext/orderform/main.cpp51
-rw-r--r--examples/widgets/richtext/orderform/mainwindow.cpp51
-rw-r--r--examples/widgets/richtext/orderform/mainwindow.h51
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt14
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/highlighter.cpp51
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/highlighter.h51
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/main.cpp51
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/mainwindow.cpp51
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/mainwindow.h51
-rw-r--r--examples/widgets/richtext/textedit/.prev_CMakeLists.txt108
-rw-r--r--examples/widgets/richtext/textedit/CMakeLists.txt24
-rw-r--r--examples/widgets/richtext/textedit/main.cpp51
-rw-r--r--examples/widgets/richtext/textedit/textedit.cpp52
-rw-r--r--examples/widgets/richtext/textedit/textedit.h51
-rw-r--r--examples/widgets/richtext/textedit/textedit.qdoc28
-rw-r--r--examples/widgets/scroller/CMakeLists.txt2
-rw-r--r--examples/widgets/scroller/graphicsview/CMakeLists.txt14
-rw-r--r--examples/widgets/scroller/graphicsview/main.cpp51
-rw-r--r--examples/widgets/tools/.prev_CMakeLists.txt17
-rw-r--r--examples/widgets/tools/CMakeLists.txt11
-rw-r--r--examples/widgets/tools/completer/CMakeLists.txt17
-rw-r--r--examples/widgets/tools/completer/fsmodel.cpp51
-rw-r--r--examples/widgets/tools/completer/fsmodel.h51
-rw-r--r--examples/widgets/tools/completer/main.cpp51
-rw-r--r--examples/widgets/tools/completer/mainwindow.cpp51
-rw-r--r--examples/widgets/tools/completer/mainwindow.h51
-rw-r--r--examples/widgets/tools/customcompleter/CMakeLists.txt17
-rw-r--r--examples/widgets/tools/customcompleter/doc/src/customcompleter.qdoc28
-rw-r--r--examples/widgets/tools/customcompleter/main.cpp51
-rw-r--r--examples/widgets/tools/customcompleter/mainwindow.cpp51
-rw-r--r--examples/widgets/tools/customcompleter/mainwindow.h51
-rw-r--r--examples/widgets/tools/customcompleter/textedit.cpp51
-rw-r--r--examples/widgets/tools/customcompleter/textedit.h51
-rw-r--r--examples/widgets/tools/echoplugin/CMakeLists.txt2
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt41
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt2
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/echointerface.h51
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/echowindow.cpp51
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/echowindow.h51
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/main.cpp51
-rw-r--r--examples/widgets/tools/echoplugin/plugin/.prev_CMakeLists.txt35
-rw-r--r--examples/widgets/tools/echoplugin/plugin/CMakeLists.txt3
-rw-r--r--examples/widgets/tools/echoplugin/plugin/echoplugin.cpp51
-rw-r--r--examples/widgets/tools/echoplugin/plugin/echoplugin.h51
-rw-r--r--examples/widgets/tools/i18n/CMakeLists.txt17
-rw-r--r--examples/widgets/tools/i18n/languagechooser.cpp51
-rw-r--r--examples/widgets/tools/i18n/languagechooser.h51
-rw-r--r--examples/widgets/tools/i18n/main.cpp51
-rw-r--r--examples/widgets/tools/i18n/mainwindow.cpp51
-rw-r--r--examples/widgets/tools/i18n/mainwindow.h51
-rw-r--r--examples/widgets/tools/plugandpaint/CMakeLists.txt4
-rw-r--r--examples/widgets/tools/plugandpaint/app/.prev_CMakeLists.txt74
-rw-r--r--examples/widgets/tools/plugandpaint/app/CMakeLists.txt2
-rw-r--r--examples/widgets/tools/plugandpaint/app/interfaces.h51
-rw-r--r--examples/widgets/tools/plugandpaint/app/main.cpp51
-rw-r--r--examples/widgets/tools/plugandpaint/app/mainwindow.cpp51
-rw-r--r--examples/widgets/tools/plugandpaint/app/mainwindow.h51
-rw-r--r--examples/widgets/tools/plugandpaint/app/paintarea.cpp51
-rw-r--r--examples/widgets/tools/plugandpaint/app/paintarea.h51
-rw-r--r--examples/widgets/tools/plugandpaint/app/plugindialog.cpp51
-rw-r--r--examples/widgets/tools/plugandpaint/app/plugindialog.h51
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/basictools/.prev_CMakeLists.txt36
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt2
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/basictools/basictoolsplugin.cpp51
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/basictools/basictoolsplugin.h51
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/extrafilters/.prev_CMakeLists.txt36
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt3
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/extrafilters/extrafiltersplugin.cpp51
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/extrafilters/extrafiltersplugin.h51
-rw-r--r--examples/widgets/tools/regularexpression/CMakeLists.txt17
-rw-r--r--examples/widgets/tools/regularexpression/main.cpp51
-rw-r--r--examples/widgets/tools/regularexpression/regularexpressiondialog.cpp55
-rw-r--r--examples/widgets/tools/regularexpression/regularexpressiondialog.h55
-rw-r--r--examples/widgets/tools/settingseditor/CMakeLists.txt14
-rw-r--r--examples/widgets/tools/settingseditor/locationdialog.cpp51
-rw-r--r--examples/widgets/tools/settingseditor/locationdialog.h51
-rw-r--r--examples/widgets/tools/settingseditor/main.cpp51
-rw-r--r--examples/widgets/tools/settingseditor/mainwindow.cpp51
-rw-r--r--examples/widgets/tools/settingseditor/mainwindow.h51
-rw-r--r--examples/widgets/tools/settingseditor/settingstree.cpp51
-rw-r--r--examples/widgets/tools/settingseditor/settingstree.h51
-rw-r--r--examples/widgets/tools/settingseditor/variantdelegate.cpp51
-rw-r--r--examples/widgets/tools/settingseditor/variantdelegate.h51
-rw-r--r--examples/widgets/tools/styleplugin/.prev_CMakeLists.txt4
-rw-r--r--examples/widgets/tools/styleplugin/CMakeLists.txt2
-rw-r--r--examples/widgets/tools/styleplugin/plugin/.prev_CMakeLists.txt32
-rw-r--r--examples/widgets/tools/styleplugin/plugin/CMakeLists.txt3
-rw-r--r--examples/widgets/tools/styleplugin/plugin/simplestyle.cpp51
-rw-r--r--examples/widgets/tools/styleplugin/plugin/simplestyle.h51
-rw-r--r--examples/widgets/tools/styleplugin/plugin/simplestyleplugin.cpp51
-rw-r--r--examples/widgets/tools/styleplugin/plugin/simplestyleplugin.h51
-rw-r--r--examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt3
-rw-r--r--examples/widgets/tools/styleplugin/stylewindow/main.cpp51
-rw-r--r--examples/widgets/tools/styleplugin/stylewindow/stylewindow.cpp51
-rw-r--r--examples/widgets/tools/styleplugin/stylewindow/stylewindow.h51
-rw-r--r--examples/widgets/tools/treemodelcompleter/CMakeLists.txt17
-rw-r--r--examples/widgets/tools/treemodelcompleter/main.cpp51
-rw-r--r--examples/widgets/tools/treemodelcompleter/mainwindow.cpp51
-rw-r--r--examples/widgets/tools/treemodelcompleter/mainwindow.h51
-rw-r--r--examples/widgets/tools/treemodelcompleter/treemodelcompleter.cpp51
-rw-r--r--examples/widgets/tools/treemodelcompleter/treemodelcompleter.h51
-rw-r--r--examples/widgets/tools/undo/CMakeLists.txt14
-rw-r--r--examples/widgets/tools/undo/commands.cpp51
-rw-r--r--examples/widgets/tools/undo/commands.h51
-rw-r--r--examples/widgets/tools/undo/document.cpp51
-rw-r--r--examples/widgets/tools/undo/document.h51
-rw-r--r--examples/widgets/tools/undo/main.cpp51
-rw-r--r--examples/widgets/tools/undo/mainwindow.cpp51
-rw-r--r--examples/widgets/tools/undo/mainwindow.h51
-rw-r--r--examples/widgets/tools/undoframework/CMakeLists.txt17
-rw-r--r--examples/widgets/tools/undoframework/commands.cpp51
-rw-r--r--examples/widgets/tools/undoframework/commands.h51
-rw-r--r--examples/widgets/tools/undoframework/diagramitem.cpp51
-rw-r--r--examples/widgets/tools/undoframework/diagramitem.h51
-rw-r--r--examples/widgets/tools/undoframework/diagramscene.cpp51
-rw-r--r--examples/widgets/tools/undoframework/diagramscene.h51
-rw-r--r--examples/widgets/tools/undoframework/main.cpp51
-rw-r--r--examples/widgets/tools/undoframework/mainwindow.cpp51
-rw-r--r--examples/widgets/tools/undoframework/mainwindow.h51
-rw-r--r--examples/widgets/touch/CMakeLists.txt2
-rw-r--r--examples/widgets/touch/dials/CMakeLists.txt13
-rw-r--r--examples/widgets/touch/dials/doc/src/touch-dials.qdoc28
-rw-r--r--examples/widgets/touch/dials/main.cpp51
-rw-r--r--examples/widgets/touch/fingerpaint/.prev_CMakeLists.txt47
-rw-r--r--examples/widgets/touch/fingerpaint/CMakeLists.txt21
-rw-r--r--examples/widgets/touch/fingerpaint/doc/src/fingerpaint.qdoc28
-rw-r--r--examples/widgets/touch/fingerpaint/main.cpp51
-rw-r--r--examples/widgets/touch/fingerpaint/mainwindow.cpp51
-rw-r--r--examples/widgets/touch/fingerpaint/mainwindow.h51
-rw-r--r--examples/widgets/touch/fingerpaint/scribblearea.cpp51
-rw-r--r--examples/widgets/touch/fingerpaint/scribblearea.h51
-rw-r--r--examples/widgets/touch/knobs/CMakeLists.txt14
-rw-r--r--examples/widgets/touch/knobs/doc/src/touch-knobs.qdoc28
-rw-r--r--examples/widgets/touch/knobs/knob.cpp51
-rw-r--r--examples/widgets/touch/knobs/knob.h51
-rw-r--r--examples/widgets/touch/knobs/main.cpp51
-rw-r--r--examples/widgets/touch/pinchzoom/CMakeLists.txt17
-rw-r--r--examples/widgets/touch/pinchzoom/doc/src/pinchzoom.qdoc28
-rw-r--r--examples/widgets/touch/pinchzoom/graphicsview.cpp51
-rw-r--r--examples/widgets/touch/pinchzoom/graphicsview.h51
-rw-r--r--examples/widgets/touch/pinchzoom/main.cpp51
-rw-r--r--examples/widgets/touch/pinchzoom/mouse.cpp51
-rw-r--r--examples/widgets/touch/pinchzoom/mouse.h51
-rw-r--r--examples/widgets/tutorials/CMakeLists.txt2
-rw-r--r--examples/widgets/tutorials/addressbook/CMakeLists.txt2
-rw-r--r--examples/widgets/tutorials/addressbook/part1/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/addressbook/part1/addressbook.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part1/addressbook.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part1/main.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part2/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/addressbook/part2/addressbook.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part2/addressbook.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part2/main.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part3/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/addressbook/part3/addressbook.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part3/addressbook.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part3/main.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part4/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/addressbook/part4/addressbook.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part4/addressbook.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part4/main.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part5/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/addressbook/part5/addressbook.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part5/addressbook.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part5/finddialog.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part5/finddialog.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part5/main.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part6/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/addressbook/part6/addressbook.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part6/addressbook.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part6/finddialog.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part6/finddialog.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part6/main.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part7/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/addressbook/part7/addressbook.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part7/addressbook.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part7/finddialog.cpp51
-rw-r--r--examples/widgets/tutorials/addressbook/part7/finddialog.h51
-rw-r--r--examples/widgets/tutorials/addressbook/part7/main.cpp51
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/CMakeLists.txt2
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part1/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part1/main.cpp51
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part2/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part2/main.cpp51
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part3/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part3/main.cpp51
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part4/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part4/main.cpp51
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part5/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/gettingStarted/gsQt/part5/main.cpp51
-rw-r--r--examples/widgets/tutorials/gettingstartedqt.qdoc222
-rw-r--r--examples/widgets/tutorials/modelview/1_readonly/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/modelview/1_readonly/main.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/1_readonly/mymodel.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/1_readonly/mymodel.h51
-rw-r--r--examples/widgets/tutorials/modelview/2_formatting/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/modelview/2_formatting/main.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/2_formatting/mymodel.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/2_formatting/mymodel.h51
-rw-r--r--examples/widgets/tutorials/modelview/3_changingmodel/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/modelview/3_changingmodel/main.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/3_changingmodel/mymodel.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/3_changingmodel/mymodel.h51
-rw-r--r--examples/widgets/tutorials/modelview/4_headers/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/modelview/4_headers/main.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/4_headers/mymodel.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/4_headers/mymodel.h51
-rw-r--r--examples/widgets/tutorials/modelview/5_edit/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/modelview/5_edit/main.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/5_edit/mainwindow.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/5_edit/mainwindow.h51
-rw-r--r--examples/widgets/tutorials/modelview/5_edit/mymodel.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/5_edit/mymodel.h51
-rw-r--r--examples/widgets/tutorials/modelview/6_treeview/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/modelview/6_treeview/main.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/6_treeview/mainwindow.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/6_treeview/mainwindow.h51
-rw-r--r--examples/widgets/tutorials/modelview/7_selections/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/modelview/7_selections/main.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/7_selections/mainwindow.cpp51
-rw-r--r--examples/widgets/tutorials/modelview/7_selections/mainwindow.h51
-rw-r--r--examples/widgets/tutorials/modelview/CMakeLists.txt2
-rw-r--r--examples/widgets/tutorials/notepad/.prev_CMakeLists.txt76
-rw-r--r--examples/widgets/tutorials/notepad/CMakeLists.txt20
-rw-r--r--examples/widgets/tutorials/notepad/main.cpp61
-rw-r--r--examples/widgets/tutorials/notepad/notepad.cpp51
-rw-r--r--examples/widgets/tutorials/notepad/notepad.h74
-rw-r--r--examples/widgets/tutorials/widgets/CMakeLists.txt2
-rw-r--r--examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/widgets/childwidget/main.cpp51
-rw-r--r--examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/widgets/nestedlayouts/main.cpp51
-rw-r--r--examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/widgets/toplevel/main.cpp51
-rw-r--r--examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt14
-rw-r--r--examples/widgets/tutorials/widgets/windowlayout/main.cpp51
-rw-r--r--examples/widgets/widgets/CMakeLists.txt6
-rw-r--r--examples/widgets/widgets/analogclock/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/analogclock/analogclock.cpp51
-rw-r--r--examples/widgets/widgets/analogclock/analogclock.h51
-rw-r--r--examples/widgets/widgets/analogclock/main.cpp51
-rw-r--r--examples/widgets/widgets/calculator/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/calculator/button.cpp51
-rw-r--r--examples/widgets/widgets/calculator/button.h51
-rw-r--r--examples/widgets/widgets/calculator/calculator.cpp51
-rw-r--r--examples/widgets/widgets/calculator/calculator.h51
-rw-r--r--examples/widgets/widgets/calculator/main.cpp51
-rw-r--r--examples/widgets/widgets/calendarwidget/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/calendarwidget/main.cpp51
-rw-r--r--examples/widgets/widgets/calendarwidget/window.cpp51
-rw-r--r--examples/widgets/widgets/calendarwidget/window.h51
-rw-r--r--examples/widgets/widgets/charactermap/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/charactermap/characterwidget.cpp51
-rw-r--r--examples/widgets/widgets/charactermap/characterwidget.h51
-rw-r--r--examples/widgets/widgets/charactermap/main.cpp51
-rw-r--r--examples/widgets/widgets/charactermap/mainwindow.cpp51
-rw-r--r--examples/widgets/widgets/charactermap/mainwindow.h51
-rw-r--r--examples/widgets/widgets/codeeditor/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/codeeditor/codeeditor.cpp51
-rw-r--r--examples/widgets/widgets/codeeditor/codeeditor.h51
-rw-r--r--examples/widgets/widgets/codeeditor/main.cpp51
-rw-r--r--examples/widgets/widgets/digitalclock/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/digitalclock/digitalclock.cpp51
-rw-r--r--examples/widgets/widgets/digitalclock/digitalclock.h51
-rw-r--r--examples/widgets/widgets/digitalclock/main.cpp51
-rw-r--r--examples/widgets/widgets/elidedlabel/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/elidedlabel/elidedlabel.cpp51
-rw-r--r--examples/widgets/widgets/elidedlabel/elidedlabel.h51
-rw-r--r--examples/widgets/widgets/elidedlabel/main.cpp51
-rw-r--r--examples/widgets/widgets/elidedlabel/testwidget.cpp51
-rw-r--r--examples/widgets/widgets/elidedlabel/testwidget.h51
-rw-r--r--examples/widgets/widgets/groupbox/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/groupbox/main.cpp51
-rw-r--r--examples/widgets/widgets/groupbox/window.cpp51
-rw-r--r--examples/widgets/widgets/groupbox/window.h51
-rw-r--r--examples/widgets/widgets/icons/.prev_CMakeLists.txt47
-rw-r--r--examples/widgets/widgets/icons/CMakeLists.txt16
-rw-r--r--examples/widgets/widgets/icons/iconpreviewarea.cpp59
-rw-r--r--examples/widgets/widgets/icons/iconpreviewarea.h51
-rw-r--r--examples/widgets/widgets/icons/iconsizespinbox.cpp51
-rw-r--r--examples/widgets/widgets/icons/iconsizespinbox.h51
-rw-r--r--examples/widgets/widgets/icons/imagedelegate.cpp51
-rw-r--r--examples/widgets/widgets/icons/imagedelegate.h51
-rw-r--r--examples/widgets/widgets/icons/main.cpp51
-rw-r--r--examples/widgets/widgets/icons/mainwindow.cpp51
-rw-r--r--examples/widgets/widgets/icons/mainwindow.h51
-rw-r--r--examples/widgets/widgets/imageviewer/.prev_CMakeLists.txt46
-rw-r--r--examples/widgets/widgets/imageviewer/CMakeLists.txt21
-rw-r--r--examples/widgets/widgets/imageviewer/imageviewer.cpp51
-rw-r--r--examples/widgets/widgets/imageviewer/imageviewer.h51
-rw-r--r--examples/widgets/widgets/imageviewer/main.cpp51
-rw-r--r--examples/widgets/widgets/lineedits/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/lineedits/main.cpp51
-rw-r--r--examples/widgets/widgets/lineedits/window.cpp51
-rw-r--r--examples/widgets/widgets/lineedits/window.h51
-rw-r--r--examples/widgets/widgets/mousebuttons/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/mousebuttons/buttontester.cpp53
-rw-r--r--examples/widgets/widgets/mousebuttons/buttontester.h53
-rw-r--r--examples/widgets/widgets/mousebuttons/main.cpp53
-rw-r--r--examples/widgets/widgets/movie/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/movie/main.cpp51
-rw-r--r--examples/widgets/widgets/movie/movieplayer.cpp51
-rw-r--r--examples/widgets/widgets/movie/movieplayer.h51
-rw-r--r--examples/widgets/widgets/scribble/.prev_CMakeLists.txt47
-rw-r--r--examples/widgets/widgets/scribble/CMakeLists.txt21
-rw-r--r--examples/widgets/widgets/scribble/main.cpp51
-rw-r--r--examples/widgets/widgets/scribble/mainwindow.cpp51
-rw-r--r--examples/widgets/widgets/scribble/mainwindow.h51
-rw-r--r--examples/widgets/widgets/scribble/scribblearea.cpp51
-rw-r--r--examples/widgets/widgets/scribble/scribblearea.h51
-rw-r--r--examples/widgets/widgets/shapedclock/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/shapedclock/main.cpp51
-rw-r--r--examples/widgets/widgets/shapedclock/shapedclock.cpp51
-rw-r--r--examples/widgets/widgets/shapedclock/shapedclock.h51
-rw-r--r--examples/widgets/widgets/sliders/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/sliders/main.cpp51
-rw-r--r--examples/widgets/widgets/sliders/slidersgroup.cpp51
-rw-r--r--examples/widgets/widgets/sliders/slidersgroup.h51
-rw-r--r--examples/widgets/widgets/sliders/window.cpp51
-rw-r--r--examples/widgets/widgets/sliders/window.h51
-rw-r--r--examples/widgets/widgets/spinboxes/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/spinboxes/main.cpp51
-rw-r--r--examples/widgets/widgets/spinboxes/window.cpp51
-rw-r--r--examples/widgets/widgets/spinboxes/window.h51
-rw-r--r--examples/widgets/widgets/styles/CMakeLists.txt17
-rw-r--r--examples/widgets/widgets/styles/main.cpp51
-rw-r--r--examples/widgets/widgets/styles/norwegianwoodstyle.cpp51
-rw-r--r--examples/widgets/widgets/styles/norwegianwoodstyle.h51
-rw-r--r--examples/widgets/widgets/styles/widgetgallery.cpp51
-rw-r--r--examples/widgets/widgets/styles/widgetgallery.h51
-rw-r--r--examples/widgets/widgets/stylesheet/CMakeLists.txt16
-rw-r--r--examples/widgets/widgets/stylesheet/main.cpp51
-rw-r--r--examples/widgets/widgets/stylesheet/mainwindow.cpp51
-rw-r--r--examples/widgets/widgets/stylesheet/mainwindow.h51
-rw-r--r--examples/widgets/widgets/stylesheet/stylesheeteditor.cpp51
-rw-r--r--examples/widgets/widgets/stylesheet/stylesheeteditor.h51
-rw-r--r--examples/widgets/widgets/tablet/CMakeLists.txt17
-rw-r--r--examples/widgets/widgets/tablet/main.cpp51
-rw-r--r--examples/widgets/widgets/tablet/mainwindow.cpp51
-rw-r--r--examples/widgets/widgets/tablet/mainwindow.h51
-rw-r--r--examples/widgets/widgets/tablet/tabletapplication.cpp51
-rw-r--r--examples/widgets/widgets/tablet/tabletapplication.h51
-rw-r--r--examples/widgets/widgets/tablet/tabletcanvas.cpp51
-rw-r--r--examples/widgets/widgets/tablet/tabletcanvas.h51
-rw-r--r--examples/widgets/widgets/tetrix/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/tetrix/main.cpp51
-rw-r--r--examples/widgets/widgets/tetrix/tetrixboard.cpp51
-rw-r--r--examples/widgets/widgets/tetrix/tetrixboard.h51
-rw-r--r--examples/widgets/widgets/tetrix/tetrixpiece.cpp51
-rw-r--r--examples/widgets/widgets/tetrix/tetrixpiece.h51
-rw-r--r--examples/widgets/widgets/tetrix/tetrixwindow.cpp51
-rw-r--r--examples/widgets/widgets/tetrix/tetrixwindow.h51
-rw-r--r--examples/widgets/widgets/tooltips/CMakeLists.txt17
-rw-r--r--examples/widgets/widgets/tooltips/main.cpp51
-rw-r--r--examples/widgets/widgets/tooltips/shapeitem.cpp51
-rw-r--r--examples/widgets/widgets/tooltips/shapeitem.h51
-rw-r--r--examples/widgets/widgets/tooltips/sortingbox.cpp51
-rw-r--r--examples/widgets/widgets/tooltips/sortingbox.h51
-rw-r--r--examples/widgets/widgets/validators/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/validators/ledwidget.cpp51
-rw-r--r--examples/widgets/widgets/validators/ledwidget.h51
-rw-r--r--examples/widgets/widgets/validators/localeselector.cpp51
-rw-r--r--examples/widgets/widgets/validators/localeselector.h51
-rw-r--r--examples/widgets/widgets/validators/main.cpp51
-rw-r--r--examples/widgets/widgets/validators/validatorwidget.cpp51
-rw-r--r--examples/widgets/widgets/validators/validatorwidget.h51
-rw-r--r--examples/widgets/widgets/wiggly/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/wiggly/dialog.cpp51
-rw-r--r--examples/widgets/widgets/wiggly/dialog.h51
-rw-r--r--examples/widgets/widgets/wiggly/main.cpp51
-rw-r--r--examples/widgets/widgets/wiggly/wigglywidget.cpp51
-rw-r--r--examples/widgets/widgets/wiggly/wigglywidget.h51
-rw-r--r--examples/widgets/widgets/windowflags/CMakeLists.txt14
-rw-r--r--examples/widgets/widgets/windowflags/controllerwindow.cpp51
-rw-r--r--examples/widgets/widgets/windowflags/controllerwindow.h51
-rw-r--r--examples/widgets/widgets/windowflags/main.cpp51
-rw-r--r--examples/widgets/widgets/windowflags/previewwindow.cpp53
-rw-r--r--examples/widgets/widgets/windowflags/previewwindow.h51
-rw-r--r--examples/widgets/windowcontainer/CMakeLists.txt15
-rw-r--r--examples/widgets/windowcontainer/windowcontainer.cpp51
-rw-r--r--examples/xml/CMakeLists.txt2
-rw-r--r--examples/xml/dombookmarks/CMakeLists.txt15
-rw-r--r--examples/xml/dombookmarks/doc/src/dombookmarks.qdoc28
-rw-r--r--examples/xml/dombookmarks/main.cpp51
-rw-r--r--examples/xml/dombookmarks/mainwindow.cpp51
-rw-r--r--examples/xml/dombookmarks/mainwindow.h51
-rw-r--r--examples/xml/dombookmarks/xbeltree.cpp51
-rw-r--r--examples/xml/dombookmarks/xbeltree.h51
-rw-r--r--examples/xml/htmlinfo/.prev_CMakeLists.txt44
-rw-r--r--examples/xml/htmlinfo/CMakeLists.txt15
-rw-r--r--examples/xml/htmlinfo/main.cpp51
-rw-r--r--examples/xml/rsslisting/CMakeLists.txt16
-rw-r--r--examples/xml/rsslisting/main.cpp51
-rw-r--r--examples/xml/rsslisting/rsslisting.cpp51
-rw-r--r--examples/xml/rsslisting/rsslisting.h51
-rw-r--r--examples/xml/streambookmarks/CMakeLists.txt15
-rw-r--r--examples/xml/streambookmarks/doc/src/qxmlstreambookmarks.qdoc28
-rw-r--r--examples/xml/streambookmarks/main.cpp51
-rw-r--r--examples/xml/streambookmarks/mainwindow.cpp51
-rw-r--r--examples/xml/streambookmarks/mainwindow.h51
-rw-r--r--examples/xml/streambookmarks/xbelreader.cpp51
-rw-r--r--examples/xml/streambookmarks/xbelreader.h51
-rw-r--r--examples/xml/streambookmarks/xbelwriter.cpp51
-rw-r--r--examples/xml/streambookmarks/xbelwriter.h51
-rw-r--r--examples/xml/xmlstreamlint/.prev_CMakeLists.txt35
-rw-r--r--examples/xml/xmlstreamlint/CMakeLists.txt14
-rw-r--r--examples/xml/xmlstreamlint/doc/src/xmlstreamlint.qdoc28
-rw-r--r--examples/xml/xmlstreamlint/main.cpp51
1530 files changed, 4138 insertions, 59858 deletions
diff --git a/examples/corelib/CMakeLists.txt b/examples/corelib/CMakeLists.txt
index 30e2c8cd1f..aff53c8202 100644
--- a/examples/corelib/CMakeLists.txt
+++ b/examples/corelib/CMakeLists.txt
@@ -1,5 +1,3 @@
-# Generated from corelib.pro.
-
add_subdirectory(bindableproperties)
add_subdirectory(ipc)
add_subdirectory(mimetypes)
diff --git a/examples/corelib/bindableproperties/bindablesubscription/CMakeLists.txt b/examples/corelib/bindableproperties/bindablesubscription/CMakeLists.txt
index b2909589a5..6332c45e1a 100644
--- a/examples/corelib/bindableproperties/bindablesubscription/CMakeLists.txt
+++ b/examples/corelib/bindableproperties/bindablesubscription/CMakeLists.txt
@@ -1,29 +1,24 @@
cmake_minimum_required(VERSION 3.16)
project(bindablesubscription LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/bindableproperties/bindablesubscription")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
qt_add_executable(bindablesubscription
../shared/subscriptionwindow.cpp ../shared/subscriptionwindow.h ../shared/subscriptionwindow.ui
main.cpp
- main.cpp
bindablesubscription.cpp bindablesubscription.h
bindableuser.cpp bindableuser.h
)
+
target_link_libraries(bindablesubscription PUBLIC
Qt::Core
Qt::Gui
@@ -37,7 +32,7 @@ set(countries_resource_files
"../shared/norway.png"
)
-qt6_add_resources(bindablesubscription "countries"
+qt_add_resources(bindablesubscription "countries"
PREFIX
"/"
BASE
diff --git a/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.cpp b/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.cpp
index 14b28b3fae..1b65c87f5f 100644
--- a/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.cpp
+++ b/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "bindablesubscription.h"
#include "bindableuser.h"
diff --git a/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h b/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h
index 763864d627..b135618bec 100644
--- a/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h
+++ b/examples/corelib/bindableproperties/bindablesubscription/bindablesubscription.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef BINDABLESUBSCRIPTION_H
#define BINDABLESUBSCRIPTION_H
diff --git a/examples/corelib/bindableproperties/bindablesubscription/bindableuser.cpp b/examples/corelib/bindableproperties/bindablesubscription/bindableuser.cpp
index d30e203b61..9cc3b7a4a6 100644
--- a/examples/corelib/bindableproperties/bindablesubscription/bindableuser.cpp
+++ b/examples/corelib/bindableproperties/bindablesubscription/bindableuser.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "bindableuser.h"
diff --git a/examples/corelib/bindableproperties/bindablesubscription/bindableuser.h b/examples/corelib/bindableproperties/bindablesubscription/bindableuser.h
index 65541e6ac1..b7e44d52ec 100644
--- a/examples/corelib/bindableproperties/bindablesubscription/bindableuser.h
+++ b/examples/corelib/bindableproperties/bindablesubscription/bindableuser.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef BINDABLEUSER_H
#define BINDABLEUSER_H
diff --git a/examples/corelib/bindableproperties/bindablesubscription/main.cpp b/examples/corelib/bindableproperties/bindablesubscription/main.cpp
index df935679ad..c861f8af4c 100644
--- a/examples/corelib/bindableproperties/bindablesubscription/main.cpp
+++ b/examples/corelib/bindableproperties/bindablesubscription/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "../shared/subscriptionwindow.h"
#include "bindablesubscription.h"
diff --git a/examples/corelib/bindableproperties/doc/src/bindableproperties.qdoc b/examples/corelib/bindableproperties/doc/src/bindableproperties.qdoc
index 8c36921ff8..6e373dbc3c 100644
--- a/examples/corelib/bindableproperties/doc/src/bindableproperties.qdoc
+++ b/examples/corelib/bindableproperties/doc/src/bindableproperties.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example bindableproperties
diff --git a/examples/corelib/bindableproperties/shared/subscriptionwindow.cpp b/examples/corelib/bindableproperties/shared/subscriptionwindow.cpp
index 03269dfa0c..0e17283d40 100644
--- a/examples/corelib/bindableproperties/shared/subscriptionwindow.cpp
+++ b/examples/corelib/bindableproperties/shared/subscriptionwindow.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "subscriptionwindow.h"
#include "ui_subscriptionwindow.h"
diff --git a/examples/corelib/bindableproperties/shared/subscriptionwindow.h b/examples/corelib/bindableproperties/shared/subscriptionwindow.h
index 9bc3acd91a..75f6a1eb83 100644
--- a/examples/corelib/bindableproperties/shared/subscriptionwindow.h
+++ b/examples/corelib/bindableproperties/shared/subscriptionwindow.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef SUBSCRIPTIONWINDOW_H
#define SUBSCRIPTIONWINDOW_H
diff --git a/examples/corelib/bindableproperties/subscription/CMakeLists.txt b/examples/corelib/bindableproperties/subscription/CMakeLists.txt
index a5480e03c7..9b624e4e29 100644
--- a/examples/corelib/bindableproperties/subscription/CMakeLists.txt
+++ b/examples/corelib/bindableproperties/subscription/CMakeLists.txt
@@ -1,21 +1,16 @@
cmake_minimum_required(VERSION 3.16)
project(subscription LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/bindableproperties/subscription")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
qt_add_executable(subscription
../shared/subscriptionwindow.cpp ../shared/subscriptionwindow.h ../shared/subscriptionwindow.ui
@@ -23,13 +18,13 @@ qt_add_executable(subscription
subscription.cpp subscription.h
user.cpp user.h
)
+
target_link_libraries(subscription PUBLIC
Qt::Core
Qt::Gui
Qt::Widgets
)
-
# Resources:
set(countries_resource_files
"../shared/finland.png"
@@ -37,7 +32,7 @@ set(countries_resource_files
"../shared/norway.png"
)
-qt6_add_resources(subscription "countries"
+qt_add_resources(subscription "countries"
PREFIX
"/"
BASE
diff --git a/examples/corelib/bindableproperties/subscription/main.cpp b/examples/corelib/bindableproperties/subscription/main.cpp
index 6ff0c960f1..8b3f37ab7c 100644
--- a/examples/corelib/bindableproperties/subscription/main.cpp
+++ b/examples/corelib/bindableproperties/subscription/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "../shared/subscriptionwindow.h"
#include "subscription.h"
diff --git a/examples/corelib/bindableproperties/subscription/subscription.cpp b/examples/corelib/bindableproperties/subscription/subscription.cpp
index 20efe825f3..16bb6cfdd6 100644
--- a/examples/corelib/bindableproperties/subscription/subscription.cpp
+++ b/examples/corelib/bindableproperties/subscription/subscription.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "subscription.h"
#include "user.h"
diff --git a/examples/corelib/bindableproperties/subscription/subscription.h b/examples/corelib/bindableproperties/subscription/subscription.h
index 41d052e86f..5fa705772b 100644
--- a/examples/corelib/bindableproperties/subscription/subscription.h
+++ b/examples/corelib/bindableproperties/subscription/subscription.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef SUBSCRIPTION_H
#define SUBSCRIPTION_H
diff --git a/examples/corelib/bindableproperties/subscription/user.cpp b/examples/corelib/bindableproperties/subscription/user.cpp
index c2b0835330..575bcb13ee 100644
--- a/examples/corelib/bindableproperties/subscription/user.cpp
+++ b/examples/corelib/bindableproperties/subscription/user.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "user.h"
diff --git a/examples/corelib/bindableproperties/subscription/user.h b/examples/corelib/bindableproperties/subscription/user.h
index 8c9ebb1009..1e16f9e901 100644
--- a/examples/corelib/bindableproperties/subscription/user.h
+++ b/examples/corelib/bindableproperties/subscription/user.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef USER_H
#define USER_H
diff --git a/examples/corelib/ipc/CMakeLists.txt b/examples/corelib/ipc/CMakeLists.txt
index 214fa4c553..9cc34c8ea2 100644
--- a/examples/corelib/ipc/CMakeLists.txt
+++ b/examples/corelib/ipc/CMakeLists.txt
@@ -1,5 +1,3 @@
-# Generated from ipc.pro.
-
if(NOT TARGET Qt::Widgets)
return()
endif()
diff --git a/examples/corelib/ipc/doc/src/localfortuneclient.qdoc b/examples/corelib/ipc/doc/src/localfortuneclient.qdoc
index 0ccc1f3a4e..f7fa46c932 100644
--- a/examples/corelib/ipc/doc/src/localfortuneclient.qdoc
+++ b/examples/corelib/ipc/doc/src/localfortuneclient.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example ipc/localfortuneclient
diff --git a/examples/corelib/ipc/doc/src/localfortuneserver.qdoc b/examples/corelib/ipc/doc/src/localfortuneserver.qdoc
index 8d44c99617..281fd3b4be 100644
--- a/examples/corelib/ipc/doc/src/localfortuneserver.qdoc
+++ b/examples/corelib/ipc/doc/src/localfortuneserver.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example ipc/localfortuneserver
diff --git a/examples/corelib/ipc/doc/src/sharedmemory.qdoc b/examples/corelib/ipc/doc/src/sharedmemory.qdoc
index fb2ae21812..7ea4ffb25d 100644
--- a/examples/corelib/ipc/doc/src/sharedmemory.qdoc
+++ b/examples/corelib/ipc/doc/src/sharedmemory.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example ipc/sharedmemory
diff --git a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt
index e989a8e87f..c6b5d53e37 100644
--- a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt
+++ b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt
@@ -1,33 +1,26 @@
-# Generated from localfortuneclient.pro.
-
cmake_minimum_required(VERSION 3.16)
project(localfortuneclient LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneclient")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Network)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Network Widgets)
qt_add_executable(localfortuneclient
client.cpp client.h
main.cpp
)
+
set_target_properties(localfortuneclient PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE TRUE
)
+
target_link_libraries(localfortuneclient PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/corelib/ipc/localfortuneclient/client.cpp b/examples/corelib/ipc/localfortuneclient/client.cpp
index 1ab0c34d6c..31f8cf475b 100644
--- a/examples/corelib/ipc/localfortuneclient/client.cpp
+++ b/examples/corelib/ipc/localfortuneclient/client.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QtWidgets>
#include <QtNetwork>
diff --git a/examples/corelib/ipc/localfortuneclient/client.h b/examples/corelib/ipc/localfortuneclient/client.h
index 7248428440..c7275252fe 100644
--- a/examples/corelib/ipc/localfortuneclient/client.h
+++ b/examples/corelib/ipc/localfortuneclient/client.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef CLIENT_H
#define CLIENT_H
diff --git a/examples/corelib/ipc/localfortuneclient/main.cpp b/examples/corelib/ipc/localfortuneclient/main.cpp
index ed5cf4c569..3c2a7b284c 100644
--- a/examples/corelib/ipc/localfortuneclient/main.cpp
+++ b/examples/corelib/ipc/localfortuneclient/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QApplication>
diff --git a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt
index 85ec67238a..990dfddf3e 100644
--- a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt
+++ b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt
@@ -1,33 +1,26 @@
-# Generated from localfortuneserver.pro.
-
cmake_minimum_required(VERSION 3.16)
project(localfortuneserver LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/ipc/localfortuneserver")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Network)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Network Widgets)
qt_add_executable(localfortuneserver
main.cpp
server.cpp server.h
)
+
set_target_properties(localfortuneserver PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE TRUE
)
+
target_link_libraries(localfortuneserver PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/corelib/ipc/localfortuneserver/main.cpp b/examples/corelib/ipc/localfortuneserver/main.cpp
index 430005a1d3..291a6b3f22 100644
--- a/examples/corelib/ipc/localfortuneserver/main.cpp
+++ b/examples/corelib/ipc/localfortuneserver/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QApplication>
diff --git a/examples/corelib/ipc/localfortuneserver/server.cpp b/examples/corelib/ipc/localfortuneserver/server.cpp
index 9be5ed5051..bfdf425f5d 100644
--- a/examples/corelib/ipc/localfortuneserver/server.cpp
+++ b/examples/corelib/ipc/localfortuneserver/server.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "server.h"
diff --git a/examples/corelib/ipc/localfortuneserver/server.h b/examples/corelib/ipc/localfortuneserver/server.h
index 6b90ba5932..26e4792347 100644
--- a/examples/corelib/ipc/localfortuneserver/server.h
+++ b/examples/corelib/ipc/localfortuneserver/server.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef SERVER_H
#define SERVER_H
diff --git a/examples/corelib/ipc/sharedmemory/CMakeLists.txt b/examples/corelib/ipc/sharedmemory/CMakeLists.txt
index c98caf79f8..323c356b72 100644
--- a/examples/corelib/ipc/sharedmemory/CMakeLists.txt
+++ b/examples/corelib/ipc/sharedmemory/CMakeLists.txt
@@ -1,32 +1,27 @@
-# Generated from sharedmemory.pro.
-
cmake_minimum_required(VERSION 3.16)
project(sharedmemory LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/ipc/sharedmemory")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
qt_add_executable(sharedmemory
dialog.cpp dialog.h dialog.ui
main.cpp
)
+
set_target_properties(sharedmemory PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE TRUE
)
+
target_link_libraries(sharedmemory PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/corelib/ipc/sharedmemory/dialog.cpp b/examples/corelib/ipc/sharedmemory/dialog.cpp
index 4e999d1bcf..67e4f012a3 100644
--- a/examples/corelib/ipc/sharedmemory/dialog.cpp
+++ b/examples/corelib/ipc/sharedmemory/dialog.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "dialog.h"
#include <QFileDialog>
diff --git a/examples/corelib/ipc/sharedmemory/dialog.h b/examples/corelib/ipc/sharedmemory/dialog.h
index 693333256c..0f8abaa8b6 100644
--- a/examples/corelib/ipc/sharedmemory/dialog.h
+++ b/examples/corelib/ipc/sharedmemory/dialog.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef DIALOG_H
#define DIALOG_H
diff --git a/examples/corelib/ipc/sharedmemory/main.cpp b/examples/corelib/ipc/sharedmemory/main.cpp
index 080f92c001..bf5bd457ae 100644
--- a/examples/corelib/ipc/sharedmemory/main.cpp
+++ b/examples/corelib/ipc/sharedmemory/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QApplication>
#include "dialog.h"
diff --git a/examples/corelib/mimetypes/CMakeLists.txt b/examples/corelib/mimetypes/CMakeLists.txt
index 3124006aaa..79561aa0be 100644
--- a/examples/corelib/mimetypes/CMakeLists.txt
+++ b/examples/corelib/mimetypes/CMakeLists.txt
@@ -1,5 +1,3 @@
-# Generated from mimetypes.pro.
-
if(TARGET Qt::Widgets)
qt_internal_add_example(mimetypebrowser)
endif()
diff --git a/examples/corelib/mimetypes/doc/src/mimetypebrowser.qdoc b/examples/corelib/mimetypes/doc/src/mimetypebrowser.qdoc
index 7b204db51a..17c8d765a8 100644
--- a/examples/corelib/mimetypes/doc/src/mimetypebrowser.qdoc
+++ b/examples/corelib/mimetypes/doc/src/mimetypebrowser.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example mimetypes/mimetypebrowser
diff --git a/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt b/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt
index 313676fa8e..38abfba4b2 100644
--- a/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt
+++ b/examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt
@@ -1,33 +1,27 @@
-# Generated from mimetypebrowser.pro.
-
cmake_minimum_required(VERSION 3.16)
project(mimetypebrowser LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/mimetypes/mimetypebrowser")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
qt_add_executable(mimetypebrowser
main.cpp
mainwindow.cpp mainwindow.h
mimetypemodel.cpp mimetypemodel.h
)
+
set_target_properties(mimetypebrowser PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE FALSE
)
+
target_link_libraries(mimetypebrowser PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/corelib/mimetypes/mimetypebrowser/main.cpp b/examples/corelib/mimetypes/mimetypebrowser/main.cpp
index 679d97dc7b..9aaad7b836 100644
--- a/examples/corelib/mimetypes/mimetypebrowser/main.cpp
+++ b/examples/corelib/mimetypes/mimetypebrowser/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2017 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "mainwindow.h"
diff --git a/examples/corelib/mimetypes/mimetypebrowser/mainwindow.cpp b/examples/corelib/mimetypes/mimetypebrowser/mainwindow.cpp
index 7315523f98..07cb3872d4 100644
--- a/examples/corelib/mimetypes/mimetypebrowser/mainwindow.cpp
+++ b/examples/corelib/mimetypes/mimetypebrowser/mainwindow.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2017 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "mainwindow.h"
#include "mimetypemodel.h"
diff --git a/examples/corelib/mimetypes/mimetypebrowser/mainwindow.h b/examples/corelib/mimetypes/mimetypebrowser/mainwindow.h
index 978cdec4f4..4554d0873d 100644
--- a/examples/corelib/mimetypes/mimetypebrowser/mainwindow.h
+++ b/examples/corelib/mimetypes/mimetypebrowser/mainwindow.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2017 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
diff --git a/examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.cpp b/examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.cpp
index 64732ba980..3598bb542e 100644
--- a/examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.cpp
+++ b/examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2017 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "mimetypemodel.h"
diff --git a/examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.h b/examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.h
index 6c537f4001..b1c84a7797 100644
--- a/examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.h
+++ b/examples/corelib/mimetypes/mimetypebrowser/mimetypemodel.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2017 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef MIMETYPEMODEL_H
#define MIMETYPEMODEL_H
diff --git a/examples/corelib/platform/androidnotifier/CMakeLists.txt b/examples/corelib/platform/androidnotifier/CMakeLists.txt
index fa5a7ce023..0caa208a95 100644
--- a/examples/corelib/platform/androidnotifier/CMakeLists.txt
+++ b/examples/corelib/platform/androidnotifier/CMakeLists.txt
@@ -1,55 +1,50 @@
cmake_minimum_required(VERSION 3.16)
project(androidnotifier LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
+if(NOT ANDROID)
+ message(FATAL_ERROR "Example only works on Android")
+endif()
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
-find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets REQUIRED)
-find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED)
+find_package(Qt6 REQUIRED COMPONENTS Widgets)
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/platform/androidnotifier")
-set(PROJECT_SOURCES
- main.cpp
- notificationclient.cpp
- notificationclient.h
+qt_add_executable(androidnotifier
+ MANUAL_FINALIZATION
+ main.cpp
+ notificationclient.cpp
+ notificationclient.h
)
-if(ANDROID)
- qt_add_executable(androidnotifier
- MANUAL_FINALIZATION
- ${PROJECT_SOURCES})
- target_link_libraries(androidnotifier PRIVATE Qt${QT_VERSION_MAJOR}::Widgets)
-
- set_property(TARGET androidnotifier APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
- ${CMAKE_CURRENT_SOURCE_DIR}/android)
-
- if(QT_VERSION_MAJOR EQUAL 6)
- qt_finalize_executable(androidnotifier)
- endif()
-
- set(qml_resource_files
- "images/happy.png"
- "images/sad.png"
- )
-
- qt6_add_resources(androidnotifier "main"
- PREFIX
- "/"
- FILES
- ${qml_resource_files}
- )
-
- install(TARGETS androidnotifier
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
- )
-endif()
+target_link_libraries(androidnotifier PRIVATE
+ Qt6::Widgets
+)
+
+set_property(TARGET androidnotifier APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
+ ${CMAKE_CURRENT_SOURCE_DIR}/android)
+
+qt_finalize_executable(androidnotifier)
+
+set(qml_resource_files
+ "images/happy.png"
+ "images/sad.png"
+)
+
+qt_add_resources(androidnotifier "main"
+ PREFIX
+ "/"
+ FILES
+ ${qml_resource_files}
+)
+
+install(TARGETS androidnotifier
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/corelib/platform/androidnotifier/android/src/org/qtproject/example/androidnotifier/NotificationClient.java b/examples/corelib/platform/androidnotifier/android/src/org/qtproject/example/androidnotifier/NotificationClient.java
index c43513b17a..4cd6c959f6 100644
--- a/examples/corelib/platform/androidnotifier/android/src/org/qtproject/example/androidnotifier/NotificationClient.java
+++ b/examples/corelib/platform/androidnotifier/android/src/org/qtproject/example/androidnotifier/NotificationClient.java
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
package org.qtproject.example.androidnotifier;
diff --git a/examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc b/examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc
index b1e4243d56..8d2a9a47e4 100644
--- a/examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc
+++ b/examples/corelib/platform/androidnotifier/doc/src/androidnotifier-example.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\title Qt Android Notifier
diff --git a/examples/corelib/platform/androidnotifier/main.cpp b/examples/corelib/platform/androidnotifier/main.cpp
index 8b2e937351..33e77c7018 100644
--- a/examples/corelib/platform/androidnotifier/main.cpp
+++ b/examples/corelib/platform/androidnotifier/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "notificationclient.h"
diff --git a/examples/corelib/platform/androidnotifier/notificationclient.cpp b/examples/corelib/platform/androidnotifier/notificationclient.cpp
index b2093234b9..af1cb7322a 100644
--- a/examples/corelib/platform/androidnotifier/notificationclient.cpp
+++ b/examples/corelib/platform/androidnotifier/notificationclient.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "notificationclient.h"
diff --git a/examples/corelib/platform/androidnotifier/notificationclient.h b/examples/corelib/platform/androidnotifier/notificationclient.h
index f821dbfc8d..4ed7bfff50 100644
--- a/examples/corelib/platform/androidnotifier/notificationclient.h
+++ b/examples/corelib/platform/androidnotifier/notificationclient.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef NOTIFICATIONCLIENT_H
#define NOTIFICATIONCLIENT_H
diff --git a/examples/corelib/serialization/CMakeLists.txt b/examples/corelib/serialization/CMakeLists.txt
index 486f5d0c14..7f3701ad99 100644
--- a/examples/corelib/serialization/CMakeLists.txt
+++ b/examples/corelib/serialization/CMakeLists.txt
@@ -1,5 +1,3 @@
-# Generated from serialization.pro.
-
qt_internal_add_example(cbordump)
qt_internal_add_example(convert)
qt_internal_add_example(savegame)
diff --git a/examples/corelib/serialization/cbordump/CMakeLists.txt b/examples/corelib/serialization/cbordump/CMakeLists.txt
index 106df4b24d..b64ec2524c 100644
--- a/examples/corelib/serialization/cbordump/CMakeLists.txt
+++ b/examples/corelib/serialization/cbordump/CMakeLists.txt
@@ -1,29 +1,20 @@
-# Generated from cbordump.pro.
-
cmake_minimum_required(VERSION 3.16)
project(cbordump LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump")
-find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 REQUIRED COMPONENTS Core)
qt_add_executable(cbordump
main.cpp
)
-set_target_properties(cbordump PROPERTIES
- WIN32_EXECUTABLE FALSE
- MACOSX_BUNDLE FALSE
-)
+
target_link_libraries(cbordump PUBLIC
Qt::Core
)
diff --git a/examples/corelib/serialization/cbordump/main.cpp b/examples/corelib/serialization/cbordump/main.cpp
index 928bc024c5..126a5c5833 100644
--- a/examples/corelib/serialization/cbordump/main.cpp
+++ b/examples/corelib/serialization/cbordump/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QCborStreamReader>
#include <QCommandLineParser>
diff --git a/examples/corelib/serialization/convert/CMakeLists.txt b/examples/corelib/serialization/convert/CMakeLists.txt
index 14de45381a..b8476253e6 100644
--- a/examples/corelib/serialization/convert/CMakeLists.txt
+++ b/examples/corelib/serialization/convert/CMakeLists.txt
@@ -1,21 +1,15 @@
-# Generated from convert.pro.
-
cmake_minimum_required(VERSION 3.16)
project(convert LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/serialization/convert")
-find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 REQUIRED COMPONENTS Core)
qt_add_executable(convert
cborconverter.cpp cborconverter.h
@@ -27,10 +21,7 @@ qt_add_executable(convert
textconverter.cpp textconverter.h
xmlconverter.cpp xmlconverter.h
)
-set_target_properties(convert PROPERTIES
- WIN32_EXECUTABLE FALSE
- MACOSX_BUNDLE FALSE
-)
+
target_link_libraries(convert PUBLIC
Qt::Core
)
diff --git a/examples/corelib/serialization/convert/cborconverter.cpp b/examples/corelib/serialization/convert/cborconverter.cpp
index 4fc8408983..0f49de2551 100644
--- a/examples/corelib/serialization/convert/cborconverter.cpp
+++ b/examples/corelib/serialization/convert/cborconverter.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "cborconverter.h"
diff --git a/examples/corelib/serialization/convert/cborconverter.h b/examples/corelib/serialization/convert/cborconverter.h
index f0a89cb141..d19c9eb33e 100644
--- a/examples/corelib/serialization/convert/cborconverter.h
+++ b/examples/corelib/serialization/convert/cborconverter.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef CBORCONVERTER_H
#define CBORCONVERTER_H
diff --git a/examples/corelib/serialization/convert/converter.h b/examples/corelib/serialization/convert/converter.h
index 56b501a076..4da4d47267 100644
--- a/examples/corelib/serialization/convert/converter.h
+++ b/examples/corelib/serialization/convert/converter.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef CONVERTER_H
#define CONVERTER_H
@@ -54,6 +7,7 @@
#include <QIODevice>
#include <QPair>
#include <QVariant>
+#include <QVariantMap>
#include <QList>
class VariantOrderedMap : public QList<QPair<QVariant, QVariant>>
diff --git a/examples/corelib/serialization/convert/datastreamconverter.cpp b/examples/corelib/serialization/convert/datastreamconverter.cpp
index c459696b26..9322d97fef 100644
--- a/examples/corelib/serialization/convert/datastreamconverter.cpp
+++ b/examples/corelib/serialization/convert/datastreamconverter.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "datastreamconverter.h"
diff --git a/examples/corelib/serialization/convert/datastreamconverter.h b/examples/corelib/serialization/convert/datastreamconverter.h
index 1b74abc54f..95c8861e0e 100644
--- a/examples/corelib/serialization/convert/datastreamconverter.h
+++ b/examples/corelib/serialization/convert/datastreamconverter.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef DATASTREAMCONVERTER_H
#define DATASTREAMCONVERTER_H
diff --git a/examples/corelib/serialization/convert/jsonconverter.cpp b/examples/corelib/serialization/convert/jsonconverter.cpp
index ec24af703d..26f48661a9 100644
--- a/examples/corelib/serialization/convert/jsonconverter.cpp
+++ b/examples/corelib/serialization/convert/jsonconverter.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "jsonconverter.h"
diff --git a/examples/corelib/serialization/convert/jsonconverter.h b/examples/corelib/serialization/convert/jsonconverter.h
index 445a0e6695..40430a6b70 100644
--- a/examples/corelib/serialization/convert/jsonconverter.h
+++ b/examples/corelib/serialization/convert/jsonconverter.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef JSONCONVERTER_H
#define JSONCONVERTER_H
diff --git a/examples/corelib/serialization/convert/main.cpp b/examples/corelib/serialization/convert/main.cpp
index 161fec6bcd..c234a28f1b 100644
--- a/examples/corelib/serialization/convert/main.cpp
+++ b/examples/corelib/serialization/convert/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "converter.h"
diff --git a/examples/corelib/serialization/convert/nullconverter.cpp b/examples/corelib/serialization/convert/nullconverter.cpp
index 2de492e64e..a3f0bcd99b 100644
--- a/examples/corelib/serialization/convert/nullconverter.cpp
+++ b/examples/corelib/serialization/convert/nullconverter.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "nullconverter.h"
diff --git a/examples/corelib/serialization/convert/nullconverter.h b/examples/corelib/serialization/convert/nullconverter.h
index af7339f092..b2c69593f5 100644
--- a/examples/corelib/serialization/convert/nullconverter.h
+++ b/examples/corelib/serialization/convert/nullconverter.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef NULLCONVERTER_H
#define NULLCONVERTER_H
diff --git a/examples/corelib/serialization/convert/textconverter.cpp b/examples/corelib/serialization/convert/textconverter.cpp
index ae03b9a334..b02ce12f66 100644
--- a/examples/corelib/serialization/convert/textconverter.cpp
+++ b/examples/corelib/serialization/convert/textconverter.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "textconverter.h"
diff --git a/examples/corelib/serialization/convert/textconverter.h b/examples/corelib/serialization/convert/textconverter.h
index 66f5136c02..6379ffc82f 100644
--- a/examples/corelib/serialization/convert/textconverter.h
+++ b/examples/corelib/serialization/convert/textconverter.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef TEXTCONVERTER_H
#define TEXTCONVERTER_H
diff --git a/examples/corelib/serialization/convert/xmlconverter.cpp b/examples/corelib/serialization/convert/xmlconverter.cpp
index c2811c5745..d4a11257c6 100644
--- a/examples/corelib/serialization/convert/xmlconverter.cpp
+++ b/examples/corelib/serialization/convert/xmlconverter.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "xmlconverter.h"
diff --git a/examples/corelib/serialization/convert/xmlconverter.h b/examples/corelib/serialization/convert/xmlconverter.h
index 8fc0fea592..19bde6c7c6 100644
--- a/examples/corelib/serialization/convert/xmlconverter.h
+++ b/examples/corelib/serialization/convert/xmlconverter.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 Intel Corporation.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2018 Intel Corporation.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef XMLCONVERTER_H
#define XMLCONVERTER_H
diff --git a/examples/corelib/serialization/savegame/CMakeLists.txt b/examples/corelib/serialization/savegame/CMakeLists.txt
index 18eda05e5d..f757d1359b 100644
--- a/examples/corelib/serialization/savegame/CMakeLists.txt
+++ b/examples/corelib/serialization/savegame/CMakeLists.txt
@@ -1,21 +1,15 @@
-# Generated from savegame.pro.
-
cmake_minimum_required(VERSION 3.16)
project(savegame LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/serialization/savegame")
-find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 REQUIRED COMPONENTS Core)
qt_add_executable(savegame
character.cpp character.h
@@ -23,10 +17,7 @@ qt_add_executable(savegame
level.cpp level.h
main.cpp
)
-set_target_properties(savegame PROPERTIES
- WIN32_EXECUTABLE FALSE
- MACOSX_BUNDLE FALSE
-)
+
target_link_libraries(savegame PUBLIC
Qt::Core
)
diff --git a/examples/corelib/serialization/savegame/character.cpp b/examples/corelib/serialization/savegame/character.cpp
index 046cde3091..43be084d3e 100644
--- a/examples/corelib/serialization/savegame/character.cpp
+++ b/examples/corelib/serialization/savegame/character.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "character.h"
diff --git a/examples/corelib/serialization/savegame/character.h b/examples/corelib/serialization/savegame/character.h
index cbf06d7fd6..dfb3837331 100644
--- a/examples/corelib/serialization/savegame/character.h
+++ b/examples/corelib/serialization/savegame/character.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef CHARACTER_H
#define CHARACTER_H
diff --git a/examples/corelib/serialization/savegame/doc/src/savegame.qdoc b/examples/corelib/serialization/savegame/doc/src/savegame.qdoc
index 72dd393cb0..0246ae48bb 100644
--- a/examples/corelib/serialization/savegame/doc/src/savegame.qdoc
+++ b/examples/corelib/serialization/savegame/doc/src/savegame.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example serialization/savegame
diff --git a/examples/corelib/serialization/savegame/game.cpp b/examples/corelib/serialization/savegame/game.cpp
index bb7c2013f2..111fbfc6ea 100644
--- a/examples/corelib/serialization/savegame/game.cpp
+++ b/examples/corelib/serialization/savegame/game.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "game.h"
diff --git a/examples/corelib/serialization/savegame/game.h b/examples/corelib/serialization/savegame/game.h
index dfcb27eb1c..266e764a80 100644
--- a/examples/corelib/serialization/savegame/game.h
+++ b/examples/corelib/serialization/savegame/game.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef GAME_H
#define GAME_H
diff --git a/examples/corelib/serialization/savegame/level.cpp b/examples/corelib/serialization/savegame/level.cpp
index ea6ef147b9..04edadf7f6 100644
--- a/examples/corelib/serialization/savegame/level.cpp
+++ b/examples/corelib/serialization/savegame/level.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "level.h"
diff --git a/examples/corelib/serialization/savegame/level.h b/examples/corelib/serialization/savegame/level.h
index ecffde8f22..4c0a8aed89 100644
--- a/examples/corelib/serialization/savegame/level.h
+++ b/examples/corelib/serialization/savegame/level.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef LEVEL_H
#define LEVEL_H
diff --git a/examples/corelib/serialization/savegame/main.cpp b/examples/corelib/serialization/savegame/main.cpp
index d091684211..c9e713c126 100644
--- a/examples/corelib/serialization/savegame/main.cpp
+++ b/examples/corelib/serialization/savegame/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QCoreApplication>
#include <QTextStream>
diff --git a/examples/corelib/threads/CMakeLists.txt b/examples/corelib/threads/CMakeLists.txt
index 848880d076..fab084385f 100644
--- a/examples/corelib/threads/CMakeLists.txt
+++ b/examples/corelib/threads/CMakeLists.txt
@@ -1,5 +1,3 @@
-# Generated from threads.pro.
-
qt_internal_add_example(semaphores)
qt_internal_add_example(waitconditions)
if(TARGET Qt::Widgets)
diff --git a/examples/corelib/threads/doc/src/mandelbrot.qdoc b/examples/corelib/threads/doc/src/mandelbrot.qdoc
index 2b12743538..e0f703bf3c 100644
--- a/examples/corelib/threads/doc/src/mandelbrot.qdoc
+++ b/examples/corelib/threads/doc/src/mandelbrot.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example threads/mandelbrot
diff --git a/examples/corelib/threads/doc/src/queuedcustomtype.qdoc b/examples/corelib/threads/doc/src/queuedcustomtype.qdoc
index 86d5992294..df904cc438 100644
--- a/examples/corelib/threads/doc/src/queuedcustomtype.qdoc
+++ b/examples/corelib/threads/doc/src/queuedcustomtype.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example threads/queuedcustomtype
diff --git a/examples/corelib/threads/doc/src/semaphores.qdoc b/examples/corelib/threads/doc/src/semaphores.qdoc
index 5293e80c0e..c1d8600c17 100644
--- a/examples/corelib/threads/doc/src/semaphores.qdoc
+++ b/examples/corelib/threads/doc/src/semaphores.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example threads/semaphores
diff --git a/examples/corelib/threads/doc/src/waitconditions.qdoc b/examples/corelib/threads/doc/src/waitconditions.qdoc
index cfac460345..90f911aab3 100644
--- a/examples/corelib/threads/doc/src/waitconditions.qdoc
+++ b/examples/corelib/threads/doc/src/waitconditions.qdoc
@@ -1,29 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example threads/waitconditions
diff --git a/examples/corelib/threads/mandelbrot/CMakeLists.txt b/examples/corelib/threads/mandelbrot/CMakeLists.txt
index cb026b9bb0..7fd70ebbd6 100644
--- a/examples/corelib/threads/mandelbrot/CMakeLists.txt
+++ b/examples/corelib/threads/mandelbrot/CMakeLists.txt
@@ -1,45 +1,33 @@
-# Generated from mandelbrot.pro.
-
cmake_minimum_required(VERSION 3.16)
project(mandelbrot LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/threads/mandelbrot")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
qt_add_executable(mandelbrot
main.cpp
mandelbrotwidget.cpp mandelbrotwidget.h
renderthread.cpp renderthread.h
)
+
set_target_properties(mandelbrot PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE TRUE
)
+
target_link_libraries(mandelbrot PUBLIC
Qt::Core
Qt::Gui
Qt::Widgets
)
-if(UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS)
- target_link_libraries(mandelbrot PUBLIC
- m
- )
-endif()
-
install(TARGETS mandelbrot
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
diff --git a/examples/corelib/threads/mandelbrot/main.cpp b/examples/corelib/threads/mandelbrot/main.cpp
index 19ea8cf417..d73adb0193 100644
--- a/examples/corelib/threads/mandelbrot/main.cpp
+++ b/examples/corelib/threads/mandelbrot/main.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "mandelbrotwidget.h"
diff --git a/examples/corelib/threads/mandelbrot/mandelbrot.pro b/examples/corelib/threads/mandelbrot/mandelbrot.pro
index 92010fdc1f..7edf01ff30 100644
--- a/examples/corelib/threads/mandelbrot/mandelbrot.pro
+++ b/examples/corelib/threads/mandelbrot/mandelbrot.pro
@@ -6,8 +6,6 @@ SOURCES = main.cpp \
mandelbrotwidget.cpp \
renderthread.cpp
-unix:!mac:!vxworks:!integrity:!haiku:LIBS += -lm
-
# install
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/mandelbrot
INSTALLS += target
diff --git a/examples/corelib/threads/mandelbrot/mandelbrotwidget.cpp b/examples/corelib/threads/mandelbrot/mandelbrotwidget.cpp
index a1431db0d3..9ab8936c85 100644
--- a/examples/corelib/threads/mandelbrot/mandelbrotwidget.cpp
+++ b/examples/corelib/threads/mandelbrot/mandelbrotwidget.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "mandelbrotwidget.h"
diff --git a/examples/corelib/threads/mandelbrot/mandelbrotwidget.h b/examples/corelib/threads/mandelbrot/mandelbrotwidget.h
index 956ffc10a8..68c4a6f4f7 100644
--- a/examples/corelib/threads/mandelbrot/mandelbrotwidget.h
+++ b/examples/corelib/threads/mandelbrot/mandelbrotwidget.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef MANDELBROTWIDGET_H
#define MANDELBROTWIDGET_H
diff --git a/examples/corelib/threads/mandelbrot/renderthread.cpp b/examples/corelib/threads/mandelbrot/renderthread.cpp
index 1f2af3b999..9e6c884f91 100644
--- a/examples/corelib/threads/mandelbrot/renderthread.cpp
+++ b/examples/corelib/threads/mandelbrot/renderthread.cpp
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "renderthread.h"
diff --git a/examples/corelib/threads/mandelbrot/renderthread.h b/examples/corelib/threads/mandelbrot/renderthread.h
index 7bbd9ae056..6e509eee94 100644
--- a/examples/corelib/threads/mandelbrot/renderthread.h
+++ b/examples/corelib/threads/mandelbrot/renderthread.h
@@ -1,52 +1,5 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** BSD License Usage
-** Alternatively, you may use this file under the terms of the BSD license
-** as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of The Qt Company Ltd nor the names of its
-** contributors may be used to endorse or promote products derived
-** from this software without specific prior written permission.
-**
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef RENDERTHREAD_H
#define RENDERTHREAD_H
diff --git a/examples/corelib/threads/queuedcustomtype/CMakeLists.txt b/examples/corelib/threads/queuedcustomtype/CMakeLists.txt
index 921aa1faa4..2086b83492 100644
--- a/examples/corelib/threads/queuedcustomtype/CMakeLists.txt
+++ b/examples/corelib/threads/queuedcustomtype/CMakeLists.txt
@@ -1,23 +1,15 @@
-# Generated from queuedcustomtype.pro.
-
cmake_minimum_required(VERSION 3.16)
project(queuedcustomtype LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/corelib/threads/queuedcustomtype")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
qt_add_executable(queuedcustomtype
block.cpp block.h
@@ -25,10 +17,12 @@ qt_add_executable(queuedcustomtype
renderthread.cpp renderthread.h
window.cpp window.h
)
+
set_target_properties(queuedcustomtype PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE TRUE
)
+
target_link_libraries(queuedcustomtype PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/corelib/threads/queuedcustomtype/block.cpp b/examples/corelib/threads/queuedcustomtype/block.cpp
index 9cfad8673c..3fcc5383b7 100644
--- a/