[QBS] Illegal instruction 4 when running on OS X 10.7

Christian Kandeler christian.kandeler at digia.com
Thu Aug 15 10:33:57 CEST 2013


On 08/15/2013 10:03 AM, Иван Комиссаров wrote:
> Hello, I've built an application using QBS on Mac OS 10.8, deployed it
> and try to run it on OS X 10.7. App crashes with "Illegal instruction
> 4". Setting sysroot to 10.7 doesn't help. Google says I have to add to
> cxxFlags "-mmacosx-version-min=10.5". How can I pass this flag to qbs
> from command line? Or should I manually hardcode that flag for all products?

I think the best approach is to create a dedicated profile for 
"cross-compiling" for older OS versions and set the flag there.


Christian






More information about the Qbs mailing list