I always use Enterprise Architect to generate the class diagram of a C++ project from the source files. Now, I have a QT projecct. Is there any way to generate the class diagram from QT source files?
Yes, but you probably need to run qmake first and include the meta-object sources.
Another possibility (or you might need to do this anyway) is to add the Qt-specific preprocessor macros (SIGNAL()
and SLOT()
and the QObject-defined ones for instance) to EA. I don't have an installation handy at the moment so I'm not able to tell you exactly how it is done.