Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.0
Description
Currently we have some PkgConfig::XYZ CMake targets which will always require pkg-config.
I found the following:
cmake/FindWrapSystemHarfbuzz.cmake cmake/FindWrapBrotli.cmake cmake/FindGTK3.cmake cmake/FindXRender.cmake cmake/FindXKB_COMMON_X11.cmake cmake/FindLibsystemd.cmake cmake/FindLibproxy.cmake cmake/FindDirectFB.cmake cmake/FindLibudev.cmake cmake/FindATSPI2.cmake cmake/FindLibb2.cmake cmake/FindMtdev.cmake cmake/FindTslib.cmake
The following find CMake modules have both pkg-config and CMake find_path and find_library calls in one module:
cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake cmake/3rdparty/kwin/FindLibdrm.cmake cmake/3rdparty/kwin/FindLibinput.cmake cmake/3rdparty/kwin/Findgbm.cmake cmake/3rdparty/extra-cmake-modules/find-modules/FindX11_XCB.cmake cmake/3rdparty/extra-cmake-modules/find-modules/FindGLIB2.cmake cmake/3rdparty/kwin/FindXKB.cmake cmake/FindWrapSystemHarfbuzz.cmake cmake/FindWrapSystemPCRE2.cmake cmake/FindZSTD.cmake cmake/FindMySQL.cmake cmake/FindGSSAPI.cmake
The FindXYZ CMake modules should have both capabilities to be able to work in scenarions when pkgconf package is not installed.
Attachments
Issue Links
- relates to
-
QTBUG-88661 How to build MySQL plugin in Qt 6
- Closed
-
QTBUG-108783 own build DBus lib is not recognised using PKG_CONFIG_PATH
- Reported