BuildQtX11

This page will take you from steps to steps to build opie and play with it on you x86 linux distribution.

= 1. First thing =

First thing, for convenience, we'll create a folder in which we'll download, install and build everything. Let's assume that the folder is "opiehome", in your home. If you do not already have this folder, please follow those steps :

cd mkdir opiehome cd opiehome

= 2.Download QT/X11 =

In order to build Opie, you need the qt-x11 version 2.3.2. You can find it here : ftp://ftp.trolltech.com/pub/qt/source/qt-x11-2.3.2.tar.gz If you have wget tool installed on your system, you can use the following command

wget ftp://ftp.trolltech.com/pub/qt/source/qt-x11-2.3.2.tar.gz

= 3.Untar =

Now it's time to untar the file

tar zxvf qt-x11-2.3.2.tar.gz

Another thing needed is to set environment variable

cd qt-2.3.2 export QTDIR="$(pwd)"

= 4.Configure and make QT/X11 =

Here are the commands to configure and make QT/X11

./configure -no-opengl -no-xft -thread --static make

= 5.Make qvfb tool =

qvfb is the Qt Virtual Frame Buffer, needed to run Opie on a x86 linux plateform. Here is how you make it and move it to the bin folder

make -C tools/qvfb mv tools/qvfb/qvfb bin

You can also make other tools as needed, following the same syntax. Here's an example to make designer (layout designer) :

make -C tools/designer mv tools/designer/designer bin

After building those tools, if you want to build Opie, you may link/move them to Qt/Embedded bin folder. You'll find explanation on how to link uic and qvfb to the Qt/Embedded bin folder on the BuildOpie wiki page.