Re: [Qbs] Unable to run qdoc in Qt 5.11

2018-03-29 Thread resurrection

Well it is reported only as warning because it does not prevent qdoc from finishing but 
it will not find any of the project's headers so it will not create any documenation. As 
Martin Smith explained here 

 it is required by qdoc in Qt 5.11. While it loads all header files it will find it will 
only consider for documentation purposes those found in the precompiled header (created 
from the moduleheader file). So while it will not fail per se no documentation will be 
generated either without it.
 
On a related note I thank you for the suggestion with the environment variable! 
However it only works for single include directory since qdoc unfortunately 
does not handle lists coming from environment variables but considers them a 
singular value. I have reported it already but for now I am not sure how to run 
qdoc via qbs with multiple includepaths set from qbs (other than setting them 
in qdocconf).
 
Michael
__

Od: Joerg Bornemann 
Komu: resurrect...@centrum.cz, qbs@qt-project.org
Datum: 29.03.2018 12:59
Předmět: Re: [Qbs] Unable to run qdoc in Qt 5.11


On 03/24/2018 04:38 PM, resurrect...@centrum.cz wrote:

> 2. All header files need to be included in a "moduleheader" file 
> specified in qdocconf file like so:
> 
> moduleheader = MyModule.h


I've now looked into this a bit more, and turns out that this is merely 
a warning, which can be ignored. If you really want to get rid of it you 
can set the environment variable QT_INSTALL_DOCS to 
here_is_my_Qt_installed/doc.



Cheers,

Joerg

___
Qbs mailing list
Qbs@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs


Re: [Qbs] Unable to run qdoc in Qt 5.11

2018-03-29 Thread Joerg Bornemann

On 03/24/2018 04:38 PM, resurrect...@centrum.cz wrote:

2. All header files need to be included in a "moduleheader" file 
specified in qdocconf file like so:


moduleheader = MyModule.h


I've now looked into this a bit more, and turns out that this is merely 
a warning, which can be ignored. If you really want to get rid of it you 
can set the environment variable QT_INSTALL_DOCS to 
here_is_my_Qt_installed/doc.



Cheers,

Joerg
___
Qbs mailing list
Qbs@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs