Doc: Make snippets Qt Gui compilable - textdocument-css
Task-number: QTBUG-81486 Change-Id: I4c73a0902bc1c47cd2fa90553941bf8824ba5914 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>bb10
parent
2c7d46727e
commit
0f1c8d437f
|
|
@ -10,5 +10,6 @@ contains(QT_BUILD_PARTS, tests) {
|
|||
qfontdatabase \
|
||||
textdocument-blocks \
|
||||
textdocument-charformats \
|
||||
textdocument-css \
|
||||
textdocument-end
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,8 +47,8 @@
|
|||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtGui>
|
||||
#include <QApplication>
|
||||
#include <QTextBrowser>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
TEMPLATE = lib
|
||||
TARGET = textdocument-css
|
||||
QT += core gui widgets
|
||||
|
||||
SOURCES += main.cpp
|
||||
Loading…
Reference in New Issue