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

[REG 6.4.0rc->final] Can not compile examples on iOS if QfPDF is included in installation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.4.1
    • 6.4.0
    • Packaging & Installer
    • e401e26fb5 (qt/qtwebengine/6.4.0) 3c0a45e592 (qt/tqtc-qtwebengine/6.4.1)

    Description

      Qt6.4.0 final iOS binaries, install also all additional libraries, compile e.g. gui/analogclock example:

      /Users/qt/RTA/Qt_6.4.0/6.4.0/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/gui/analogclock -B /Users/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/gui/analogclock/bld_ios -GNinja
      

      Fails:

      -- Using Qt bundled Freetype.
      -- Using Qt bundled Jpeg.
      CMake Error at /Users/qt/RTA/Qt_6.4.0/6.4.0/ios/lib/cmake/Qt6Gui/Qt6QPdfPluginTargets.cmake:93 (message):
        The imported target "Qt6::QPdfPlugin_init" references the file     "/Users/qt/RTA/Qt_6.4.0/6.4.0/ios/./plugins/imageformats/objects-Debug/QPdfPlugin_init/QPdfPlugin_init.cpp.o"  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     "/Users/qt/RTA/Qt_6.4.0/6.4.0/ios/lib/cmake/Qt6Gui/Qt6QPdfPluginTargets.cmake"  but not all the files it references.Call Stack (most recent call first):
        /Users/qt/RTA/Qt_6.4.0/6.4.0/ios/lib/cmake/Qt6Gui/Qt6QPdfPluginConfig.cmake:51 (include)
        /Users/qt/RTA/Qt_6.4.0/6.4.0/ios/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:439 (include)
        /Users/qt/RTA/Qt_6.4.0/6.4.0/ios/lib/cmake/Qt6Gui/Qt6GuiPlugins.cmake:5 (__qt_internal_include_plugin_packages)
        /Users/qt/RTA/Qt_6.4.0/6.4.0/ios/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:123 (include)
        /Users/qt/RTA/Qt_6.4.0/6.4.0/ios/lib/cmake/Qt6/Qt6Config.cmake:213 (find_package)
        CMakeLists.txt:12 (find_package)
      

      RC content had QtPDF installed to wrong location (ios/target/) so not clear if this a regression.

      If installing final content without additional modules, examples are compiled.

      Attachments

        Issue Links

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

          Activity

            People

              janihe Jani Heikkinen
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes