Commit 713424ad authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'find-qt5-docs'

ff11989c Help: Update example Qt 5 find_package call to use COMPONENTS
parents c88a078d ff11989c
Pipeline #33466 passed with stage
in 0 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment