Package: libqwt-qt6-dev Version: 6.3.0-3 Hi,
The /usr/lib/x86_64-linux-gnu/pkgconfig/Qt6Qwt6.pc file for the libqwt-qt6-dev package seems to be hardcoded to find components from Qt5, not Qt6. Configuring this CMake project in a Qt6-only Debian testing container yields the following error: === CMakeLists.txt === cmake_minimum_required(VERSION 3.16) project(qwt_test LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_AUTOMOC ON) find_package(Qt6 REQUIRED COMPONENTS Widgets) find_package(PkgConfig REQUIRED) pkg_check_modules(QWT REQUIRED IMPORTED_TARGET Qt6Qwt6) add_executable(qwt_test main.cpp) target_link_libraries(qwt_test PRIVATE Qt6::Widgets PkgConfig::QWT) === Log output === -- Checking for module 'Qt6Qwt6' -- Package 'Qt5Widgets', required by 'Qt6Qwt6', not found Package 'Qt5Concurrent', required by 'Qt6Qwt6', not found Package 'Qt5PrintSupport', required by 'Qt6Qwt6', not found Package 'Qt5Svg', required by 'Qt6Qwt6', not found Package 'Qt5OpenGL', required by 'Qt6Qwt6', not found CMake Error at /usr/share/cmake-4.3/Modules/FindPkgConfig.cmake:1093 (message): The following required packages were not found: - Qt6Qwt6 The issue has been be fixed upstream after version 6.3: https://sourceforge.net/p/qwt/git/ci/99a45521e96644a63c35353b22afd27499ded3af/ Other distros have patched the 6.3 version: https://src.fedoraproject.org/rpms/qwt/blob/rawhide/f/qwt-pkgconfig.patch Best regards, Håkon Vågsether

