summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-03-01 12:51:24 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-03-01 12:51:24 (GMT)
commit4f77d4f1bebba1627700037bdfce4e74ad84cce8 (patch)
treead0db53e4ab064a625fb7c6cc7bf9042206056c8 /doc/src/declarative
parentbcb2ed5667bd957476e3b62ef3a479a26f1252f3 (diff)
downloadQt-4f77d4f1bebba1627700037bdfce4e74ad84cce8.zip
Qt-4f77d4f1bebba1627700037bdfce4e74ad84cce8.tar.gz
Qt-4f77d4f1bebba1627700037bdfce4e74ad84cce8.tar.bz2
Make SameGame tutorials share images
It's a bit of a waste to have four copies of all of the images. And as an advanced tutorial throwing in a minor complication like this is probably beneficial. Additionally, the background has been replaced by a smaller JPEG version.
Diffstat (limited to 'doc/src/declarative')
-rw-r--r--doc/src/declarative/advtutorial.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/declarative/advtutorial.qdoc b/doc/src/declarative/advtutorial.qdoc
index b7d964c..e420e6d 100644
--- a/doc/src/declarative/advtutorial.qdoc
+++ b/doc/src/declarative/advtutorial.qdoc
@@ -106,6 +106,11 @@ more than just an image. Note that we've set the image to be the size of the ite
This will be used later, when we dynamically create and size the block items the image will be scaled automatically
to the correct size.
+Note that because there are several stages to this tutorial they share images. This is done by having a shared resources
+folder containing the images, and all stages of the tutorial refer to the same shared folder. This is the reason for the
+'../shared/pics' part of the image source. The image source can be any relative or absolute path, and it is relative to the
+location of the file the Image element is in, with ../ meaning to go up one level.
+
You should be familiar with all that goes on in these files so far. This is a
very basic start and doesn't move at all - next we will populate the game canvas
with some blocks.