[Qt-interest] building for redistribution
Alexandre Beraud
aberaud at infflux.com
Wed Dec 9 17:34:53 CET 2009
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
>
>
>
--
Alexandre BERAUD
Ingénieur Développement
Infflux - Informatique & Flux
Tel: 01 49 57 92 00 - Fax : 01 49 57 92 01
Mail: aberaud at infflux.com
Visitez notre site : www.infflux.com
More information about the Qt-interest-old
mailing list