[Qt-interest] qmake and absolute paths pointing to Qt build directory
Josh
jknox at irobot.com
Fri Jan 22 18:34:47 CET 2010
Alexander Kurz wrote:
> for me the approach with a qt.conf file in the bin directory of the QT build
> seems to work like a charm.
> It overrides the hardcoded paths in the binaries. (qmake -querey)
>
> the qt.conf contains 2 lines:
>
> [Paths]
> Prefix=$(QTDIR)
>
> well I introduced QTDIR env variable again but now the only thing I got to
> do is change QTDIR, add its bin\ directory to path and I can build my
> applications with any QT build for any platform regardless who or where it
> was build in the first place...
>
> Thank you for the hint.
> Alex
>
>
Hmm, I'll have to try qt.conf again. I'd really prefer this to the
qpatch hack I'm using now. The main reason I punted on this
was that when I use qt.conf, then tried to build Qt Creator
against my Qt build, it would always barf when trying to locate
moc. It always looked in the original Qt build dir.
More information about the Qt-interest-old
mailing list