forked from qt-creator/qt-creator
qbs build: Replace deprecated constructs
Change-Id: I5a66a5b805b912a8ee752306d6c39759085e98ad Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -4,8 +4,6 @@ QtcProduct {
|
||||
Depends { name: "bundle" }
|
||||
Depends { name: "ib"; condition: qbs.targetOS.contains("osx") }
|
||||
|
||||
bundle.infoPlistFile: "Info.plist" // TODO: Remove for qbs 1.6
|
||||
|
||||
Properties {
|
||||
condition: qbs.targetOS.contains("osx")
|
||||
ib.appIconName: "qtcreator"
|
||||
@@ -38,7 +36,7 @@ QtcProduct {
|
||||
Depends { name: "ExtensionSystem" }
|
||||
|
||||
files: [
|
||||
// TODO: Uncomment for qbs 1.6 "Info.plist",
|
||||
"Info.plist",
|
||||
"main.cpp",
|
||||
"qtcreator.xcassets",
|
||||
"qtcreator.rc",
|
||||
|
@@ -4,12 +4,16 @@ import qbs.TextFile
|
||||
Product {
|
||||
name: "app_version_header"
|
||||
type: "hpp"
|
||||
files: "app_version.h.in"
|
||||
|
||||
Group {
|
||||
files: ["app_version.h.in"]
|
||||
fileTags: ["hpp.in"]
|
||||
}
|
||||
|
||||
Depends { name: "qtc" }
|
||||
|
||||
Transformer {
|
||||
inputs: ["app_version.h.in"]
|
||||
Rule {
|
||||
inputs: ["hpp.in"]
|
||||
Artifact {
|
||||
filePath: "app/app_version.h"
|
||||
fileTags: "hpp"
|
||||
|
Reference in New Issue
Block a user