Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

How to set deployment target on Mac?

$
0
0
Hi, I’m using in my app NSSharingServicePicker, that is part of the new sharing API in Mountain Lion and I cannot build my app to make it work on Snow Leopard. The app is working fine in ML but when it’s executed in SL it automatically crashes when launched with this error: Dyld Error Message:   Symbol not found: _OBJC_CLASS_$_NSSharingServicePicker   Referenced from: /Volumes/:Users:sheenmue:QT:Horus-build-desktop-Qt_4_8_4__Qt__Release:Horus/Horus.app/Contents/MacOS/ NSSharingServicePicker is really never used because I control in code that it’s only called if system version is >=10.8 and that part of the code isn’t even accessed after the user presses a button, but it detects that it’s used in some part of the code and it crashes. It seems that this problem (using API calls that are not available in older versions) can be solved in XCode setting the base SDK as 10.8 and deployment target as 10.6 but I don’t know how to set the deployment target in Qt and Qt Creator, so how could I do it?

Viewing all articles
Browse latest Browse all 2113

Trending Articles