Installing SoQt For Linux - iat-cener/tonatiuh GitHub Wiki

SoQt is a library that provides the glue between Systems in Motion's Coin high-level 3D visualization library and Trolltech's Qt 2D user interface library. This pages provides instruction regarding how to install SoQt in your computer under Linux.

Before installing SoQt, please, verify that Qt and Coin 3D are already installed and functioning on your PC. If they are not, install them first by following the corresponding installation procedures Installing Qt For Linux and Installing Coin3D For Linux.

Details

Download the latest release of the SoQt, currently SoQt 1.5.0. To do it, click on the following link to go to the "SoQt 1.5.0" webpage of the Coin website. Once you reach the webpage, click on the link titled "Get SoQt 1.5.0 for all platforms" (see Figure 1). This will start the downloading of the SoQt source package. When prompted if to open or to store the file in your computer, place it on your "downloads" directory, e.g., /home/downloads. .

images/soQt/SoQt_download.png
Figure 1. View of the "SoQt 1.5.0" webpage.

Open a shell console, navigate to download directory and extract the archive by typing:

tar -zxvf SoQt-1.5.0.tar.gz

This will create a directory called SoQt-1.5.0 in your user directory. Using the shell navigate to the just created SoQt-1.5.0. directory and type:

export COINDIR="/usr/local"
export INCLUDE="/usr/local/include:/usr/local/Trolltech/Qt-4.7/qt/include"

Type configure command for release build:

./configure --enable-debug=no --enable-symbols=no --with-coin=/usr/local --with-qt=/usr/local/Trolltech/Qt-4.7/qt

This will start the configuration process. This process should finish succesfully with the following message:

SoQt configuration settings:
  Open Inventor brand:  Coin
  Static Materials:     Yes
  Installation Prefix:  /usr/local

Now, run 'make install' to build and install SoQt.

Then, to install the SoQt libraries type:

make
make install

Once the SoQt library is installed the next step is to install the Marble library. To do it, follow the instructions in the following wiki page: Installing SQLite.


Linux Configuration | Wiki Home