Doc: Make snippets Qt Gui compilable - textdocument-css

Task-number: QTBUG-81486
Change-Id: I4c73a0902bc1c47cd2fa90553941bf8824ba5914
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
bb10
Nico Vertriest 2020-08-03 15:48:09 +02:00 committed by Paul Wicking
parent 2c7d46727e
commit 0f1c8d437f
3 changed files with 8 additions and 2 deletions

View File

@ -10,5 +10,6 @@ contains(QT_BUILD_PARTS, tests) {
qfontdatabase \
textdocument-blocks \
textdocument-charformats \
textdocument-css \
textdocument-end
}

View File

@ -47,8 +47,8 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QtGui>
#include <QApplication>
#include <QTextBrowser>
int main(int argc, char **argv)
{

View File

@ -0,0 +1,5 @@
TEMPLATE = lib
TARGET = textdocument-css
QT += core gui widgets
SOURCES += main.cpp