Opened 5 years ago
Last modified 6 months ago
#59741 assigned defect
telepathy-qt @0.9.8: Could not find a package configuration file provided by "Qt5"
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | telepathy-qt |
Description
CMake Error at CMakeLists.txt:81 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5", but CMake did not find one. Could not find a package configuration file provided by "Qt5" (requested version 5.6.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. -- Configuring incomplete, errors occurred!
telepathy-qt declares a dependency on qt4-mac, but apparently now requires qt5.
Change History (2)
comment:1 Changed 6 months ago by barracuda156
comment:2 Changed 6 months ago by barracuda156
Replying to ryandesign:
0.9.7 builds fine with Qt4. A simple fix would be to use 0.9.7 with Qt4 on < 10.7 (since 0.9.8 asks for Qt5 5.6+), and use 0.9.8 with Qt5 on the rest.
Note: See
TracTickets for help on using
tickets.
How did it even build on buildbots though?
0.9.8 also asks for C++11 and Python 3.x. So even if it might be fixable for Qt4, other settings in the portfile are obviously wrong.