Qt Modeling - Is it possible to generate source code and documentation from model?
-
Hi,
I have recently discovered an interesting feature of Qt which is about modeling the software architecture in UML.
This is very nice, but I'm still not sure if there is an option for C++ code generation, as well as a support for generating documentation from model.
Any ideas?
-
Hi
I assume you found
https://doc.qt.io/qtcreator/creator-modeling.html
As far as i know, it does not do doc or code generation. -
Hi
I assume you found
https://doc.qt.io/qtcreator/creator-modeling.html
As far as i know, it does not do doc or code generation. -
Btw, just as a note.
I use StarUML http://staruml.io/ +
https://github.com/staruml/staruml-cpp
for c++ generation. It's not perfect but allows prototyping from the model. -
Btw, just as a note.
I use StarUML http://staruml.io/ +
https://github.com/staruml/staruml-cpp
for c++ generation. It's not perfect but allows prototyping from the model.@mrjj Thanks for the information. I was using it too, and yes it supports both generation of code and doc - But its C++ code generation feature is implemented via 3rd party plugin. I prefer Qt for modeling though, since I find it more integrated with my Qt development and also has better UX and performance.