Add missing dependency.

This commit is contained in:
Roman Telezhynskyi 2024-03-25 13:58:45 +02:00
parent 2392275162
commit 035e702a04
3 changed files with 15 additions and 0 deletions

View File

@ -9,6 +9,11 @@ VLib {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
} }
Properties {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled && qbs.targetOS.contains("windows") && qbs.toolchain.contains("msvc")
cpp.dynamicLibraries: ["Advapi32"]
}
name: "VMiscLib" name: "VMiscLib"
files: { files: {
var files = [ var files = [

View File

@ -25,6 +25,11 @@ VTestApp {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
} }
Properties {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled && qbs.targetOS.contains("windows") && qbs.toolchain.contains("msvc")
cpp.dynamicLibraries: ["Advapi32"]
}
name: "CollectionTest" name: "CollectionTest"
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "CollectionTest" : "collectionTest" buildconfig.appTarget: qbs.targetOS.contains("macos") ? "CollectionTest" : "collectionTest"
targetName: buildconfig.appTarget targetName: buildconfig.appTarget

View File

@ -24,6 +24,11 @@ VTestApp {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
} }
Properties {
condition: buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled && qbs.targetOS.contains("windows") && qbs.toolchain.contains("msvc")
cpp.dynamicLibraries: ["Advapi32"]
}
name: "TranslationsTest" name: "TranslationsTest"
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "TranslationsTest" : "translationsTest" buildconfig.appTarget: qbs.targetOS.contains("macos") ? "TranslationsTest" : "translationsTest"
targetName: buildconfig.appTarget targetName: buildconfig.appTarget