Hi, I have this pending patch:
https://codereview.qt-project.org/#change,44532 Given find_package(Qt5 COMPONENTS Widgets OPTIONAL_COMPONENTS Svg Quick ) message("Qt5_FOUND: ${Qt5_FOUND}") message("Qt5Gui_FOUND: ${Qt5Gui_FOUND}") message("Qt5Widgets_FOUND: ${Qt5Widgets_FOUND}") message("Qt5Svg_FOUND: ${Qt5Svg_FOUND}") message("Qt5Quick_FOUND: ${Qt5Quick_FOUND}") the output is $ cmake .. CMake Warning at /home/stephen/dev/prefix/qtbase/lib/cmake/Qt5/Qt5Config.cmake:24 (find_package): Could not find a package configuration file provided by "Qt5Quick" with any of the following names: Qt5QuickConfig.cmake qt5quick-config.cmake Add the installation prefix of "Qt5Quick" to CMAKE_PREFIX_PATH or set "Qt5Quick_DIR" to a directory containing one of the above files. If "Qt5Quick" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:62 (find_package) Qt5_FOUND: 1 Qt5Gui_FOUND: 1 Qt5Widgets_FOUND: 1 Qt5Svg_FOUND: 1 Qt5Quick_FOUND: 0 -- Configuring done -- Generating done -- Build files have been written to: /home/stephen/dev/src/playground/cmake/build -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers