On quinta-feira, 27 de dezembro de 2012 08.19.18, Yves Bailly wrote: > So, if it's enough to change the paths in the qt_*.pri files, it seems > we're not far from a relocatable Qt... "just" use relative paths in those > files instead of absolute ones, or use some variable like good'old QTDIR. > Yes, I know this "just" may well not be that simple.
Don't forget the cmake files in lib/cmake/qt5 too. Also remember that a generic Qt build does not have to install each module inside the same prefix. They can be anywhere. Relative paths might not be enough. Also remember that the qmake code dealing with relative paths is broken. That's why you can only do out-of-source builds from outside the source, not in a subdir of it. > Working in a team, until now I'm THE one building Qt from sources, then > everyone else just pick the binaries I provide in a kind of package. So > being able to move Qt around is quite important to us, having everyone > spending 4 hours rebuilding the same thing over and over is overkill. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
