You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package and Environment Details (include every applicable attribute)
Package Name/Version: qt/5
I was trying to write a recipe for Kirigami (#5015) and in Kirigami's CMakeLists.txt one can read find_package(Qt5 ..., which is a valid way to look for Qt in the official docs for CMake usage. In the recipe I'm trying to make I used generators = "cmake", "cmake_find_package_multi" and then I got this error:
CMake Error at CMakeLists.txt:30 (find_package):
Could not find a package configuration file provided by "Qt5" (requested
version 5.14.0) with any of the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
(yes, I know conan doesn't have 5.14.0, but that's not the point)
See how it looks for qt5-config.cmake? Well, the files conan offers are qt-config.cmake, qt-config-version.cmake, and qtTargets.cmake.
So I guess this is something in need of fixing.
The text was updated successfully, but these errors were encountered:
Package and Environment Details (include every applicable attribute)
I was trying to write a recipe for Kirigami (#5015) and in Kirigami's CMakeLists.txt one can read
find_package(Qt5 ...
, which is a valid way to look for Qt in the official docs for CMake usage. In the recipe I'm trying to make I usedgenerators = "cmake", "cmake_find_package_multi"
and then I got this error:(yes, I know conan doesn't have 5.14.0, but that's not the point)
See how it looks for
qt5-config.cmake
? Well, the files conan offers areqt-config.cmake
,qt-config-version.cmake
, andqtTargets.cmake
.So I guess this is something in need of fixing.
The text was updated successfully, but these errors were encountered: