Doc: Make snippets Qt Gui compilable - textdocument-images
Task-number: QTBUG-81486 Change-Id: I98b6d0b498d181931ee0fc2e39cb1fde5208a303 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>bb10
parent
935ce5e41d
commit
38653f1633
|
|
@ -16,5 +16,6 @@ contains(QT_BUILD_PARTS, tests) {
|
|||
textdocument-find \
|
||||
textdocument-frames \
|
||||
textdocument-imagedrop \
|
||||
textdocument-imageformat
|
||||
textdocument-imageformat \
|
||||
textdocument-images
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,8 +47,8 @@
|
|||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtGui>
|
||||
#include <QApplication>
|
||||
#include <QTextEdit>
|
||||
|
||||
QString tr(const char *text)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,2 +1,9 @@
|
|||
SOURCES = main.cpp
|
||||
RESOURCES += images.qrc
|
||||
TEMPLATE = lib
|
||||
TARGET = textdocument-images
|
||||
QT += widgets core gui
|
||||
|
||||
SOURCES = \
|
||||
main.cpp
|
||||
|
||||
RESOURCES = \
|
||||
images.qrc
|
||||
|
|
|
|||
Loading…
Reference in New Issue