The platform SDK error
-
after updating Mac to the newest MacOS Catalina 10.15.4, in building i receive this error :
The platform SDK has been changed from version 10.15 to version 10.15.4.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake.I tried removing the build dir, and also changing the line in qdevice.pri
QMAKE_MAC_SDK = macosx10.15.4but not yet successful in building the desktop application.
-
after updating Mac to the newest MacOS Catalina 10.15.4, in building i receive this error :
The platform SDK has been changed from version 10.15 to version 10.15.4.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake.I tried removing the build dir, and also changing the line in qdevice.pri
QMAKE_MAC_SDK = macosx10.15.4but not yet successful in building the desktop application.
-
when i change the line in qdevice.pri to :
QMAKE_MAC_SDK = macosx10.15.4i receive this error :
"Project ERROR: Could not resolve SDK Path for 'macosx10.15.4' using --show-sdk-path"If i have the line set to :
QMAKE_MAC_SDK = macosx10.15the error message :
"The platform SDK has been changed from version 10.15 to version 10.15.4.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake"I removed the build dir, but still i did not succeed in building.
-
Hi,
IIRC one thing you can do is create a symbolic link in the same folder.
-
@SGaist said in The platform SDK error:
IIRC
So I made a symbolic link folder for 10.15.4 as following:
the result of following command is:
xcrun --sdk macosx --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.4.sdkthen, i changed the line in qdevice.pri, to 10.15.4
however, after fresh building, I receive this error in qt:
error: Could not resolve SDK Path for 'macosx10.15.4' using --show-sdk-path -
Casing is important.
-
@kshahim said in The platform SDK error:
MacOSX1
the one in qdevice.pri is : QMAKE_MAC_SDK = macosx10.15.4
and the symbolic folder is MacOSX10.15.4.sdki changed the one in qdevice to QMAKE_MAC_SDK = MacOSX10.15.4
still the same error:
Project ERROR: Could not resolve SDK Path for 'MacOSX10.15.4' using --show-sdk-path -
@kshahim said in The platform SDK error:
after updating Mac to the newest MacOS Catalina 10.15.4, in building i receive this error :
The platform SDK has been changed from version 10.15 to version 10.15.4.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake.I tried removing the build dir, and also changing the line in qdevice.pri
QMAKE_MAC_SDK = macosx10.15.4but not yet successful in building the desktop application.
I had the same bizarre error. Fixed it by removing build folders from .gitignore.
-
@kshahim said in The platform SDK error:
after updating Mac to the newest MacOS Catalina 10.15.4, in building i receive this error :
The platform SDK has been changed from version 10.15 to version 10.15.4.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake.I tried removing the build dir, and also changing the line in qdevice.pri
QMAKE_MAC_SDK = macosx10.15.4but not yet successful in building the desktop application.
I had the same bizarre error. Fixed it by removing build folders from .gitignore.
@ostoimenov Thank You!! this solved my issue :)
These files were invisible in Mac :
Then i pressed :
to make them visible and i removed the stash files, and it is working now !