Skip to content

Commit

Permalink
Raise cmake_minimum_required to VERSION 3.16 in examples
Browse files Browse the repository at this point in the history
Pick-to: 6.2
Task-number: QTBUG-95636
Change-Id: I1270b4846d8a23bc3563b6942c0910e095d2be4a
Reviewed-by: Alexandru Croitor <[email protected]>
  • Loading branch information
jobor committed Aug 17, 2021
1 parent 153fd84 commit ff00ef6
Show file tree
Hide file tree
Showing 239 changed files with 241 additions and 241 deletions.
2 changes: 1 addition & 1 deletion examples/corelib/ipc/localfortuneclient/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from localfortuneclient.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(localfortuneclient LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/ipc/localfortuneserver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from localfortuneserver.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(localfortuneserver LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/ipc/sharedmemory/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from sharedmemory.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(sharedmemory LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/mimetypes/mimetypebrowser/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from mimetypebrowser.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(mimetypebrowser LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/platform/androidnotifier/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(androidnotifier LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/serialization/cbordump/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from cbordump.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(cbordump LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/serialization/convert/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from convert.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(convert LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/serialization/savegame/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from savegame.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(savegame LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/threads/mandelbrot/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from mandelbrot.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(mandelbrot LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/threads/queuedcustomtype/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from queuedcustomtype.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(queuedcustomtype LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/threads/semaphores/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from semaphores.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(semaphores LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/threads/waitconditions/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from waitconditions.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(waitconditions LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/tools/contiguouscache/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from contiguouscache.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(contiguouscache LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/tools/customtype/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from customtype.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(customtype LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/corelib/tools/customtypesending/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from customtypesending.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(customtypesending LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/dbus/chat/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from chat.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(chat LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
4 changes: 2 additions & 2 deletions examples/dbus/complexpingpong/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from complexpingpong.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(complexping LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down Expand Up @@ -35,7 +35,7 @@ install(TARGETS complexping
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(complexpong LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/dbus/listnames/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from listnames.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(listnames LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
4 changes: 2 additions & 2 deletions examples/dbus/pingpong/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from pingpong.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(ping LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down Expand Up @@ -35,7 +35,7 @@ install(TARGETS ping
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(pong LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/dbus/remotecontrolledcar/car/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from car.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(car LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from controller.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(controller LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/embedded/digiflip/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from digiflip.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(digiflip LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/embedded/flickable/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from flickable.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(flickable LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/embedded/flightinfo/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from flightinfo.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(flightinfo LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/embedded/lightmaps/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from lightmaps.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(lightmaps LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/embedded/raycasting/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from raycasting.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(raycasting LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/embedded/styleexample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from styleexample.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(styleexample LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/gui/analogclock/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from analogclock.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(analogclock LANGUAGES CXX)


Expand Down
2 changes: 1 addition & 1 deletion examples/gui/rasterwindow/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from rasterwindow.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(rasterwindow LANGUAGES CXX)

find_package(Qt6 COMPONENTS Widgets) # special case: add
Expand Down
2 changes: 1 addition & 1 deletion examples/network/blockingfortuneclient/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from blockingfortuneclient.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(blockingfortuneclient LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/broadcastreceiver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from broadcastreceiver.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(broadcastreceiver LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/broadcastsender/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from broadcastsender.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(broadcastsender LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/dnslookup/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from dnslookup.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(dnslookup LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/download/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from download.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(download LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/downloadmanager/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from downloadmanager.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(downloadmanager LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/fortuneclient/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from fortuneclient.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(fortuneclient LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/fortuneserver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from fortuneserver.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(fortuneserver LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/googlesuggest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from googlesuggest.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(googlesuggest LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/http/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from http.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(http LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/loopback/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from loopback.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(loopback LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/multicastreceiver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from multicastreceiver.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(multicastreceiver LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/multicastsender/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from multicastsender.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(multicastsender LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/multistreamclient/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from multistreamclient.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(multistreamclient LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/multistreamserver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from multistreamserver.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(multistreamserver LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/network-chat/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from network-chat.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(network-chat LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/securesocketclient/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from securesocketclient.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(securesocketclient LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/secureudpclient/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from secureudpclient.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(secureudpclient LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/network/secureudpserver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated from secureudpserver.pro.

cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.16)
project(secureudpserver LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down
Loading

0 comments on commit ff00ef6

Please sign in to comment.