summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2020-08-04 09:29:40 +0200
committerPaul Wicking <paul.wicking@qt.io>2020-09-01 06:13:03 +0200
commit2be708b801e116029492fda0d5435fc04fe783fd (patch)
tree0e4b4acde7f3bb86bc799b15b5ec7cbf129ecb79 /src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro
parent6283f447cd06ea71c73225db59f9173b0a2f06ef (diff)
Doc: Make snippets Qt Gui compilable - textdocument-imagedrop
Task-number: QTBUG-81486 Change-Id: I80b66fce31ba5ee511690283cf56ce4306702b14 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro')
-rw-r--r--src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro b/src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro
index 96d3038a093..5f1c55f0381 100644
--- a/src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro
+++ b/src/gui/doc/snippets/textdocument-imagedrop/textdocument-imagedrop.pro
@@ -1,2 +1,8 @@
-SOURCES = textedit.cpp main.cpp
-HEADERS = textedit.h \ No newline at end of file
+TEMPLATE = lib
+TARGET = textdocument-imagedrop
+QT += core gui widgets
+
+HEADERS = \
+ textedit.h
+SOURCES = \
+ main.cpp