Home · Overviews · Reference · Classes |
foo=$$path(foo.cpp,project)
The path() function takes 2 arguments. A filename and an enum that tells it where to look.
The locations that can be searched are:
In the build tree
In the project tree (the directory with qbuild.pro)
Note that files specified with project must exist.
foo=$$path(foo,project) isEmpty(foo):message(foo does not exist in the project directory!)
You can use named solutions too.
foo=$$path(QtopiaSdk:/bin/qbuild,generated)
See also QBuild Functions and QBuild Script.
Copyright © 2009 Nokia | Qt Extended - QBuild Maintainer Guide |