[Qt-creator] Adding projects to session
Андрей Полтавец
andrey.poltavets at gmail.com
Wed Feb 4 19:11:55 CET 2015
Hi QtC devs! Please help me workaround my trouble.
I am fully lost in code. I wrote own project format and trying to add files
to current session. Now I bushed at 100%. :)
Where is right point to start? Now I have unworking code like this:
project =
ProjectExplorer::ProjectExplorerPlugin::instance()->openProject(*projectFilename,
&er); //yeah, i have "QString * projectFilename;"
ProjectExplorer::SessionManager::instance()->sessionNode()->addProjectNodes(QList<ProjectExplorer::ProjectNode
*>() << project->rootProjectNode());
Please correct it for successfully adding my project.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150204/3737571f/attachment.html>
More information about the Qt-creator
mailing list