[Interest] qdoc not working for my project (namespace issues?)
Alberto Mardegan
mardy at users.sourceforge.net
Sat Jul 29 21:16:39 CEST 2017
> I've used qdoc before, but only for QML modules, and that worked without
> isses; but for some reason, when I run it on this C++ library, all I get is:
>
> =========
> /home/mardy/Qt/5.8/gcc_64/bin/qdoc
> /home/mardy/src/git/accounts-sso/libauthentication/doc/authentication.qdocconf
> -outputdir /home/mardy/src/git/accounts-sso/libauthentication/dbuild/html
> /home/mardy/src/git/accounts-sso/libauthentication/doc/intro.qdoc:1:
> warning: Cannot find 'Authentication' specified with '\namespace' in any
> header file
> /home/mardy/src/git/accounts-sso/libauthentication/lib/Authentication/oauth1.cpp:357:
> warning: Cannot find 'OAuth1' specified with '\class' in any header file
> =========
Answering myself, for the posterity :-)
This error is not related to namespacing, but really to the fact that
the include files were not found: I add to add this line
headers.fileextensions += *.h
to my qdocconf file, or qdoc wouldn't find my headers. AFAIU, this line
is not present in many other qdoc projects only because it's already
defined by some qdoc file included by the main one.
Ciao,
Alberto
More information about the Interest
mailing list