summaryrefslogtreecommitdiffstats
path: root/src/network/doc/snippets
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-06-17 14:13:38 +0200
committerKai Koehne <kai.koehne@qt.io>2020-06-19 14:28:47 +0200
commit09f674fd1641482957571612632cbebbe7b03d5a (patch)
tree4cf1d0326571c40d2747fc3aec1bf862d17d66a1 /src/network/doc/snippets
parentf25bd998a7250bdd6c0cb1ee542757f20092f0a7 (diff)
Fix CMake documentation snippet for QtNetwork
The addition of CMakeLists.txt in other directories made the reference ambiguous. Also fix the Qt version. Change-Id: I679d86a302ae6c41b84ded66e3f21c5320e4b325 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/network/doc/snippets')
-rw-r--r--src/network/doc/snippets/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/doc/snippets/CMakeLists.txt b/src/network/doc/snippets/CMakeLists.txt
index a8030dd260..0921774224 100644
--- a/src/network/doc/snippets/CMakeLists.txt
+++ b/src/network/doc/snippets/CMakeLists.txt
@@ -7,6 +7,6 @@ add_executable(mytarget
)
# ![0]
-find_package(Qt5 COMPONENTS Network REQUIRED)
-target_link_libraries(mytarget Qt5::Network)
+find_package(Qt6 COMPONENTS Network REQUIRED)
+target_link_libraries(mytarget Qt::Network)
# ![0]