Fix installing xerces-c library.

This commit is contained in:
Roman Telezhynskyi 2023-02-20 14:54:48 +02:00
parent 34632ebb43
commit 47bb2c16d4
4 changed files with 18 additions and 5 deletions

View File

@ -17,6 +17,12 @@ VToolApp {
targetName: buildconfig.appTarget
multibundle.targetApps: ["Valentina"]
Properties {
condition: buildconfig.useConanPackages && buildconfig.enableMultiBundle
conan.XercesC.libInstallDir: qbs.installPrefix + "/" + buildconfig.installLibraryPath
conan.XercesC.installLib: true
}
files: [
"main.cpp",
"vpapplication.cpp",

View File

@ -21,6 +21,12 @@ VToolApp {
targetName: buildconfig.appTarget
multibundle.targetApps: ["Valentina"]
Properties {
condition: buildconfig.useConanPackages && buildconfig.enableMultiBundle
conan.XercesC.libInstallDir: qbs.installPrefix + "/" + buildconfig.installLibraryPath
conan.XercesC.installLib: true
}
files: [
"main.cpp",
"tmainwindow.cpp",

View File

@ -32,6 +32,12 @@ VToolApp {
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "Valentina" : "valentina"
targetName: buildconfig.appTarget
Properties {
condition: buildconfig.useConanPackages
conan.XercesC.libInstallDir: qbs.installPrefix + "/" + buildconfig.installLibraryPath
conan.XercesC.installLib: true
}
files: [
"main.cpp",
"mainwindow.cpp",

View File

@ -19,11 +19,6 @@ VLib {
condition: Utilities.versionCompare(Qt.core.version, "6") >= 0 && buildconfig.useConanPackages
}
Properties {
condition: buildconfig.useConan && (qbs.targetOS.contains("macos") || qbs.targetOS.contains("windows"))
conan.XercesC.installLib: true
}
name: "IFCLib"
files: [
"ifcdef.h",