diff options
Diffstat (limited to 'src/lib/qtprofilesetup/templates/QtModule.qbs')
-rw-r--r-- | src/lib/qtprofilesetup/templates/QtModule.qbs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/qtprofilesetup/templates/QtModule.qbs b/src/lib/qtprofilesetup/templates/QtModule.qbs index 6c088555d..159568bca 100644 --- a/src/lib/qtprofilesetup/templates/QtModule.qbs +++ b/src/lib/qtprofilesetup/templates/QtModule.qbs @@ -12,11 +12,11 @@ Module { property string qtLibInfix: Qt.core.libInfix property string libNameForLinkerDebug property string libNameForLinkerRelease - property string libNameForLinker: qbs.buildVariant === "debug" + property string libNameForLinker: Qt.core.qtBuildVariant === "debug" ? libNameForLinkerDebug : libNameForLinkerRelease property string libFilePathDebug property string libFilePathRelease - property string libFilePath: qbs.buildVariant === "debug" + property string libFilePath: Qt.core.qtBuildVariant === "debug" ? libFilePathDebug : libFilePathRelease property string qtVersion: Qt.core.version property bool hasLibrary: true @@ -29,19 +29,19 @@ Module { property stringList dynamicLibsRelease property stringList linkerFlagsDebug property stringList linkerFlagsRelease - property stringList staticLibs: qbs.buildVariant === "debug" + property stringList staticLibs: Qt.core.qtBuildVariant === "debug" ? staticLibsDebug : staticLibsRelease - property stringList dynamicLibs: qbs.buildVariant === "debug" + property stringList dynamicLibs: Qt.core.qtBuildVariant === "debug" ? dynamicLibsDebug : dynamicLibsRelease property stringList frameworksDebug property stringList frameworksRelease property stringList frameworkPathsDebug property stringList frameworkPathsRelease - property stringList mFrameworks: qbs.buildVariant === "debug" + property stringList mFrameworks: Qt.core.qtBuildVariant === "debug" ? frameworksDebug : frameworksRelease - property stringList mFrameworkPaths: qbs.buildVariant === "debug" + property stringList mFrameworkPaths: Qt.core.qtBuildVariant === "debug" ? frameworkPathsDebug: frameworkPathsRelease - cpp.linkerFlags: qbs.buildVariant === "debug" + cpp.linkerFlags: Qt.core.qtBuildVariant === "debug" ? linkerFlagsDebug : linkerFlagsRelease Properties { |