[Qt-interest] building for redistribution

Josh jknox at irobot.com
Wed Dec 9 17:39:02 CET 2009


OK, If patching is the answer, then I can patch. Just wanted to check there 
wasn't a better way.

Thanks,

Josh


Alexandre Beraud wrote:
> Hi,
> 
> Alas there is probably no straightforward way of doing it. As far as I 
> know, the precompiled packages provided by Qt patch the binary tools in 
> order to use the new installation directory. Unless you do the same 
> yourself, you have to compile the sources on the other machine, or make 
> sure that the directory name is the same on all the machines.
> 
> Regards,
> 
> Alex
> 
> 
> Josh a écrit :
>> Hi All,
>>
>>
>> I'm building Qt 4.6 from source. I can do that fine. I want to take the
>> resulting install, package it up and use it on other machines to build 
>> stuff
>> against my Qt package.
>>
>> Initially I'm trying to build PyQt against it but I'm running into an 
>> issue with
>> the include paths that qmake uses to generate PyQt makefiles, 
>> resulting in
>> errors that it cant find the Qt headers. The problem is that the Makefile
>> generated by qmake has paths that are hardcoded to the header location on
>> another machine that I initially built Qt on. These are not correct on 
>> my other
>> machine.
>>
>> So, my question is, how can I build Qt such that I can use it's qmake on
>> different machines and have it, or tell it, what include paths to use 
>> when
>> generating makefiles?
>>
>> I'm guessing there's a straightforward way to do this, but I'm new to Qt.
>>
>> Thanks for any help.
>>
>> Josh
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>>   
> 
> 



More information about the Qt-interest-old mailing list