diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2012-10-16 12:45:20 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2012-11-12 11:01:31 +0100 |
commit | 1011a486f4f4fe897126854128862974439166b8 (patch) | |
tree | 5c8680a6d79e4ba3e2f762f51bb56298d7806208 /share/share.qbs | |
parent | c56b402b927110872c2bd469918c78a9fa5bcf7f (diff) |
qbs files: Remove src/share/share.qbs
Merged into share/share.qbs
Change-Id: Ia60124a851d234c69e5bc1a57a9e390863327f95
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'share/share.qbs')
-rw-r--r-- | share/share.qbs | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/share/share.qbs b/share/share.qbs index 2e28ecadbc..f2fa15eaa4 100644 --- a/share/share.qbs +++ b/share/share.qbs @@ -5,13 +5,6 @@ Product { name: "SharedContent" Group { - condition: qbs.targetOS == "macx" - qbs.installDir: "share/qtcreator/scripts" - fileTags: ["install"] - files: "qtcreator/scripts/openTerminal.command" - } - - Group { qbs.installDir: "share" fileTags: ["install"] files: "qtcreator" @@ -24,5 +17,37 @@ Product { "static.pro", ] } + + Group { + condition: qbs.targetOS == "macx" + qbs.installDir: "share/qtcreator/scripts" + fileTags: ["install"] + files: "qtcreator/scripts/openTerminal.command" + } + + Group { + qbs.installDir: "share/qtcreator/externaltools" + fileTags: ["install"] + prefix: "../src/share/qtcreator/externaltools/" + files: { + var list = [ + "lrelease.xml", + "lupdate.xml", + "qmlviewer.xml", + "sort.xml", + ] + switch (qbs.targetOS) { + case "windows": + list.push("notepad_win.xml"); + break; + case "mac": + list.push("vi_mac.xml"); + break; + default: + list.push("vi.xml"); + } + return list; + } + } } |