[Qt-creator] Closing project plugins

preeteesh kakkar preeteesh.kakkar at gmail.com
Wed Apr 30 07:25:46 CEST 2014


I am not sure if this will work or not but try deleting m_watcher &
m_document in destructor

On Tue, Apr 29, 2014 at 4:39 PM, Hugo Parente Lima <hugo.pl at gmail.com>wrote:

> Hi,
>
> I did a small QtCreator plugin to handle projects written using my own
> build system, the plugin is the most simple project plugin that could
> exists, i.e. no build steps, no build configuration, nothing, just the
> project files indexed by the C++ code model.
>
> So, here is my problem:
>
> Having a project using my plugin opened into QtCreator if I choose
> "close all projects", everything goes as expected, but if I close the
> project using the context menu on the Project tree in the left pane,
> all editors are closed but the tree nodes remains there, I can even
> open the files by double clicking them.
>
> I may forgot something, but after a look into other project plugins I
> didn't found what's missing.
>
> The ProjectExplorer::Project derived class can be found here:
>
> https://github.com/Meique/MeiqueQtCreatorPlugin/blob/master/src/MeiqueProject.cpp
>
> Thanks in advance if someone have some ideia where's the problem.
>
> --
> Hugo Parente Lima
> "Precisamos de mais gĂȘnios modestos no mundo, hoje somos poucos!"
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140430/d2ac9db1/attachment.html>


More information about the Qt-creator mailing list