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

Can not disable Linguist in Qt 6.4.0 when qttools are enabled

    XMLWordPrintable

Details

    • Linux/X11
    • d34bf2c37e (qt/qttools/dev) d34bf2c37e (qt/tqtc-qttools/dev) 8df0fbc1d4 (qt/qttools/6.4) 46c0ba7284 (qt/tqtc-qttools/6.2) 8df0fbc1d4 (qt/tqtc-qttools/6.4) 8df0fbc1d4 (qt/tqtc-qttools/6.4.1) 8df0fbc1d4 (qt/tqtc-qttools/tqtc/qtinsight-6.4)

    Description

      When I set "-DFEATURE_linguist=OFF" in the cmake build, it fails in configure with error:

      Configuring submodule 'qttools'
      -- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
      CMake Error at qttools/examples/linguist/arrowpad/CMakeLists.txt:15 (find_package):
        Found package configuration file:
      
          /data/Debug/qt/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 required Qt component "LinguistTools".
      
        Expected Config file at
        "/data/Debug/qt/qtbase/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake"
        does NOT exist
      
        Configuring with --debug-find-pkg=Qt6LinguistTools might reveal details why
        the package was not found.
      
        Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
        of the path variables that find_package uses to try and find the package.
      

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            emmenlau Mario Emmenlauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes