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

[REG v6.0.0-beta3 -> dev] Top-level configure fails if told to build tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.0.0 RC
    • 6.0.0 Beta4
    • Build System: CMake
    • None
    • Linux/Wayland
    • a213ac05a231a2fd1443768d99b94d9efb684687 (qt/qttools/dev), b1aa6c2bc (dev), 2ab80a2c1 (dev), b68498493 (dev), 65d152268 (dev), ac6a53a9b (dev), d5b3e174e (6.6), 94f75e606 (6.6), ae7c92c46 (6.6), 1afb99de3 (tqtc/lts-6.5), 4c257fd35 (tqtc/lts-6.5)

    Description

      Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.

      Attempting to build tests causes configure to fail as follows:

      $ git clone git://code.qt.io/qt/qt5.git
      ...
      $ cd qt5
      $ perl init-repository -f
      ...
      $ ./configure -opensource -make libs -make tests
      ...
      -- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
      CMake Error at qttools/tests/auto/cmake/linguist/CMakeLists.txt:38 (find_package):
        Found package configuration file:
      
          /home/qt/depot/qt5/qtbase/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 "LinguistTools" config file at ""  
      
      -- Configuring incomplete, errors occurred!
      See also "/home/qt/depot/qt5/CMakeFiles/CMakeOutput.log".
      See also "/home/qt/depot/qt5/CMakeFiles/CMakeError.log".
      CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:751 (message):
        CMake exited with code 1

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-88264
          # Subject Branch Project Status CR V

          Activity

            People

              jbornema Joerg Bornemann
              macadder Jason McDonald
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: