Optimize installing qm files.
Only on MacOS we need to install for three separate tools.
This commit is contained in:
parent
56850aef55
commit
78076e6dbf
|
@ -25,7 +25,8 @@ VApp {
|
|||
name: "freedesktop"
|
||||
prefix: FileInfo.joinPaths(project.sourceDirectory, "dist", FileInfo.pathSeparator())
|
||||
files: [
|
||||
"ua.com.smart-pattern." + product.targetName + ".desktop"
|
||||
"ua.com.smart-pattern." + product.targetName + ".desktop",
|
||||
"ua.com.smart-pattern." + product.targetName + ".metainfo.xml"
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -84,10 +85,4 @@ VApp {
|
|||
return files;
|
||||
}
|
||||
}
|
||||
|
||||
Group {
|
||||
fileTagsFilter: "qm"
|
||||
qbs.install: true
|
||||
qbs.installDir: buildconfig.installDataPath + FileInfo.pathSeparator() + "translations"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -255,4 +255,11 @@ VToolApp {
|
|||
files: "application-x-valentina-layout.png"
|
||||
fileTags: "freedesktop.512x512MimetypesIcons"
|
||||
}
|
||||
|
||||
Group {
|
||||
condition: qbs.targetOS.contains("macos")
|
||||
fileTagsFilter: "qm"
|
||||
qbs.install: true
|
||||
qbs.installDir: buildconfig.installDataPath + FileInfo.pathSeparator() + "translations"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -180,4 +180,11 @@ VToolApp {
|
|||
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png"]
|
||||
fileTags: "freedesktop.512x512MimetypesIcons"
|
||||
}
|
||||
|
||||
Group {
|
||||
condition: qbs.targetOS.contains("macos")
|
||||
fileTagsFilter: "qm"
|
||||
qbs.install: true
|
||||
qbs.installDir: buildconfig.installDataPath + FileInfo.pathSeparator() + "translations"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -278,4 +278,10 @@ VToolApp {
|
|||
files: "application-x-valentina-pattern.png"
|
||||
fileTags: "freedesktop.512x512MimetypesIcons"
|
||||
}
|
||||
|
||||
Group {
|
||||
fileTagsFilter: "qm"
|
||||
qbs.install: true
|
||||
qbs.installDir: buildconfig.installDataPath + FileInfo.pathSeparator() + "translations"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user