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

Qtopia Tips

Introduction

This page discusses the tasks that may need to be performed when using/building Qtopia.

License Operations

What is the LICENSE File?

A source package will contain a file named LICENSE which outlines the conditions under which the package can be used.

What is the ~/.qt-license File?

A ~/.qt-license file is required when building commercial packages. For instruction on creating the ~/.qt-license file see the Licenses section of the web-page provided your Qtopia download account. Contact sales@trolltech.com for discussion about the license that you have purchased.

Package Operations

Checking a RPM is Installed

To check if an RPM <NAME> was installed run:

        rpm -q <NAME>
Alternatively run:
        rpm -qa  |  grep -i <NAME>

Installing an RPM

To install a RPM called <PACKAGE> run:

    su -c "rpm -ivh <PACKAGE>"

Removing a RPM

To remove the RPM <NAME> run:

    su -c "rpm -e <NAME>"

Extract Directory for a .tar.gz File

There are some limits to the acceptable characters in directories. The details are in Acceptable Directory Characters.

Extracting the .tar.bz2 File

To extract a .tar.bz2 file called <PACKAGE> run:

    tar -xjvf <PACKAGE>

Extracting the .tar.gz File

To extract a .tar.gz file called <PACKAGE> run:

    tar -xzvf <PACKAGE>

Integrity Check of Downloaded Ppackages

When downloading files from a Trolltech server there will often be a file named md5sum.txt . The md5sum.txt file contains checksums for all the available files and it is strongly recommended that you download this file along with the others. When you have downloaded the required files, including md5sum.txt simply run:

    md5sum -c md5sum.txt

To determine what files need to be downloaded for your usage of Qtopia see Getting started

File Operations

Checking What a File Contains

Under a Unia/Linux system you can use the "file" command. This is handy when you are not sure what CPU architecture binary file suits, for example run:

    file /opt/Qtopia/bin/qpe

Checking Binary File Dependencies

Under a Unix/Linux system you can use the "ldd" command. This is handy when you need to check what shared libraries a binary uses, for example run:

    ldd /opt/Qtopia/bin/qpe

Qtopia Device User Help

Getting Help with a Device Pre-installed with Qtopia

For information about using a device upon which Qtopia has already be pre-installed then see :

Related Topics

FAQs

See the FAQs section in the Qtopia index page

Getting Started

To determine what steps are needed to get started with Qtopia see: Getting started


Copyright © 2005 Trolltech Trademarks
Qtopia version 2.2.0