Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97467

[REG 6.2.0->6.2.1] cmake test fails on RHEL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.3.0 Alpha
    • 6.2.1
    • Build System
    • 177e6b4d9ea01f9629a4235ee3785ad28f01649c (qt/qtdeclarative/dev) 4f05257d4a42b2a0096bc6bc053a1c0e8b79a5a3 (qt/qtdeclarative/6.2)

    Description

      Install 6.2.1 binaries on RHEL8.2, have CMakeLists.txt file which has line

      cmake_minimum_required(VERSION 3.1.0)project(cmake_test)set(CMAKE_AUTOMOC ON)
      set(CMAKE_AUTORCC ON)
      set(CMAKE_AUTOUIC ON)if(CMAKE_VERSION VERSION_LESS "3.7.0")
          set(CMAKE_INCLUDE_CURRENT_DIR ON)
      endif()# Make sure all Qt packages are found
      find_package(Qt6 COMPONENTS [add all installed components, except static's]
          REQUIRED)# Link standard executable to Qt5::Widgets
      add_executable(cmake_test
          main.cpp
      )
      target_link_libraries(cmake_test Qt6::Widgets)
      

      and run cmake on that. Fails with:

      -- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-cursor.so;/usr/lib64/libwayland-egl.so (found version "1.17.0")  
      -- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-cursor.so;/usr/lib64/libwayland-egl.so (found suitable version "1.17.0", minimum required is "1.15")  
      -- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-cursor.so;/usr/lib64/libwayland-egl.so (found version "1.17.0")  
      -- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-cursor.so;/usr/lib64/libwayland-egl.so (found suitable version "1.17.0", minimum required is "1.15")  
      -- XCB: XFIXES requires XCB;RENDER;SHAPE
      -- XCB: XFIXES requires XCB;RENDER;SHAPE
      -- XCB: XFIXES requires XCB;RENDER;SHAPE
      -- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-icccm.so;/usr/lib64/libxcb-shm.so;/usr/lib64/libxcb-image.so;/usr/lib64/libxcb-keysyms.so;/usr/lib64/libxcb-randr.so;/usr/lib64/libxcb-render.so;/usr/lib64/libxcb-render-util.so;/usr/lib64/libxcb-shape.so;/usr/lib64/libxcb-sync.so;/usr/lib64/libxcb-xfixes.so;/usr/lib64/libxcb-composite.so;/usr/lib64/libxcb-damage.so;/usr/lib64/libxcb-dpms.so;/usr/lib64/libxcb-dri2.so;/usr/lib64/libxcb-dri3.so;/usr/lib64/libxcb-ewmh.so;/usr/lib64/libxcb-glx.so;/usr/lib64/libxcb-present.so;/usr/lib64/libxcb-record.so;/usr/lib64/libxcb-res.so;/usr/lib64/libxcb-screensaver.so;/usr/lib64/libxcb-xf86dri.so;/usr/lib64/libxcb-xinerama.so;/usr/lib64/libxcb-xkb.so;/usr/lib64/libxcb-xtest.so;/usr/lib64/libxcb-xv.so;/usr/lib64/libxcb-xvmc.so (found version "1.13.1") found components: XFIXES 
      CMake Error at CMakeLists.txt:14 (find_package):
        Found package configuration file:
          /home/qt/RTA/qt5/6.2.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake
        but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
        FOUND.  Reason given by package:
        Failed to find Qt component "QuickControlsTestUtilsPrivate".
        Expected Config file at
        "/home/qt/RTA/qt5/6.2.1/gcc_64/lib/cmake/Qt6QuickControlsTestUtilsPrivate/Qt6QuickControlsTestUtilsPrivateConfig.cmake"
        exists
        
      -- Configuring incomplete, errors occurred!
      See also "/home/qt/work/tqtc-qt-rta/suites/installer/suite_qt_installer_smoke/tst_cmake/testdata/CMakeFiles/CMakeOutput.log".
      See also "/home/qt/work/tqtc-qt-rta/suites/installer/suite_qt_installer_smoke/tst_cmake/testdata/CMakeFiles/CMakeError.log".
      

      Same test

      • was working with released 6.2.0 on same RHEL but it did not have the QuickControlsTestUtilsPrivate.
      • is working on Ubuntu20.04 (Qt6.2.1), including QuickControlsTestUtilsPrivate
      • fails on macOS10.14 (Qt6.2.1), macOS10.15 and macOS11.0 have still the QTBUG-96558, so not sure if that one hides this issue
      • fails with MinGW8.1 and MSVC2019 x64 (Qt6.2.1)

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            semlanik Alexey Edelev
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes