Doc: Make Qt Gui snippets compilable - textdocument-texttable
Task-number: QTBUG-81486 Change-Id: If77873649aa10552047e0f89a7fccf55597e73f5 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
b16b7d8879
commit
e596f15a45
@ -24,5 +24,6 @@ contains(QT_BUILD_PARTS, tests) {
|
||||
textdocument-printing \
|
||||
textdocument-resources \
|
||||
textdocument-selections \
|
||||
textdocument-tables
|
||||
textdocument-tables \
|
||||
textdocument-texttable
|
||||
}
|
||||
|
@ -47,8 +47,9 @@
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtGui>
|
||||
#include <QApplication>
|
||||
#include <QTextEdit>
|
||||
#include <QTextTable>
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
|
@ -0,0 +1,6 @@
|
||||
TEMPLATE = lib
|
||||
TARGET = textdocument-texttable
|
||||
QT += core gui widgets
|
||||
|
||||
SOURCES = \
|
||||
main.cpp \
|
Loading…
Reference in New Issue
Block a user