summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-qt.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-01 18:10:05 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-01 18:10:05 (GMT)
commit713424ad207aa0f5e01f8c16b2ee1c442a91893a (patch)
tree0a65d1bd1042af0dda6285b42066ab38f3061de5 /Help/manual/cmake-qt.7.rst
parentc88a078d690f72caea53b0723e8393b83f1b0b6f (diff)
parentff11989cc3f11ebaf0584ac4fba44c67222ffbcc (diff)
downloadCMake-713424ad207aa0f5e01f8c16b2ee1c442a91893a.zip
CMake-713424ad207aa0f5e01f8c16b2ee1c442a91893a.tar.gz
CMake-713424ad207aa0f5e01f8c16b2ee1c442a91893a.tar.bz2
Merge topic 'find-qt5-docs'
ff11989c Help: Update example Qt 5 find_package call to use COMPONENTS
Diffstat (limited to 'Help/manual/cmake-qt.7.rst')
-rw-r--r--Help/manual/cmake-qt.7.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/manual/cmake-qt.7.rst b/Help/manual/cmake-qt.7.rst
index e8a2c1e..bd0a984 100644
--- a/Help/manual/cmake-qt.7.rst
+++ b/Help/manual/cmake-qt.7.rst
@@ -29,7 +29,7 @@ Qt 4 and Qt 5 may be used together in the same
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
- find_package(Qt5Widgets REQUIRED)
+ find_package(Qt5 COMPONENTS Widgets REQUIRED)
add_executable(publisher publisher.cpp)
target_link_libraries(publisher Qt5::Widgets Qt5::DBus)