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

QtPdf is not properly installed on iOS build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.1
    • 5.14.2
    • PDF
    • iOS
    • iOS/tvOS/watchOS
    • aebb900f87d6a05c473726f7e2388fe915f5dbd9 (qt/qtwebengine/5.15)

    Description

      When building QtPdf for iOS, the COTS libraries of chrome used are not properly installed.

      They are not installed when doing a make install (after proper qmake and make) and they are referenced with the build directory in prl files for Qt5Pdf and plugins/imageformats/libqpdf 

       

      For instance in plugins/imageformats/libqpdf.prl I have the following content where BUILDDIRECTORY is the place where I built Qt.

      QMAKE_PRL_BUILD_DIR = <BUILDDIRECTORY>/qtwebengine/src/plugins/imageformats/pdf

      QMAKE_PRO_INPUT = pdf.pro

      QMAKE_PRL_TARGET = libqpdf.a

      QMAKE_PRL_CONFIG = lex yacc depend_includepath testcase_targets import_qpa_plugin asset_catalogs rez prepare_docs qt_docs_targets qt_build_extra file_copies qmake_use qt warn_on release link_prl bitcode reduce_exports shallow_bundle no_qt_rpath app_bundle incremental global_init_link_order lib_version_first sdk clang_pch_style cross_compile static ios uikit mac darwin unix posix gcc clang llvm cross_compile compile_examples force_debug_info largefile neon precompile_header prefix_build force_independent force_bootstrap builtin_testdata utf8_source create_prl link_prl no_private_qt_headers_warning QTDIR_build qt_example_installs exceptions_off testcase_exceptions explicitlib warning_clean release ReleaseBuild Release build_pass device iphoneos simulator iphonesimulator sse sse2 git_build plugin debug_and_release build_all relative_qt_rpath app_extension_api_only create_cmake c+11 strict_c+ c+14 c1z c99 c11 hide_symbols release ReleaseBuild Release build_pass have_target staticlib exclusive_builds debug_info objective_c c+11 no_autoqmake thread opengl moc resources gc_binaries dll

      QMAKE_PRL_VERSION = 1.0.0

      QMAKE_PRL_LIBS = $$[QT_INSTALL_LIBS]/libQt5Pdf.a <BUILDDIRECTORY>/qtwebengine/src/pdf/release/obj/third_party/zlib/libchrome_zlib.a <BUILDDIRECTORY>/qtwebengine/src/pdf/release/obj/third_party/icu/libbundled_icuuc.a <BUILDDIRECTORY>/qtwebengine/src/pdf/release/obj/third_party/libjpeg_turbo/libjpeg.a <BUILDDIRECTORY>/qtwebengine/src/pdf/release/obj/third_party/libjpeg_turbo/libsimd.a $$[QT_INSTALL_LIBS]/libQt5Network.a -framework Security -framework SystemConfiguration -framework GSS $$[QT_INSTALL_LIBS]/libQt5Gui.a $$[QT_INSTALL_LIBS]/libqtlibpng.a $$[QT_INSTALL_LIBS]/libqtharfbuzz.a -framework CoreText -framework CoreGraphics $$[QT_INSTALL_LIBS]/libQt5Core.a -framework MobileCoreServices -lm -framework UIKit -framework CoreFoundation -framework Foundation -lz $$[QT_INSTALL_LIBS]/libqtpcre2.a -framework OpenGLES

      QMAKE_PRL_LIBS_FOR_CMAKE = $$[QT_INSTALL_LIBS]/libQt5Pdf.a;<BUILDDIRECTORY>/qtwebengine/src/pdf/release/obj/third_party/zlib/libchrome_zlib.a;<BUILDDIRECTORY>/qtwebengine/src/pdf/release/obj/third_party/icu/libbundled_icuuc.a;<BUILDDIRECTORY>/qtwebengine/src/pdf/release/obj/third_party/libjpeg_turbo/libjpeg.a;<BUILDDIRECTORY>/qtwebengine/src/pdf/release/obj/third_party/libjpeg_turbo/libsimd.a;$$[QT_INSTALL_LIBS]/libQt5Network.a;-framework;Security;-framework;SystemConfiguration;-framework;GSS;$$[QT_INSTALL_LIBS]/libQt5Gui.a;$$[QT_INSTALL_LIBS]/libqtlibpng.a;$$[QT_INSTALL_LIBS]/libqtharfbuzz.a;-framework;CoreText;-framework;CoreGraphics;$$[QT_INSTALL_LIBS]/libQt5Core.a;-framework;MobileCoreServices;-lm;-framework;UIKit;-framework;CoreFoundation;-framework;Foundation;-lz;$$[QT_INSTALL_LIBS]/libqtpcre2.a;-framework;OpenGLES;;;

       

       

       

      Attachments

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

        Activity

          People

            michal Michal Klocek
            nicolasdeherly Nicolas Deherly
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes