Doc: Make Qt Gui snippets compilable - textdocument-resources

Task-number: QTBUG-81486
Change-Id: Ifd3b8d79617532bf16f33f0935f370b956048130
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
bb10
Nico Vertriest 2020-08-05 11:35:42 +02:00 committed by Paul Wicking
parent 69b622cb3d
commit b5a1e7ac5c
2 changed files with 8 additions and 3 deletions

View File

@ -47,8 +47,8 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QtGui>
#include <QApplication>
#include <QTextEdit>
QString tr(const char *text)
{

View File

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