[Qt-creator] Is ProjectExplorer::Project::setId() gone?

André Pönitz andre.poenitz at mathematik.tu-chemnitz.de
Sat Dec 21 00:17:31 CET 2013


On Fri, Dec 20, 2013 at 10:53:30PM +0000, Mateusz Loskot wrote:
> On 20 December 2013 22:16, Mateusz Loskot <mateusz at loskot.net> wrote:
> > Hi,
> >
> > The "Extending Qt Creator Manual 3.0.81" [1] lists setId as projected
> > method of the Project class, but project.{h|cpp} from the current git
> > branch 3.0 does not contain such method.
> > git log does not tell much either.
> >
> > Has it been removed?
> >
> > [1] http://doc-snapshot.qt-project.org/qtcreator-extending/projectexplorer-project.html#setId
> 
> Actually, it seems, it is the other way around as the Project::setId is present
> in the master branch.
> 
> If that is indeed the case, what would be the way to support
> compilation of a plugin
> with against both, branch:3.0 and the master (presumably next 3.1).
> Is there any preprocessor define I can use to conditionally compile here?

There are IDE_VERSION_{MAJOR,MINOR,PATCH} macros in app/app_version.h

Andre'



More information about the Qt-creator mailing list