[Development] qdoc for C++ and QML

Martin Smith Martin.Smith at qt.io
Mon Apr 24 19:11:58 CEST 2017


>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.

It is meant to be useful for 3rd party libraries, so we just need to agree on the right way to do this.
________________________________________
From: Development <development-bounces+martin.smith=qt.io at qt-project.org> on behalf of Uwe Rathmann <Uwe.Rathmann at tigertal.de>
Sent: Monday, April 24, 2017 5:37:39 PM
To: development at qt-project.org
Subject: Re: [Development] qdoc for C++ and QML

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

_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list