Home Documentation Download Screenshots Developper

libQGLViewer installation

libQGLViewer can easily be installed on many architectures. It was tested on Linux (gcc version 2.96 and 3), SGI IRIX 6.5, Windows, Mac OS X and QNX. Let me know if you encountered problems that could be reported on this page or if you compiled it on another architecture.

libQGLViewer is distributed under the GNU-GPL licence and is provided as-is with no guarantee.

Select your architecture : linux         windows         mac

linuxLinux and Unix

The easiest way to install the library on Linux is to use the RPM pre-compiled version (see the RPM page for details):
rpm -Uvh libQGLViewer-1.2.8-1.i586.rpm
libQGLViewer-devel-1.2.8-1.i586.rpm

You can also directly compile the sources: qt If Qt is not installed on your system, download and install the free Qt/X11 non commercial version.
Try to compile a simple Qt example and check the Qt FAQ page in case of problem. You will probably need to set some Qt variables:
tcsh > setenv QTDIR /usr/lib/qt3 (/usr/share/qt on debian)
bash > export QTDIR=/usr/lib/qt3 (/usr/share/qt on debian)
> set PATH=${PATH}:${QTDIR}/bin/
> set LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${QTDIR}/lib
If only the non-threaded version of Qt is installed on your machine (libqt.so instead of libqt-mt.so), simply remove thread from src/src.pro

windowsWindows

qt If Qt is not installed on your system, download the free Qt/Windows non commercial version (ver 2.3), or the Qt/Desktop 30 day evaluation version (ver 3.0). Some code modifications are needed in order to compile QGLViewer with Qt 2.3 (details to come).

macMac OS X

The installation procedure is very similar to the one described in the linux section, with few differences:

qt If Qt is not installed on your system, download the free Qt/Desktop 30 day evaluation version for Mac. Another option is to install X11 on your mac, and then to install the Qt-X11 free edition. Some details will be available from here.

Valid XHTML 1.0! Valid CSS! Last modified on jeudi, janvier 16 2003.