-
Task
-
Resolution: Done
-
P1: Critical
-
None
-
6.4.0 Beta3
-
None
When installing only the 6.4.0 essentials package (without Qt Compositor) and trying to build a quick example with cmake you get the following error:
~/Qt/6.4.0/gcc_64/bin/qt-cmake ../ ⏎ -- The CXX compiler identification is GNU 9.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /usr/include CMake Error at /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6Qml/QmlPlugins/Qt6WaylandTextureSharingExtensionTargets.cmake:82 (message): The imported target "Qt6::WaylandTextureSharingExtension" references the file "/home/gagi/Qt/6.4.0/gcc_64/./qml/QtWayland/Compositor/TextureSharingExtension/libwaylandtexturesharingextensionplugin.so" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6Qml/QmlPlugins/Qt6WaylandTextureSharingExtensionTargets.cmake" but not all the files it references. Call Stack (most recent call first): /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6Qml/QmlPlugins/Qt6WaylandTextureSharingExtensionConfig.cmake:51 (include) /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6Qml/Qt6QmlPlugins.cmake:18 (include) /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:123 (include) /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:108 (find_dependency) /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:39 (_qt_internal_find_qt_dependencies) /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:40 (include) /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:211 (find_package) CMakeLists.txt:12 (find_package) CMake Warning at /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:211 (find_package): Found package configuration file: /home/gagi/Qt/6.4.0/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to be NOT FOUND. Call Stack (most recent call first): CMakeLists.txt:12 (find_package) -- Configuring incomplete, errors occurred! See also "/home/gagi/Qt/Examples/Qt-6.4.0/quick/quickwidgets/quickwidget/build/CMakeFiles/CMakeOutput.log". See also "/home/gagi/Qt/Examples/Qt-6.4.0/quick/quickwidgets/quickwidget/build/CMakeFiles/CMakeError.log".
It looks like the installation contains some cmake files from the Qt Compositor module and is not packaged correctly on the installer.