[Development] `/opt/qt5/bin/qdoc: not found` with `-prefix /opt/qt5` config

Sergio Ahumada sahumada at texla.cl
Fri May 9 19:19:29 CEST 2014


El 09/05/14 16:01, Koehne Kai escribió:
>
>
>> -----Original Message-----
>> From: development-bounces+kai.koehne=digia.com at qt-project.org
>> [...]
>> -prefix is where you want it to finally end up on the users' computer, but
>> INSTALL_ROOT is where you want it to get installed to so you can package it
>> cleanly.. usually.
>
> You should be able to do s.th. like
>
> $ make && make install
> $ make docs
> $ make install INSTALLROOT=$PWD/qt
> $ make install_docs INSTALLROOT=$PWD/qt
>

At least what we do in the packaging scripts is:

# qt
make
make install INSTALL_ROOT=blah

# docs
make qmake_all
make install
make docs
make -j1 install_docs INSTALL_ROOT=blah

Not sure whether all the steps are needed though.

Cheers,

--
Sergio Ahumada



More information about the Development mailing list