summaryrefslogtreecommitdiffstats
path: root/qmake/doc/snippets/qmake/comments.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/doc/snippets/qmake/comments.pro')
-rw-r--r--qmake/doc/snippets/qmake/comments.pro10
1 files changed, 10 insertions, 0 deletions
diff --git a/qmake/doc/snippets/qmake/comments.pro b/qmake/doc/snippets/qmake/comments.pro
new file mode 100644
index 0000000000..957052c81d
--- /dev/null
+++ b/qmake/doc/snippets/qmake/comments.pro
@@ -0,0 +1,10 @@
+#! [0]
+# Comments usually start at the beginning of a line, but they
+# can also follow other content on the same line.
+#! [0]
+
+#! [1]
+# To include a literal hash character, use the $$LITERAL_HASH variable:
+urlPieces = http://qt-project.org/doc/qt-5.0/qtgui/qtextdocument.html pageCount
+message($$join(urlPieces, $$LITERAL_HASH))
+#! [1]