Home Documentation Download Screenshots Developer

libQGLViewer installation

libQGLViewer can easily be installed on many architectures. It was successfully installed on Linux (gcc version 2.95, 2.96, 3.2 and 3.2.2), 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 license and is provided as-is with no guarantee.

Select your architecture : linux         windows         mac         or see the Qt section Qt

Version 1.3.3 introduces many changes in the API. Go to the repository to download previous versions.

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 other rpm):
gcc 2.96 > rpm -Uvh libQGLViewer-1.3.3-1.i586.gcc2.rpm libQGLViewer-devel-1.3.3-1.i586.gcc2.rpm
gcc 3.2  > rpm -Uvh libQGLViewer-1.3.3-1.i586.rpm libQGLViewer-devel-1.3.3-1.i586.rpm

You can also directly compile the sources:

windowsWindows

New libQGLViewer now compiles with the free Qt version 2.3 :

An other option is to install the cigwin linux emulator, with the Qt-KDE port. You should then be able to use the latest Linux version of libQGLViewer (this was not tested, please send me an e-mail if you try).

macMac OS X

The installation procedure is very similar to the one described in the linux section. The GL and GLUT paths may have to be tuned in config.h and src.pro.

A Qt-X11 port is available for download from the apple web site.

QtQt installation

You need to have the Qt library installed in order to run libQGLViewer. Check the Qt FAQ in case of problem:

linuxLinux and Unix

Qt is probably already installed on your machine, or available on your distribution CDs. You may however have to install the qt3-devel (Mandrake and redhat rpm) or aptget libqt3-mt-dev (debian) development package. The complete Qt/X11 non commercial version can also freely be downloaded.

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

Download the free Qt/Windows non commercial version (ver 2.3), or the Qt/Desktop 30 day evaluation version (ver 3.1). Screenshot saving are not supported with the free 2.3 version. There also seems to be a problem with inherited signals in Qt 2.3, and pointers to Frames in KeyFrameInterpolator are hence disabled.

macMac OS X

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, details to come.

Please let me know if you encountered specific installation problems that could be reported on this page.

Valid XHTML 1.0! Valid CSS! Last modified on vendredi, juin 27 2003.