summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2011-12-02 21:58:34 -0800
committerQt by Nokia <qt-info@nokia.com>2011-12-05 03:26:49 +0100
commit960b6e36fcd1e03b7c704c9139ca2ec182161f7a (patch)
tree47111851c223eeb9eaf52f6d3f967419b528d9af
parent1cb508aca82cdacf75c9fc55724ce25a9107194f (diff)
Prevent warnings about install path.
Friends don't let friends have spurious warnings - these ones might be new, from some change to qmake. But this change is right anyway - we should not be exporting all these values if we are not packaging. Change-Id: I1b7bd4eebbcd1540cd7734e6c2aeb82ff8977aac Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
-rw-r--r--pkg.pri15
1 files changed, 8 insertions, 7 deletions
diff --git a/pkg.pri b/pkg.pri
index 61db7a4e..0f8f50f1 100644
--- a/pkg.pri
+++ b/pkg.pri
@@ -265,13 +265,14 @@ defineTest(qtcAddDeployment) {
export($$itempath)
INSTALLS += $$item
}
-
- export(icon.files)
- export(icon.path)
- export(desktopfile.files)
- export(desktopfile.path)
- export(target.path)
- INSTALLS += desktopfile icon target
+ package {
+ export(icon.files)
+ export(icon.path)
+ export(desktopfile.files)
+ export(desktopfile.path)
+ export(target.path)
+ INSTALLS += desktopfile icon target
+ }
}
export (ICON)