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

Configure error for toplevel builds after porting of QtLinguist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P0: Blocker P0: Blocker
    • 6.0.0 RC
    • 6.0.0 Beta2
    • Build System: CMake
    • None

      Commit 97ece9f5186490688353a5fa6431be9ee14d7a22 introduced a regression when running a toplevel configure on ubuntu18.04 with cmake 3.18.4. The configure step fails with error:

      -- 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/vagrant/qt-build/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 ""
      

      This is reproducible with a fresh shadow build on Linux, f.ex using the ubuntu1804 minicoin box:

      qt/dev$ minicoin run ubuntu1804 build-qt
      

      On macOS, the configure completes without error. Reverting the commit solves the problem.

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

            kkohne Kai Köhne
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes