Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911989 - gui-apps/organicmaps: build fails due to using Qt6 if installed
Summary: gui-apps/organicmaps: build fails due to using Qt6 if installed
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vitaly Zdanevich
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-09 23:17 UTC by Midgard
Modified: 2024-02-20 04:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Midgard 2023-08-09 23:17:01 UTC
The build fails:

-- Could NOT find Qt6OpenGL (missing: Qt6OpenGL_DIR)
CMake Error at CMakeLists.txt:247 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "OpenGL".

  Expected Config file at "/usr/lib64/cmake/Qt6OpenGL/Qt6OpenGLConfig.cmake"
  does NOT exist



The ebuild seems only adapted for Qt5, so it looks like a CMake flag has to be set to choose Qt5 even if Qt6 is installed.
Comment 1 Vitaly Zdanevich 2024-02-15 10:46:33 UTC
Fixed, please try now.
Comment 2 Midgard 2024-02-20 04:03:56 UTC
Works, thanks!