summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro
diff options
context:
space:
mode:
authorNico Vertriest <[email protected]>2020-08-03 15:01:58 +0200
committerPaul Wicking <[email protected]>2020-08-31 07:12:40 +0200
commit886cc0e4428054fb3fd5cf2ce20bc52f41f56a9a (patch)
treec7bf019047ca9c92fceced04c79ab984f22bc006 /src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro
parentbbbbd642d506888b855d9763cdfa4e1b8de56326 (diff)
Doc: Make snippets Qt Gui compilable - textdocument-blocks
Task-number: QTBUG-81486 Change-Id: I663c53d11e4bd3086c4afee0c994d00ecc0c7cad Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro')
-rw-r--r--src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro b/src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro
index 83ed78e573f..3b45ba9cb2c 100644
--- a/src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro
+++ b/src/gui/doc/snippets/textdocument-blocks/textdocument-blocks.pro
@@ -1,6 +1,10 @@
-QT += xml
-HEADERS = mainwindow.h \
- xmlwriter.h
-SOURCES = main.cpp \
- mainwindow.cpp \
- xmlwriter.cpp
+TEMPLATE = lib
+TARGET = textdocument-blocks_snippets
+QT += core gui widgets
+
+HEADERS = \
+ mainwindow.h
+
+SOURCES = \
+ main.cpp \
+ mainwindow.cpp