[Qt-interest] qmake and absolute paths pointing to Qt build directory
Alexander Kurz
lewi.alex at gmail.com
Thu Jan 21 11:46:19 CET 2010
Hi all,
We would like to build Qt for all our platforms only once and then
distribute this build among all developers so that everyone is using exactly
the same and does not need to bother building Qt by himself. This is also
beneficial when we rebuild Qt (e.g. to minimize footprint for embedded).
The idea was do use QTDIR env variable to point to the Qt directory to use
and also use QMAKESPEC accordingly.
The problem is that qmake creates makefiles with absolute paths to the Qt
build directory when trying to build an application.
This requires each developer and also buildserver to copy Qt build to the
same directory.
Is there a easy solution for it?
For me it looks like I have to dig deeper into the mkspecs and modify here
and there because also default include/lib paths are absolute to the Qt
build directory.
thanks in advance
cheers
alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100121/aa7b3978/attachment.html
More information about the Qt-interest-old
mailing list