Doc: compile transform snippets
Done-with: Nico Vertriest <nico.vertriest@qt.io> Fixes: QTBUG-81486 Change-Id: Ie35d22469e7f8d9c244b70665af30b39e265766a Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
614ca8ec4a
commit
98f41552e4
@ -40,5 +40,6 @@ contains(QT_BUILD_PARTS, tests) {
|
||||
textdocument-resources \
|
||||
textdocument-selections \
|
||||
textdocument-tables \
|
||||
textdocument-texttable
|
||||
textdocument-texttable \
|
||||
transform
|
||||
}
|
||||
|
@ -47,9 +47,11 @@
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
#include <QApplication>
|
||||
#include <QPainter>
|
||||
#include <QVBoxLayout>
|
||||
#include <QWidget>
|
||||
|
||||
#include <QtGui>
|
||||
#include <cmath>
|
||||
|
||||
class SimpleTransformation : public QWidget
|
||||
{
|
||||
|
6
src/gui/doc/snippets/transform/transform.pro
Normal file
6
src/gui/doc/snippets/transform/transform.pro
Normal file
@ -0,0 +1,6 @@
|
||||
TEMPLATE = lib
|
||||
TARGET = transform_snippets
|
||||
QT += core gui widgets
|
||||
|
||||
SOURCES = \
|
||||
main.cpp
|
Loading…
x
Reference in New Issue
Block a user