From 5486c208c320ef6a1f56250958c5392424a5b15b Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 23 Sep 2023 08:58:56 +0300 Subject: [PATCH] Fix build script error. --- qbs/modules/pdftops/pdftops.qbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbs/modules/pdftops/pdftops.qbs b/qbs/modules/pdftops/pdftops.qbs index 7540288e2..7e179195b 100644 --- a/qbs/modules/pdftops/pdftops.qbs +++ b/qbs/modules/pdftops/pdftops.qbs @@ -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; }