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

Possibility of macOS build is not taken into account when building a project with CONFIG += simulator in mkspecs

    XMLWordPrintable

Details

    • macOS
    • a32a93c31d (qt/qtbase/dev) a32a93c31d (qt/tqtc-qtbase/dev)

    Description

      macOS build with a project, where "CONFIG += simulator" is set, leads to:
      "clang:-1: error: unknown argument: '-m-version-min=10.1x'" error

      As "CONFIG += simulator" is set, it enters to simulator blocks which causes this error.

      So, in root/mkspecs/features/mac/default_post.prf lines 202 and 238 are missing "!macos:" before the "simulator:device" and "simulator:" blocks on those lines. "!macos:" could be used there in order to prevent entering "unintented" code paths.

      Attachments

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

        Activity

          People

            foxxx Tuukka Kettunen
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes