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

iOS: Building basic Qt application with CMake fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5: Not important P5: Not important
    • None
    • 5.9.1, 5.9.2, 5.9.3
    • Build System: CMake
    • None
    • iOS
    • iOS/tvOS/watchOS

      1. Create new application with Qt Creator with cmake
      2. Select iOS as target
      3. Compile

      —> it won’t compile for iOS (will do with macOS).

      623 x warning coming out from each Qt lib:
      :-1: warning: URGENT: building for OSX, but linking in object file (.../Qt/5.9.3/ios/lib/libQt5Core_debug.a(qresource.o)) built for iOS. Note: This will be an error in the future.

      And failing in linking phase.
      That means the default cmake config for iOS is pointing macOS toolchain?

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

            krf Kevin Funk
            snowgrains Ari Salmi
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes