[Development] V8's location
Oswald Buddenhagen
oswald.buddenhagen at nokia.com
Tue Jan 3 17:45:45 CET 2012
On Tue, Jan 03, 2012 at 01:45:27PM -0200, ext Thiago Macieira wrote:
> Configure already sets a "default" mkspec symlink that matches the target
> mkspec. Making it also create a symlink for "default-host" which matches the
> host platform would be easy.
>
> The tricky part is using that.
>
> You could specify the -spec default-host option when running configure, but
> last I checked with Marius (or was it still Sam?), you can't add that to the
> .pro file because it's too late. The spec file was already loaded by the time
> the .pro file is parsed. So my guess is this would be a major incursion into
> qmake to support the feature.
>
correct.
> It would probably be easier, though uglier, to add a separate file that is read
> by qmake when it finds the .pro file.
>
well, technically, there is no reason why that separate file could not
be the .pro file itself:
#pragma spec:default-host
TARGET=lrelease
...
pure beauty! :D
More information about the Development
mailing list