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

Examples fails to compile due missing LinguistTools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.5.2
    • Packaging: Debian
    • Ubuntu22.04 x64

    Description

      Install Qt 6.5.2 Debian commercial binaries from staging, download Qt 6.5.2 examples from e.g. Qt Online installer. Use Qt binaries from debian installation to compile examples.

      /opt/qt-6.5.2/x86_64-linux-gnu/bin/qt-cmake -S /home/qt/RTA/Qt_6.5.2/Examples/Qt-6.5.2/linguist/trollprint -B /home/qt/RTA/Qt_6.5.2/Examples/Qt-6.5.2/linguist/trollprint/bld_gcc_64 -GNinja -DFFMPEG_DIR=/usr/local/FFmpeg-n6.0 
      CMake Error at CMakeLists.txt:17 (find_package):
      -- Configuring incomplete, errors occurred!
      -- The CXX compiler identification is GNU 11.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
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- 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
      -- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
      CMake Error at CMakeLists.txt:17 (find_package):
        Found package configuration file:
          /opt/qt-6.5.2/x86_64-linux-gnu/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
        "/opt/qt-6.5.2/x86_64-linux-gnu/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.
      -- Configuring incomplete, errors occurred! 

      Attachments

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

        Activity

          People

            iknd Iikka Eklund
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes