On Friday 12 December 2014 11:09:13 René J.V. Bertin wrote: > Hi, > > I must have overlooked something, but didn't see any particularly detailed > build and installation instructions for qtchooser. It seems the Makefiles > in git were generated by qmake; should one call the qmake of the intended > default Qt version to build qtchooser, so that the paths in the Makefiles > are set correctly, instead of having to patch those Makefiles? There's also > a hard-coded path to /etc/xdg in main.cpp, which is not appropriate for the > system I'm working with (MacPorts) as it's outside the install prefix > (which is in fact user-selectable). I'm now handling this with a patch to > main.cpp, but it'd be more elegant if qtchooser's build system could take > care of this. In autoconf/configure terms that'd be something like > --prefix=/ (current set-up; paths /usr and /etc/xdg) and > --prefix=/opt/local (MacPorts' default; paths /opt/local/bin and > /opt/local/etc/xdg).
make prefix=/opt/local The .pro file in src/qtchooser is there only to help you open qtchooser in Qt Creator. It works the same way as qmake/qmake.pro in qtbase: you can open it, but you should remove the actual qmake step from the list of actions in Creator. Run make only. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest