Doc: Make Qt Gui snippets compilable - textdocument-resources
Task-number: QTBUG-81486 Change-Id: Ifd3b8d79617532bf16f33f0935f370b956048130 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>bb10
parent
69b622cb3d
commit
b5a1e7ac5c
|
|
@ -47,8 +47,8 @@
|
|||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtGui>
|
||||
#include <QApplication>
|
||||
#include <QTextEdit>
|
||||
|
||||
QString tr(const char *text)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1 +1,6 @@
|
|||
SOURCES = main.cpp
|
||||
TEMPLATE = lib
|
||||
TARGET = textdocument-resources
|
||||
QT += core gui widgets
|
||||
|
||||
SOURCES = \
|
||||
main.cpp
|
||||
|
|
|
|||
Loading…
Reference in New Issue