QGLViewer/QGLViewer.pro
..dsp
generated
file, and select Release as the Build/Active Configuration.QGLViewer139.dll
* in a library
directory, such as C:\WINDOWS\system32
(or C:\WINNT\system32
with Windows
2000). Alternately, you can copy it to every application directory.
If your Qt version is lower than 3.1, you have to install the GLUT library in order to have text
display. Add the paths to GLUT in your Include
and Library
Project-Properties *, and copy glut32.dll
in a
library directory (as in point 6 above).
.NET | Visual Studio 6 |
---|---|
Tools-Add-Ins manager-QtNet | Tools-Customize-Add-ins and Macro Files/QMsDev Add in |
Open Qt Project | Generate Qt Project |
QGLViewer139.dll | QGLViewer.dll |
Project-Properties-C/C++-General-Additional Include Directories | Tools-Options-Directories-Include files |
Project-Properties-Linker-General-Additional Library Directories | Tools-Options-Directories-Library files |
Windows XP users may have to perform all this installation with Administrator priviledges.
Follow the installation procedure described above for Qt 3, but replaceQGLViewer.pro
by QGLViewer.Qt2.3.pro
and open this file instead.EPSInterface.ui
by EPSInterface.Qt2.3.ui
./GX /GR
in Project-Settings-C-C++, Project Options for
exceptions and dynamic casts.qglviewer.h
and change saveSnapshot()
as explained on line ~460.glut32.lib
to Projects-Settings-Object/library modules.illegal call
error messages during the compilation of
className()
in moc files. Simply remove the first qglviewer::
just after
strcmp(
and recompile.
thread
from the
CONFIG
line in QGLViewer.pro
.
Then compile QGLViewer as explained in the Unix installation page.
You should link a file named libQGLViewer.dll
to the resulting
cygQGLViewer-1.dll
(or rename it) and copy libQGLViewer.dll
in the
C:\WINDOWS/system32
directory. Note that cygqt-3.dll
and
cygqui-1.dll
(located in $(QTDIR)/bin
or $(QTDIR)/lib
) should
also be copied in that directory. Thanks Jean-Gui for these details.
Please let me know if you encountered specific installation problems that could be reported on this page.
designerPlugin.pro
file to create your workspace. Compile and install the resulting
library in $QTDIR\plugins\designer
, which may require administrator priviledges.
Such a plugin eases the creation of user interfaces that feature a QGLViewer using designer. It
makes a GLViewer icon appear in the designer's Display
widget tab, as a standard Qt
widget. When added to your user interface, the widget displays the standard spiral, which can be
rotated when you test your interface (using Ctrl+T
).
Note that an alternative to this plugin is to add a "Custom Widget" using the
Tools/Custom designer menu. Load Descriptions... and provide the
qglviewer.cw
custom widget description file, located in the QGLViewer header files
directory. You can customize this description with your own signals and slots and change the header
file path.