Home · Reference · User Guide · Internals

Depot Hopping

If you are editing source files and shadow building (ie. build tree != source tree) you may be interested in depot hopping. Simply set QTOPIA_BUILD (for backwards compatibility, QPEDIR is also accepted) to the location of your build tree and the Makefiles that qtopiamake puts in the source tree will call through to the ones in the build tree.

    cd /path/to/build
    export QTOPIA_BUILD=$PWD
    cd /path/to/source/examples/application
    $QTOPIA_BUILD/bin/qtopiamake # sets up shadow build to $QTOPIA_BUILD/examples/application
    make # build in $QTOPIA_BUILD/examples/application


Copyright © 2007 Trolltech Qtopia Build System Documentation