Build QtCreator from source, set installation path [Solved]
-
Hi all,
I'm trying to build QtCreator from source in Linux.To build it I used:
@
cd qt-creator-2.4.0-src
qmake qtcreator.pro
make
make install
@but it try to install in /lib/qtcreator/ .
Ho can I tell qmake to install in /home/luca/qtcreator ?
-
qmake's make install rule uses the INSTALL_ROOT prefix by default, so you need
make install INSTALL_ROOT=/home/luca/qtcreator
it will put /lib /bin and /share underneath (in your case, it should actually try to install all three, but to the root directory).
-
[quote author="danimo" date="1323945384"]qmake's make install rule uses the INSTALL_ROOT prefix by default, so you need
make install INSTALL_ROOT=/home/luca/qtcreator
it will put /lib /bin and /share underneath (in your case, it should actually try to install all three, but to the root directory).[/quote]
Thanks, it Works!