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

Jake Petroules jake.petroules at petroules.com
Thu Aug 15 14:14:37 CEST 2013

Hey Ivan,

QBS has a dedicated property specifically for this purpose:

    cpp.minimumOsxVersion: "10.5"

You can either set this in your profile to apply globally, or in each of the products in your project.
It is documented here: http://doc-snapshot.qt-project.org/qbs/module-cpp.html#minimumosxversion
Jake Petroules
Chief Technology Officer
Petroules Corporation · www.petroules.com
Email: jake.petroules at petroules.com

On Aug 15, 2013, at 4:03 AM, Иван Комиссаров <abbapoh at gmail.com> 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?
> Thanks.
> Иван Комиссаров
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20130815/978e2a96/attachment.html>

More information about the Qbs mailing list