[Qt-interest] building for redistribution

Josh jknox at irobot.com
Wed Dec 9 17:06:30 CET 2009


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



More information about the Qt-interest-old mailing list