Introduce fallback for general cross compilation
authorDonald Carr <donald.carr@nokia.com>
Mon, 9 Apr 2012 19:47:12 +0000 (19:47 +0000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 16 Apr 2012 17:00:04 +0000 (19:00 +0200)
commitf0c36dd03ce7451365453c80a910453457d812e7
tree34c06fc11af8db26107b5e52cd693b2047dfab1a
parent0a5440b2f05d2cebf5b47e2155a3ed0f65d5d0d1
Introduce fallback for general cross compilation

The current approach of forcing people to pass the fully qualified prefix
of their toolchain to the configure script is verbose and something of a
chore for people who use the same toolchain to target several devices.

This allows you to set a single toolchain for use with all Qt targets via:

qmake -set CROSS_COMPILE foo

You can still explicitly override this toolchain, as originally mandated,
with the configure time device-option arguments.

Change-Id: Ibd3d940bb08fa09499533f9c661557e337a8421a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
mkspecs/features/device_config.prf