Commit 94d7d184 authored by Christian Kandeler's avatar Christian Kandeler

qbs build: Remove some differences to qmake build results.

- Install library symlinks.
- Do not create symlinks for plugins.
- Skip some translations.
- Rename some binaries.
- Do not install the ptracepreload library.

Change-Id: I0faa98034154e3840cd2695cab14b72c34cfc5c3
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent bab9b1bb
......@@ -2,7 +2,7 @@ import qbs 1.0
import QtcFunctions
QtcProduct {
type: "dynamiclibrary"
type: ["dynamiclibrary", "dynamiclibrary_symlink"]
installDir: project.ide_library_path
Depends {
condition: project.testsEnabled
......
......@@ -23,6 +23,7 @@ QtcProduct {
name: "Qt.test"
}
cpp.createSymlinks: false
cpp.defines: base.concat([name.toUpperCase() + "_LIBRARY"])
cpp.installNamePrefix: "@rpath"
cpp.rpaths: qbs.targetOS.contains("osx")
......
......@@ -3,6 +3,7 @@ import QtcFunctions
Product {
version: project.qtcreator_version
property bool install: true
property string installDir
Depends { name: "cpp" }
......@@ -22,7 +23,7 @@ Product {
Group {
fileTagsFilter: product.type
qbs.install: true
qbs.install: install
qbs.installDir: installDir
}
}
......@@ -4,7 +4,15 @@ Product {
name: "Translations"
type: "qm"
Depends { name: "Qt.core" }
files: "*.ts"
Group {
files: ["*.ts"]
excludeFiles: [
"qtcreator_es.ts",
"qtcreator_hu.ts",
"qtcreator_it.ts",
]
}
Group {
fileTagsFilter: product.type
......
......@@ -2,6 +2,7 @@ import qbs 1.0
QtcLibrary {
name: "ClangBackEndIpc"
targetName: "Clangbackendipc"
Depends { name: "Qt.network" }
Depends { name: "Sqlite" }
......
import qbs 1.0
QtcLibrary {
name: "ModelingLib"
name: "Modeling"
cpp.defines: base.concat("QMT_LIBRARY")
cpp.includePaths: base.concat([
......
......@@ -3,6 +3,7 @@ import qbs 1.0
QtcLibrary {
name: "ptracepreload"
condition: qbs.targetOS.contains("linux")
install: false
cpp.dynamicLibraries: [
"dl",
......
......@@ -11,7 +11,7 @@ QtcPlugin {
Depends { name: "CPlusPlus" }
Depends { name: "CppTools" }
Depends { name: "ProjectExplorer" }
Depends { name: "ModelingLib" }
Depends { name: "Modeling" }
Properties {
condition: !Qt.svg.present
......
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