summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-04-08 09:29:43 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-04-08 09:29:43 (GMT)
commit5eb8e749bdd60ce93737b96f8f736796dfa77281 (patch)
tree5818579773239ae278195bf7914728525331aee3 /demos
parentc7674473ced40e0bf02459f0119bc3eb12bbf9b5 (diff)
downloadQt-5eb8e749bdd60ce93737b96f8f736796dfa77281.zip
Qt-5eb8e749bdd60ce93737b96f8f736796dfa77281.tar.gz
Qt-5eb8e749bdd60ce93737b96f8f736796dfa77281.tar.bz2
Warn if the minehunt C++ plugin is not compiled.
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/minehunt/minehunt.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/declarative/minehunt/minehunt.qml b/demos/declarative/minehunt/minehunt.qml
index 299e722..4e384c0 100644
--- a/demos/declarative/minehunt/minehunt.qml
+++ b/demos/declarative/minehunt/minehunt.qml
@@ -141,4 +141,11 @@ Item {
MouseArea { anchors.fill: parent; onPressed: reset() }
}
+ Text {
+ anchors.fill: parent; wrap: true
+ text: "Minehunt will not run properly if the C++ plugin is not compiled.\nPlease see README."
+ color: "white"; font.bold: true; font.pixelSize: 14
+ visible: tiles == undefined
+ }
+
}