Project

General

Profile

Bug #1547

Updated by bill-auger over 6 years ago

while compiloing a cmake-based program that requires 'qt5-quickcontrols

<pre>

CMake Error at /usr/lib64/cmake/Qt5QuickControls2/Qt5QuickControls2Config.cmake:102 (find_package):
Could not find a configuration file for package "Qt5Quick" that is
compatible with requested version "5.9.3".

The following configuration files were considered but not accepted:

/usr/lib64/cmake/Qt5Quick/Qt5QuickConfig.cmake, version: 5.9.2

Call Stack (most recent call first):
/usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package)
CMakeLists.txt:91 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!

$ sudo pacman -Ss qt5 | grep quick
extra/qt5-quickcontrols 5.9.3-1 (qt qt5)
extra/qt5-quickcontrols2 5.9.3-1 (qt qt5) [installed]

</pre>

the 'Qt5QuickConfig' config file itself mentions only v5.9.2 and the directory /usr/include/qt/QtQuick/5.9.2 - /usr/include/qt/QtQuick/ has a subdir for 5.9.2 but not for 5.9.3
that directory does not appear to be associated with the 'qt5-quickcontrols2' package though (or any package according to pkgfile) and still exists after the 'qt5-quickcontrols2' package is removed


<pre>

$ grep 5.9.2 /usr/lib64/cmake/Qt5Quick/Qt5QuickConfig.cmake
"${_qt5Quick_install_prefix}/include/qt/QtQuick/5.9.2"
"${_qt5Quick_install_prefix}/include/qt/QtQuick/5.9.2/QtQuick"
5.9.2 ${_Qt5Quick_FIND_VERSION_EXACT}
_populate_Quick_target_properties(RELEASE "libQt5Quick.so.5.9.2" "" )

$ ls /usr/include/qt/QtQuick/ | grep 5.9.
5.9.2

$ pkgfile /usr/include/qt/QtQuick/5.9.2/QtQuick/private/qquicktextnode_p.h
<empty>

$ pkgfile /usr/include/qt/QtQuick/5.9.2/
<empty>


</pre>

Back