[Qt-creator] Embedding sis files in Qt Creator

Michael Klank michael.klank at amk-antriebe.de
Tue May 3 06:52:54 CEST 2011


I'm developing a QtCreator plug-in, which should generates/removes (a lot)
source code. I have problems with add/remove source code and the document sync,
probably.

In details, I have to remove a method from a class (*.h, *.cpp) as next I have
to add new methods. The problem is that some code is not removed from class,
probably the document is out of sync?!?! I tried
CPlusPlus::CppModelManagerInterface::instance()->updateModifiedSourceFiles(); to
get sync but it doesn't work.

How can I handle add/remove source code to a "Document::Ptr" in a save way,
without losing sync?

Thank you in advance.

Michael




More information about the Qt-creator-old mailing list