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