| Home | Documentation | Download | Screenshots | Developer |
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 :
or see the Qt section
Version 1.3.3 introduces many changes in the API. Go to the repository to download previous versions.
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
> tar -xzf libQGLViewer-1.3.3.tar.gz > cd libQGLViewer-1.3.3/src > qmake > makeIn case of compilation troubles, edit
config.h and src.pro.> qmake [INCLUDE_DIR=...] [LIB_DIR=...] > make installThe second
qmake is compulsory (even if you do not specify your own install directories)./usr/local/include/QGLViewer and
/usr/local/lib.INCLUDE_DIR and LIB_DIR
parameters let you customize your installation and are especially useful if you do not have root
privileges on your machine. A typical usage would be: qmake LIB_DIR=$HOME/lib
INCLUDE_DIR=$HOME/include.
> cd ../examples > qmake > makeIf you installed the library in a specific directory, you have to set the include and lib paths accordingly in the examples'
.pro files.
Windowssrc directory. Qt 2.3 users, see below.src.pro to create a
dsp file (if it does not work, try to move the libQGLViewer directory
under your Qt directory).qmake -win32 -t vclib -o libQGLViewer.dsp src.pro in a DOS console instead..dsp workspace and compile the library (make sure you select
Release as the Build active configuration)..h include files should go in a
QGLViewer directory. QGLViewer.lib and QGLViewer.dll should
be moved in a library directory (tune the Tools-Options-Directories-Library path accordingly if
needed)..pro files into .dsp workspaces.
New libQGLViewer now compiles with the free
version 2.3 :
QGLViewer.pro instead of src.pro to create the .dsp file.qmake -win32 -t vclib -o QGLViewer.dsp QGLViewer.pro in a DOS console instead./GX in Project/Settings/C-C++/General/Project Option to limit warnings.qglviewer.h and change saveSnapshot() on line ~412..pro and remove the end of the file as explained.
Mac OS Xconfig.h and
src.pro.
A Qt-X11 port is available for download from the apple web site.
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
WindowsFrames in KeyFrameInterpolator are
hence disabled.
Mac OS XPlease let me know if you encountered specific installation problems that could be reported on this page.