aboutsummaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/qmake/comments.pro
diff options
context:
space:
mode:
Diffstat (limited to 'doc/codesnippets/doc/src/snippets/qmake/comments.pro')
-rw-r--r--doc/codesnippets/doc/src/snippets/qmake/comments.pro10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/codesnippets/doc/src/snippets/qmake/comments.pro b/doc/codesnippets/doc/src/snippets/qmake/comments.pro
new file mode 100644
index 000000000..189d271ed
--- /dev/null
+++ b/doc/codesnippets/doc/src/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://doc.trolltech.com/4.0/qtextdocument.html pageCount
+message($$join(urlPieces, $$LITERAL_HASH))
+#! [1]