Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.10, 6.3.1
-
-
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
For Gerrit Dashboard: QTBUG-106353 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
433718,2 | Guard some qmake 'simulator' conditions with iOS scope | dev | qt/qtbase | Status: MERGED | +2 | 0 |