Summary: | dev-games/openscenegraph-3.2.1 - CMake Warning at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:273 (find_package): Could not find a package configuration file provided by "Qt5OpenGL" [..] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Silvio <silvio.gerli> |
Component: | [OLD] Library | Assignee: | Maciej Mrozowski <reavertm> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | games, joost.ruis, silvio.gerli |
Priority: | Normal | ||
Version: | 10.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
It doesn't have any dev-qt/*:5 dependencies right now. It has USE=qt4 with appropriate dependencies, but doesn't list or mention Qt5 anywhere. (In reply to Jeroen Roovers from comment #1) > It doesn't have any dev-qt/*:5 dependencies right now. It has USE=qt4 with > appropriate dependencies, but doesn't list or mention Qt5 anywhere. Well, but if you emerge qtopengl-5 it compiles well (In reply to Silvio from comment #2) > (In reply to Jeroen Roovers from comment #1) > > It doesn't have any dev-qt/*:5 dependencies right now. It has USE=qt4 with > > appropriate dependencies, but doesn't list or mention Qt5 anywhere. > > Well, but if you emerge qtopengl-5 it compiles well Problem is still here. I've to emerge qtopengl-5 manually (with -1 option) everytime I install a machine. I think it would be important to add the dependency in the ebuild as soon as possible This was fixed in bug 550206. *** This bug has been marked as a duplicate of bug 550206 *** |
In the ebuild you have to add the dependencies to: >=dev-qt/qtopengl-5 if there isn't qtopengl-5.x it fails to compile exiting with: CMake Warning at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:273 (find_package): Could not find a package configuration file provided by "Qt5OpenGL" with any of the following names: Qt5OpenGLConfig.cmake qt5opengl-config.cmake Add the installation prefix of "Qt5OpenGL" to CMAKE_PREFIX_PATH or set "Qt5OpenGL_DIR" to a directory containing one of the above files. If "Qt5OpenGL" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): src/osgQt/CMakeLists.txt:77 (qt5_use_modules) CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:275 (message): Can not use "OpenGL" module which has not yet been found. Call Stack (most recent call first): src/osgQt/CMakeLists.txt:77 (qt5_use_modules) Reproducible: Always