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:
Paul Wicking 2020-08-31 15:01:15 +02:00
parent 614ca8ec4a
commit 98f41552e4
3 changed files with 12 additions and 3 deletions

View File

@ -40,5 +40,6 @@ contains(QT_BUILD_PARTS, tests) {
textdocument-resources \
textdocument-selections \
textdocument-tables \
textdocument-texttable
textdocument-texttable \
transform
}

View File

@ -47,9 +47,11 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QApplication>
#include <QPainter>
#include <QVBoxLayout>
#include <QWidget>
#include <QtGui>
#include <cmath>
class SimpleTransformation : public QWidget
{

View File

@ -0,0 +1,6 @@
TEMPLATE = lib
TARGET = transform_snippets
QT += core gui widgets
SOURCES = \
main.cpp