Commit 1011a486 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Joerg Bornemann

qbs files: Remove src/share/share.qbs

Merged into share/share.qbs

Change-Id: Ia60124a851d234c69e5bc1a57a9e390863327f95
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
parent c56b402b
......@@ -77,7 +77,6 @@ Project {
"src/plugins/valgrind/valgrind.qbs",
"src/plugins/vcsbase/vcsbase.qbs",
"src/plugins/welcome/welcome.qbs",
"src/share/share.qbs",
"src/tools/qtcdebugger/qtcdebugger.qbs",
"src/tools/qtcreatorcrashhandler/qtcreatorcrashhandler.qbs",
"src/tools/qtpromaker/qtpromaker.qbs",
......
......@@ -4,13 +4,6 @@ Product {
type: ["installed_content"]
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"]
......@@ -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;
}
}
}
import qbs.base 1.0
Product {
type: ["installed_content"]
name: "SharedConditionally"
Group {
qbs.installDir: "share/qtcreator/externaltools"
fileTags: ["install"]
prefix: "qtcreator/externaltools/"
files: [
"lrelease.xml",
"lupdate.xml",
"qmlviewer.xml",
"sort.xml",
]
}
Group {
condition: qbs.targetOS == "linux"
qbs.installDir: "share/qtcreator/externaltools"
fileTags: ["install"]
files: ["qtcreator/externaltools/vi.xml"]
}
Group {
condition: qbs.targetOS == "mac"
qbs.installDir: "share/qtcreator/externaltools"
fileTags: ["install"]
files: ["qtcreator/externaltools/vi_mac.xml"]
}
Group {
condition: qbs.targetOS == "windows"
qbs.installDir: "share/qtcreator/externaltools"
fileTags: ["install"]
files: ["qtcreator/externaltools/notepad_win.xml"]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment