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

Link missing frameworks/libraries and flags in iOS CMake

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5: Not important P5: Not important
    • None
    • 5.5.0
    • Build System: CMake
    • None
    • OSX
    • iOS/tvOS/watchOS

      Qt iOS CMake's users must fix linking errors of type "undefined reference" by adding extra flags.

      Frameworks:

      "-framework UIKit"
      "-framework AssetsLibrary"
      "-framework OpenGLES"
      "-framework Foundation"
      "-framework QuartzCore"
      "-framework CoreFoundation"
      "-framework CoreText"
      "-framework CoreGraphics"
      

      3rd party libraries:

      "z"
      

      Qt libraries (+ debug variant):

      "libqtharfbuzzng.a"
      "libqtpcre.a"
      "libQt5PlatformSupport.a"
      

      Flags (+ debug variant):

      "-force_load libqios.a"
      

      To avoid repetition of this code in every user's application this flags should be added to INTERFACE_LINK_LIBRARIES properties of Qt's targets (like Qt5::Widgets).

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

            krf Kevin Funk
            ruslo Ruslan Baratov
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes