[Development] qdoc for C++ and QML

Uwe Rathmann Uwe.Rathmann at tigertal.de
Mon Apr 24 17:37:39 CEST 2017


On Mon, 24 Apr 2017 15:08:25 +0000, Shawn Rutledge wrote:

> I guess we haven’t run into this very frequently yet because so few
> classes have both a C++ and a QML API within the same class.

Well, this is exactly my use case. All my controls are 100% implemented 
in C++ offering a full featured C++ API. Having a usable QML API is a 
side effect you almost can't avoid, when doing it this way.

I started to get the job done with doxygen and a homebrew filter, that 
preprocesses my docs by seperating the QML and C++ paths. But having 
something usable from Qt would be highly appreciated.

Not sure if qdoc is intended to be useful for 3rd party libraries as 
well, but at least for my use case it would save me a lot of work.

ciao,
Uwe




More information about the Development mailing list