Home · Overviews · Reference · Classes |
The Project class represents a single project. More...
#include <Project>
Inherits QMakeObject.
The Project class represents a single project.
Following finalization, all methods are thread safe (the object has become read-only)
See also qbuild.pro.
Constant | Value | Description |
---|---|---|
Project::ProjectMode | 0 | The project was opened in project mode. |
Project::FileMode | 1 | The project was opened in file mode. |
Add path to the list of paths in which QBuild looks for mkspecs.
Returns the path of this project as a generated filesystem path.
This is equivalent to solution()->findFile(nodePath(), Solution::Generated).fsPath().
Returns a string with the reason that the project was disabled.
Parse and run data as a scope using filename to report parsing errors. The return value of the scope is set in rv. Returns true if everything was parsed correctly, false otherwise.
Returns a solution file that represents the project.
Include the file represented by fileName. Returns true if the file could be parsed, else false.
Returns true if option is contained in the CONFIG variable.
Returns the list of paths in which QBuild looks for mkspecs.
Returns the name of the project.
Returns the path of the project.
Reset the project because of reason. Note that a project can only be reset once per reason. The value is stored and can be retrieved from the property reason in the object returned by Project::resetReason().
Returns the reasons that have caused the project to be reset.
See also reset().
Parse and run data using filename to report parsing errors. Returns true if the data could be parsed, false otherwise.
Disable the project and report the reason.
Returns the value of the object specified by property.
Copyright © 2009 Nokia | Qt Extended - QBuild Maintainer Guide |