summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qmake/dereferencing.pro
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/qmake/dereferencing.pro')
-rw-r--r--doc/src/snippets/qmake/dereferencing.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/snippets/qmake/dereferencing.pro b/doc/src/snippets/qmake/dereferencing.pro
new file mode 100644
index 0000000..ff0c979
--- /dev/null
+++ b/doc/src/snippets/qmake/dereferencing.pro
@@ -0,0 +1,5 @@
+#! [0]
+TEMP_SOURCES = $$SOURCES
+#! [0]
+# Do something with the SOURCES variable then restore its old value.
+SOURCES = $$TEMP_SOURCES