Qtopia Home - Classes - Hierachy - Annotated - Functions - Licenses - Reference

Environment Variables

Introduction

Environment variables are set in a number of ways depending on the type of Qtopia package obtained and the intended usage:

Configurations

Building Applications for an ARM Configuration Using an SDK Package

Please ensure you have your cross compiler in your PATH.

    export QPEDIR=/opt/Qtopia/arm
    export QTDIR=/opt/Qtopia
    export DQTDIR=/opt/Qtopia
    export PATH=$QPEDIR/bin:$DQTDIR/bin:$PATH
    export LD_LIBRARY_PATH=$QPEDIR/lib:$DQTDIR/lib:$LD_LIBRARY_PATH

Optional step if you have a .pro file that requires tmake.

    export TMAKEDIR=/opt/Qtopia/tmake
    export PATH=$TMAKEDIR/bin:$PATH
    export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++

Building Applications for an X86 Configuration Using an SDK Package

    export QPEDIR=/opt/Qtopia
    export QTDIR=/opt/Qtopia
    export DQTDIR=/opt/Qtopia
    export PATH=$QPEDIR/bin:$PATH
    export LD_LIBRARY_PATH=$QPEDIR/lib:$LD_LIBRARY_PATH

Optional step if you have a .pro file that requires tmake.

    export TMAKEDIR=/opt/Qtopia/tmake
    export PATH=$TMAKEDIR/bin:$PATH
    export TMAKEPATH=$TMAKEDIR/lib/qws/linux-generic-g++

Building Qtopia or Applications Using a Source Package

Make sure that you have configured the Qtopia package, and then:

    . qtopia_root_dir/setQpeEnv
where qtopia_root_dir is the root directory of the installed Qtopia source package.


Copyright © 2005 Trolltech Trademarks
Qtopia version 2.2.0