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

Joseph Crowell joseph.w.crowell at gmail.com
Sat May 10 02:15:05 CEST 2014


Any idea why the Qt examples can't be found anywhere in the arch 
packages and are of course not listed in Creator?

On 5/9/2014 11:45 PM, Ray Donnelly wrote:
> You're repeating yourself without adding any explanatory information.
>
> When releasing software for other people to use, normally you'd
> package it elsewhere to -prefix, otherwise how do you untangle the Qt
> files from the rest of your files?
>
> As an example of this, from Arch Linux's Qt5 packaging function in the PKGBUILD:
>
> package_qt5-base() {
> ..
>    cd ${_pkgfqn}/qtbase
>    make INSTALL_ROOT="${pkgdir}" install
>
>
> On Fri, May 9, 2014 at 2:21 PM, Giuseppe D'Angelo <dangelog at gmail.com> wrote:
>> On 9 May 2014 15:16, Ray Donnelly <mingw.android at gmail.com> wrote:
>>> On Fri, May 9, 2014 at 10:05 AM, Giuseppe D'Angelo <dangelog at gmail.com> wrote:
>>>> On 9 May 2014 10:53, Yuchen Deng <loaden at gmail.com> wrote:
>>>>> If I have to do `make install` first, then I can't use `make install
>>>>> INSTALL_ROOT=$PWD/qt` anymore.
>>>>> It's means INSTALL_ROOT does not support for this case?
>>>> What do you mean? "make install" will install in the directory you
>>>> chose with the -prefix option. Why do you want to override that now?
>>>>
>>> -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 can't package it in any other place rather than -prefix. Just use
>> "make install" before "make docs".
>>
>> --
>> Giuseppe D'Angelo
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development




More information about the Development mailing list