summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2020-08-04 09:14:50 +0200
committerPaul Wicking <paul.wicking@qt.io>2020-09-01 06:13:01 +0200
commitd76d37fd1a1c0e6baa07c6d559ec5093faae5871 (patch)
treee9e0e6319ffcb00ef79295513574813253c38a10 /src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro
parent0f1c8d437ffc24615fbf53c270ae88097b2a8125 (diff)
Doc: Make snippets Qt Gui compilable - textdocument-cursors
Task-number: QTBUG-81486 Change-Id: If02da7248b6c0299909fad83681fd5f08f3e29d9 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro')
-rw-r--r--src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro b/src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro
index 16181f21cf..6e27f32dc4 100644
--- a/src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro
+++ b/src/gui/doc/snippets/textdocument-cursors/textdocument-cursors.pro
@@ -1 +1,6 @@
-SOURCES = main.cpp
+TEMPLATE = lib
+TARGET = textdocument-cursors
+QT += core gui widgets
+
+SOURCES = \
+ main.cpp