Organize QtOpenGLWidgets documentation
Move snippets to the right place, and give the widgets class a place to live. QtOpenGLWidgets is just a library, not a separate module, but we need a module page that the class can refer to for correct build instructions. Change-Id: I6d955ad3c4cd1003a828cc1f256deb6e7fb50ec4 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
61574ee963
commit
7635d77689
@ -11,8 +11,10 @@ project = QtOpenGL
|
||||
# <rootdir>/examples.
|
||||
# Paths are relative to the location of this file.
|
||||
|
||||
headerdirs += ..
|
||||
headerdirs += .. \
|
||||
../../openglwidgets
|
||||
sourcedirs += .. \
|
||||
../../openglwidgets \
|
||||
../../../examples/opengl/doc/src
|
||||
exampledirs += ../../../examples/opengl \
|
||||
. \
|
||||
|
@ -31,9 +31,6 @@
|
||||
\brief The Qt OpenGL module offers classes that make it easy to
|
||||
use OpenGL in Qt applications.
|
||||
|
||||
\warning This module should not be used anymore for new code. Please
|
||||
use the corresponding OpenGL classes in \l{Qt GUI}.
|
||||
|
||||
\section1 Introduction
|
||||
|
||||
OpenGL is a standard API for rendering 3D graphics. OpenGL only
|
||||
|
@ -35,5 +35,19 @@
|
||||
\brief The Qt OpenGL module offers classes that make it easy to
|
||||
use OpenGL in Qt applications.
|
||||
|
||||
\warning This module should not be used anymore for new code.
|
||||
The \l{Qt OpenGL Widgets C++ Classes}{Qt OpenGL Widgets} library provides
|
||||
a C++ widget class for rendering OpenGL graphics into widgets UIs.
|
||||
|
||||
\generatelist classesbymodule QtOpenGLWidgets
|
||||
*/
|
||||
|
||||
/*
|
||||
This "module" only exists so that classes in that separate library have
|
||||
the correct build system documentation.
|
||||
*/
|
||||
/*!
|
||||
\module QtOpenGLWidgets
|
||||
\title Qt OpenGL Widgets C++ Classes
|
||||
\qtcmakepackage OpenGLWidgets
|
||||
\qtvariable openglwidgets
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user