Doc: Make snippets Qt Gui compilable - textdocument-find
Task-number: QTBUG-81486 Change-Id: I97b2b9a9b672776971e4792b713a23272eb653ce Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
d76d37fd1a
commit
b28870b2cc
@ -12,5 +12,6 @@ contains(QT_BUILD_PARTS, tests) {
|
||||
textdocument-charformats \
|
||||
textdocument-css \
|
||||
textdocument-cursors \
|
||||
textdocument-end
|
||||
textdocument-end \
|
||||
textdocument-find
|
||||
}
|
||||
|
@ -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-find
|
||||
QT += core gui widgets
|
||||
|
||||
SOURCES = \
|
||||
main.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user