This mkspec requires Xcode 4.3 or later
-
What do you get if you call
xcodebuild -version | grep Xcode | sed -e 's/Xcode //' | sed -e 's/\..*//'
in a terminal ? -
What do you get if you call
xcodebuild -version | grep Xcode | sed -e 's/Xcode //' | sed -e 's/\..*//'
in a terminal ? -
Can you put
message("Test: $$QMAKE_XCODE_VERSION")
in a .pro file and show the result ? -
@SGaist said in This mkspec requires Xcode 4.3 or later:
message("Test: $$QMAKE_XCODE_VERSION")
I put that at the top of my .pro file but I don't see the result anywhere in any of the console windows when I run qmake or build.
I'm thinking of re-installing Qt from scratch... this is exhausting...
-
That's strange... You should at least get "Test:" printed.
Did you try with a more recent version of 5.9 ? IIRC the current is 5.9.6.
-
What if you put it in an empty pro file ?
-
Ok, I installed 5.10.2 and am able to compile and deploy with that. Furthermore, it solves my problem. Apparently, whatever bug I encountered was introduced between then and 5.11.1.
Here is the thread for the bug I was dealing with: https://forum.qt.io/topic/95085/qlowenergyservice-never-completes-discovery/2
-
Did you check whether the bug report system has something related ?
-
After you did the copy of the mkspecs, you need to make sure you remove any .qmake.stash files that it has in the directory or parent directories as it may be reusing those. Other than that, upgrading Qt 5.9.x might help too, otherwise you have to trawl the fixes to see what changed it though using the mkspecs/features directory should have helped.
-
This is a documented bug https://bugreports.qt.io/browse/QTBUG-70592 and the fix is in 5.9.7 due out next week. There is no workaround, as far as I am aware.
-
This is a documented bug https://bugreports.qt.io/browse/QTBUG-70592 and the fix is in 5.9.7 due out next week. There is no workaround, as far as I am aware.
The workaround is to disable the check for xcode versions in mkspecs files, to do this prepend
false:
beforelessThan(QMAKE_XCODE_VERSION
in those files :- mkspecs/features/uikit/default_pre.prf:24
- mkspecs/features/uikit/default_post.prf:42
- mkspecs/features/uikit/bitcode.prf:1
For default_pre.prf, line 24 should then be:
false:lessThan(QMAKE_XCODE_VERSION, "4.3"): \