[Development] V8's location

lars.knoll at nokia.com lars.knoll at nokia.com
Tue Jan 3 22:07:38 CET 2012


On 1/3/12 5:45 PM, "ext Oswald Buddenhagen" <oswald.buddenhagen at nokia.com>
wrote:

>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

Yes, something like this would be great. Can we please get it?

We could even require this to be in the first line of the pro file to make
things simple. The default would obviously use the target mkspec, so we'd
only need to patch a few pro files.

Cheers,
Lars




More information about the Development mailing list