Fix build script error.

This commit is contained in:
Roman Telezhynskyi 2023-09-23 08:58:56 +03:00
parent 69fe8c01d9
commit 5486c208c3

View File

@ -16,6 +16,7 @@ Module {
property string path
property string sourceDirectory: project.sourceDirectory
property string qtVersion: product.Qt.core.version
property string architecture: product.qbs.architecture
configure: {
if (Utilities.versionCompare(qtVersion, "6") >= 0) {
@ -34,7 +35,7 @@ Module {
}
} else {
var binPath = sourceDirectory + "/dist/macx/bin64/pdftops";
if (product.qbs.architecture.contains("x86_64") && File.exists(binPath)) {
if (architecture.contains("x86_64") && File.exists(binPath)) {
path = binPath;
found = true;
}