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

macOS/iOS: Building app against lower SDK than Qt was built with should error at qmake stage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.11.2
    • 5.3.0 Alpha
    • Build tools: qmake
    • None
    • macOS

      For static builds of Qt on macOS/iOS, we build with the appropriate guards in the code to only include calls to functions that are available in the SDK we're building against, but what we produce is then a static library, which is then linked into the final application by the user. The user may then use an older SDK which doesn't have the required functions. We should store somewhere which SDK version Qt was built with, and error out at qmake time if the user tries to build his app with an earlier SDK.

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

            vestbo Tor Arne Vestbø
            vestbo Tor Arne Vestbø
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes