diff options
author | Kai Koehne <[email protected]> | 2012-12-11 14:17:34 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2012-12-12 10:32:50 +0100 |
commit | a0fb0a5dd32b031f89abe603ed07a50c74327e37 (patch) | |
tree | 04dd8b801c1e5daca81701542a8f6815c8b35274 /examples/quick/demos/samegame/samegame.pro | |
parent | b570d384c0704ea12364e353493eeb6f1ae34cd3 (diff) |
Use resource files for most examples
Make examples shadow-build-friendly by using resource
files instead of trying to derive the qml path from
applicationDirPath().
Change-Id: I669424554c772d9b261249b366247190f5fbd8b1
Reviewed-by: Oliver Wolff <[email protected]>
Diffstat (limited to 'examples/quick/demos/samegame/samegame.pro')
-rw-r--r-- | examples/quick/demos/samegame/samegame.pro | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/quick/demos/samegame/samegame.pro b/examples/quick/demos/samegame/samegame.pro index fec2e53018..59cacd3c8b 100644 --- a/examples/quick/demos/samegame/samegame.pro +++ b/examples/quick/demos/samegame/samegame.pro @@ -2,8 +2,7 @@ TEMPLATE = app QT += qml quick SOURCES += main.cpp +RESOURCES += samegame.qrc target.path = $$[QT_INSTALL_EXAMPLES]/quick/demos/samegame -qml.files = samegame.qml content settings.js -qml.path = $$[QT_INSTALL_EXAMPLES]/quick/demos/samegame -INSTALLS += target qml +INSTALLS += target |