summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2020-08-05 11:49:23 +0200
committerPaul Wicking <paul.wicking@qt.io>2020-09-01 06:13:07 +0200
commite81383eb0994a37b9489a2aebd0459e161dbeed2 (patch)
tree0245296bfdcbc7763cd7f49ea86d0d553ee5dde2 /src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro
parentb5a1e7ac5cfcca1f54333843310ce81b9e9d9c7d (diff)
Doc: Make Qt Gui snippets compilable - textdocument-selections
Task-number: QTBUG-81486 Change-Id: I467ca4d5ecd33f84e44b456a9559748ffd6cc53c Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro')
-rw-r--r--src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro b/src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro
index 253c452723b..79e36d38811 100644
--- a/src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro
+++ b/src/gui/doc/snippets/textdocument-selections/textdocument-selections.pro
@@ -1,4 +1,10 @@
-QT += xml
-HEADERS = mainwindow.h
-SOURCES = main.cpp \
- mainwindow.cpp
+TEMPLATE = lib
+TARGET = textdocument-selections
+QT += core gui widgets
+
+HEADERS = \
+ mainwindow.h
+
+SOURCES = \
+ main.cpp \
+ mainwindow.cpp