Qt Reference Documentation

opengl.pro Example File

activeqt/opengl/opengl.pro
 TEMPLATE = app
 TARGET   = openglax

 CONFIG  += qt warn_off qaxserver

 QT += opengl

 HEADERS  = glbox.h \
            globjwin.h
 SOURCES  = glbox.cpp \
            globjwin.cpp \
            main.cpp
 RC_FILE  = $$QT_SOURCE_TREE/src/activeqt/control/qaxserver.rc

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/activeqt/opengl
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS opengl.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/activeqt/opengl
 INSTALLS += target sources
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.