diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-02-29 11:34:20 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-29 04:58:29 +0100 |
commit | d75fefbcce3dae2eda571905ae0d3485f038956c (patch) | |
tree | fc519379a2b77fd5b8f9ade5969f19b86b2d8c55 /examples/sensors/cubehouse | |
parent | b2d70cf15ef595cbb293eccc4c8c0fd5a7926006 (diff) | |
download | qtsensors-d75fefbcce3dae2eda571905ae0d3485f038956c.tar.gz |
Allow opening examples directly from Qt Creator.
The MT_SYSROOT environment variable is set in this case so we can use
this to set the correct installation path.
Change-Id: I923b1ea97468414a123c97a01b0405604827a99b
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
Diffstat (limited to 'examples/sensors/cubehouse')
-rw-r--r-- | examples/sensors/cubehouse/cubehouse.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/sensors/cubehouse/cubehouse.pro b/examples/sensors/cubehouse/cubehouse.pro index c7847f3..075ec4e 100644 --- a/examples/sensors/cubehouse/cubehouse.pro +++ b/examples/sensors/cubehouse/cubehouse.pro @@ -10,6 +10,8 @@ app.files = \ info.json \ mesh +MT_SYSROOT=$$(MT_SYSROOT) +!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications !isEmpty(EXAMPLES_PREFIX) { app.path = $$EXAMPLES_PREFIX/com.nokia.mt.cubehouse INSTALLS = app |