File tree Expand file tree Collapse file tree 11 files changed +11
-11
lines changed
corelib/doc/snippets/overview
gui/doc/snippets/overview
printsupport/doc/snippets Expand file tree Collapse file tree 11 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
#! [cmake_use]
2
2
find_package (Qt6 COMPONENTS Concurrent REQUIRED)
3
- target_link_libraries (mytarget Qt ::Concurrent)
3
+ target_link_libraries (mytarget Qt6 ::Concurrent)
4
4
#! [cmake_use]
Original file line number Diff line number Diff line change 1
1
find_package (Qt6 COMPONENTS Core REQUIRED)
2
- target_link_libraries (mytarget Qt ::Core)
2
+ target_link_libraries (mytarget Qt6 ::Core)
Original file line number Diff line number Diff line change 1
1
#! [cmake_use]
2
2
find_package (Qt6 COMPONENTS DBus REQUIRED)
3
- target_link_libraries (mytarget Qt ::DBus)
3
+ target_link_libraries (mytarget Qt6 ::DBus)
4
4
#! [cmake_use]
Original file line number Diff line number Diff line change 1
1
find_package (Qt6 COMPONENTS Gui REQUIRED)
2
- target_link_libraries (mytarget Qt ::Gui)
2
+ target_link_libraries (mytarget Qt6 ::Gui)
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ add_executable(mytarget
8
8
9
9
# ![0]
10
10
find_package (Qt6 COMPONENTS Network REQUIRED)
11
- target_link_libraries (mytarget Qt ::Network)
11
+ target_link_libraries (mytarget Qt6 ::Network)
12
12
# ![0]
Original file line number Diff line number Diff line change 1
1
#! [cmake_use]
2
2
find_package (Qt6 COMPONENTS OpenGL REQUIRED)
3
- target_link_libraries (mytarget Qt ::OpenGL)
3
+ target_link_libraries (mytarget Qt6 ::OpenGL)
4
4
#! [cmake_use]
Original file line number Diff line number Diff line change 1
1
#! [cmake_use]
2
2
find_package (Qt6 COMPONENTS PrintSupport REQUIRED)
3
- target_link_libraries (mytarget Qt ::PrintSupport)
3
+ target_link_libraries (mytarget Qt6 ::PrintSupport)
4
4
#! [cmake_use]
Original file line number Diff line number Diff line change 1
1
#! [cmake_use]
2
2
find_package (Qt6 COMPONENTS Sql REQUIRED)
3
- target_link_libraries (mytarget Qt ::Sql)
3
+ target_link_libraries (mytarget Qt6 ::Sql)
4
4
#! [cmake_use]
Original file line number Diff line number Diff line change 1
1
#! [cmake_use]
2
2
find_package (Qt6 COMPONENTS Test REQUIRED)
3
- target_link_libraries (mytarget Qt ::Test )
3
+ target_link_libraries (mytarget Qt6 ::Test )
4
4
#! [cmake_use]
Original file line number Diff line number Diff line change 1
1
#! [cmake_use]
2
2
find_package (Qt6 COMPONENTS Widgets REQUIRED)
3
- target_link_libraries (mytarget Qt ::Widgets)
3
+ target_link_libraries (mytarget Qt6 ::Widgets)
4
4
#! [cmake_use]
You can’t perform that action at this time.
0 commit comments