revamp -sysroot and -hostprefix handling
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 28 Feb 2012 19:57:38 +0000 (20:57 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Mar 2012 22:18:23 +0000 (23:18 +0100)
commit012f799254eedc610e2e33842e62d2a184b14fcc
tree2499beab7bce07a3ad7e275dd4f1f3c3ca594d4a
parentc0e9041b6dc2cc46334df2dffe640f1ead1e0898
revamp -sysroot and -hostprefix handling

instead of being a variable added to the makespec (via qconfig.pri),
QT_SYSROOT is now a property.

the QT_INSTALL_... properties are now automatically prefixed with the
sysroot; the raw values are available as QT_RAW_INSTALL_... - this is
expected to cause the least migration effort for existing projects.

-hostprefix and the new -hostbindir & -hostdatadir now feed the new
QT_HOST_... properties.

adapted the qmake feature files and the qtbase build system accordingly.

Change-Id: Iaa9b65bc10d9fe9c4988d620c70a8ce72177f8d4
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
19 files changed:
configure
dist/changes-5.0.0
mkspecs/features/default_pre.prf
mkspecs/features/module.prf
mkspecs/features/qt_config.prf
mkspecs/features/qt_functions.prf
mkspecs/features/qt_module.prf
mkspecs/features/qt_module_config.prf
qmake/generators/makefile.cpp
qmake/generators/win32/msvc_vcproj.cpp
qmake/project.cpp
qmake/property.cpp
qtbase.pro
src/corelib/global/qlibraryinfo.cpp
src/corelib/global/qlibraryinfo.h
src/tools/moc/moc.pro
src/tools/rcc/rcc.pro
src/tools/uic/uic.pro
tools/configure/configureapp.cpp