Building Info.plist file.
This commit is contained in:
parent
6e4ec3e69f
commit
53650d6223
|
@ -14,13 +14,11 @@ VApp {
|
|||
installDebugInformation: true
|
||||
consoleApplication: false
|
||||
bundle.isBundle: qbs.buildVariant === "release"
|
||||
bundle.identifierPrefix: 'ua.com.smart-pattern'
|
||||
|
||||
Properties {
|
||||
// Breakpoints do not work if debug the app inside of bundle. In debug mode we turn off creating a bundle.
|
||||
// Probably it will breake some dependencies. Version for Mac designed to work inside an app bundle.
|
||||
condition: qbs.targetOS.contains("macos") && qbs.buildVariant == "debug"
|
||||
bundle.isBundle: false
|
||||
}
|
||||
bundle.infoPlist:({
|
||||
"NSHumanReadableCopyright": buildconfig.valentina_copyright_string
|
||||
})
|
||||
|
||||
Properties {
|
||||
condition: buildconfig.enableAppImage && qbs.targetOS.contains("unix") && !qbs.targetOS.contains("macos")
|
||||
|
|
|
@ -22,6 +22,9 @@ Module {
|
|||
|
||||
property bool enableAppImage: false
|
||||
|
||||
property string valentina_copyright_year: { return new Date().getFullYear().toString(); }
|
||||
property string valentina_copyright_string: "(C) 2013-" + valentina_copyright_year + ", Valentina project"
|
||||
|
||||
Depends { name: "ccache"; }
|
||||
|
||||
// Use this property to disable the use of ccache.
|
||||
|
|
|
@ -12,6 +12,8 @@ QT += core gui widgets network xml svg xmlpatterns printsupport concurrent
|
|||
# Name of binary file
|
||||
TARGET = puzzle
|
||||
|
||||
VERSION = 0.7.52
|
||||
|
||||
# We want create executable file
|
||||
TEMPLATE = app
|
||||
|
||||
|
|
|
@ -272,4 +272,13 @@ VToolApp {
|
|||
qbs.install: true
|
||||
qbs.installDir: buildconfig.installAppPath
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "MacOS assets"
|
||||
condition: qbs.targetOS.contains("macos")
|
||||
prefix: project.sourceDirectory + "/dist/macx/puzzle/"
|
||||
files: [
|
||||
"Info.plist"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,8 @@ QT += core gui widgets network xml xmlpatterns printsupport svg concurrent
|
|||
# Name of binary file
|
||||
TARGET = tape
|
||||
|
||||
VERSION = 0.7.52
|
||||
|
||||
# We want create executable file
|
||||
TEMPLATE = app
|
||||
|
||||
|
|
|
@ -217,4 +217,13 @@ VToolApp {
|
|||
qbs.install: true
|
||||
qbs.installDir: buildconfig.installAppPath
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "MacOS assets"
|
||||
condition: qbs.targetOS.contains("macos")
|
||||
prefix: project.sourceDirectory + "/dist/macx/tape/"
|
||||
files: [
|
||||
"Info.plist"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,6 +28,8 @@ macx{
|
|||
TARGET = valentina
|
||||
}
|
||||
|
||||
VERSION = 0.7.52
|
||||
|
||||
# Use out-of-source builds (shadow builds)
|
||||
CONFIG -= debug_and_release debug_and_release_target
|
||||
|
||||
|
|
|
@ -310,4 +310,13 @@ VToolApp {
|
|||
prefix: product.sourceDirectory + "/share/resources/"
|
||||
files: "valentina.rc"
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "MacOS assets"
|
||||
condition: qbs.targetOS.contains("macos")
|
||||
prefix: project.sourceDirectory + "/dist/macx/valentina/"
|
||||
files: [
|
||||
"Info.plist"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user