Bug 266894 - devel/qt6-5compat: find_package(Qt6Core5Compat REQUIRED) fails to find Qt6Core5Compat
Summary: devel/qt6-5compat: find_package(Qt6Core5Compat REQUIRED) fails to find Qt6Cor...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 18:48 UTC by Yuri Victorovich
Modified: 2022-10-09 20:36 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2022-10-07 18:48:59 UTC
This project: https://github.com/pedrolcl/drumstick/blob/master/CMakeLists.txt#L156
fails to configure:
> CMake Error at /usr/local/lib/cmake/Qt6Core5Compat/Qt6Core5CompatDependencies.cmake:30 (_qt_internal_find_third_party_dependencies):
>   Unknown CMake command "_qt_internal_find_third_party_dependencies".
> Call Stack (most recent call first):
>   /usr/local/lib/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake:40 (include)
>   CMakeLists.txt:156 (find_package)
> 
> 
> CMake Error at CMakeLists.txt:156 (find_package):
>   Found package configuration file:
> 
>     /usr/local/lib/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake
> 
>   but it set Qt6Core5Compat_FOUND to FALSE so package "Qt6Core5Compat" is
>   considered to be NOT FOUND.


qt6-5compat-6.4.0 is installed.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-10-09 07:53:06 UTC
Same problem with 'find_package(Qt6Quick REQUIRED)' that is provided by x11-toolkits/qt6-declarative.

This is a show-stopper for math/vtk9 update to 9.2.2
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2022-10-09 20:36:19 UTC
qt6-* package versions mismatch was a problem.