Change syncqt default parameters for shadow building
authorKalle Juhani Lehtonen <kalle.ju.lehtonen@nokia.com>
Mon, 23 Jan 2012 07:27:06 +0000 (17:27 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Feb 2012 01:12:39 +0000 (02:12 +0100)
commit85c08e06c81d9e6cd1bb29f13357d63c1a93599b
treed3ea1a250c0064cfc90a6a8f84f0f0f10af0db95
parenta512e210ac5b032c5fc2edf1ddf72e5a414485fd
Change syncqt default parameters for shadow building

For shadow builds configure creates syncqt script to shadow build
directory tree calling the original syncqt from qtbase source tree.
This wrapped script will add two default parameters when calling
the original script. Both parameters are overridden in
qtbase/mkspecs/features/default_pre.prf and are not needed except by
configure script itself in latter stages where the parameter should be
applied explicitly in shadow build condition branch.

In addition, it adds the qtdir parameter for the forwarded syncqt call to
indicate the location of qt sources for the syncqt. This also will give
correct qmake path for qtmodule-configtests script triggered from syncqt.

Changes are done both for Linux and Windows configure.

Change-Id: I307b2e76c203ee14b849f10ff629f9668da2f223
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
configure
tools/configure/configureapp.cpp