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

Mateusz Loskot mateusz at loskot.net
Fri Dec 20 23:53:30 CET 2013

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?

Best regards,
Mateusz  Łoskot, http://mateusz.loskot.net

More information about the Qt-creator mailing list