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

Multiple examples fails to build due missing PdfQuickplugin

    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.

      Multiple examples fail to build due missing PdfQuickplugin:

      /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/positioning/satelliteinfo -B /home/qt/RTA/Qt_6.5.2/Examples/Qt-6.5.2/positioning/satelliteinfo/bld_gcc_64 -GNinja -DFFMPEG_DIR=/usr/local/FFmpeg-n6.0 
      CMake Error at /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginTargets.cmake:86 (message):
      -- 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  
      CMake Error at /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginTargets.cmake:86 (message):
        The imported target "Qt6::PdfQuickplugin" references the file
           "/opt/qt-6.5.2/x86_64-linux-gnu/./qml/QtQuick/Pdf/libpdfquickplugin.so"
        but this file does not exist.  Possible reasons include:
        * The file was deleted, renamed, or moved to another location.
        * An install or uninstall procedure did not complete successfully.
        * The installation package was faulty and contained
           "/opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginTargets.cmake"
        but not all the files it references.
      Call Stack (most recent call first):
        /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginConfig.cmake:51 (include)
        /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Qml/Qt6QmlPlugins.cmake:18 (include)
        /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:124 (include)
        /opt/cmake-3.24.2/share/cmake-3.24/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
        /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
        /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:39 (_qt_internal_find_qt_dependencies)
        /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:40 (include)
        /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package)
        CMakeLists.txt:13 (find_package)
      CMake Warning at /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package):
        Found package configuration file:
          /opt/qt-6.5.2/x86_64-linux-gnu/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake
        but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to
        be NOT FOUND.
      Call Stack (most recent call first):
        CMakeLists.txt:13 (find_package)
      -- Configuring incomplete, errors occurred! 

      Debian packages  libqt6.5.2pdfquick6 and qml6.5.2-module-qtquick-pdf are installed

      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