Home · Overviews · Reference · Classes codeless banner

SolutionProject Javascript Class Reference

Represents the project in abstract.

Methods

isValid(): boolean

Returns true if this is a non-null project, otherwise returns false.

isSubproject(other): boolean

Returns true if this is a subproject of other. other must be a SolutionProject instance.

node(): string

Returns the absolute identifier for this SolutionProject.

nodePath(): string

Returns the absolute path for this SolutionProject. This will usually be equal to node, unless the SolutionProject file is not qbuild.pro.

filename(): string

Returns the .pro file associated with this SolutionProject. Will return an empty filename for invalid or virtual projects.

subprojects(): list<string>

Returns the subprojects of this project.

project(): Project

Returns the finalized Project instance for this project.

fileModeProject(): Project

Returns the finalized Project instance for this file. Note that the file will be parsed by itself. No initial scripts (eg. default.pri) will be processed.

See also Javascript Binding.


Copyright © 2009 Nokia
Qt Extended - QBuild Maintainer Guide