Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR: Could not resolve SDK path for 'macosx10.9'

Tags:

macos

qt

qt5

qmake

My OS X 10.10 build machine just updated to X Code 7 via the app store. Now I am getting the error that the 10.9 SDK was not found.

qmake pro file

macx {
    QMAKE_MAC_SDK = macosx10.9
    QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
}

How can I build software for OS X 10.9 Mavericks users?

like image 491
Simon Warta Avatar asked Sep 19 '15 15:09

Simon Warta


1 Answers

You can build against the latest SDK but still target older OS X versions by setting the deployment target (which you have set). If you remove the QMAKE_MAC_SDK line, it should do what you want.

like image 149
Brendan Shanks Avatar answered Nov 09 '22 23:11

Brendan Shanks