diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-20 17:17:18 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-21 08:16:35 +0000 |
commit | 8ac826a1a0d15673f3527d513fb54e9d40ca76a4 (patch) | |
tree | 3f9e97aa7bbb299d4ebd9810353306a8b3b78c00 /qbs | |
parent | 7879d8403375373ff99ac54a975b092ade1f0ecd (diff) | |
download | qt-creator-8ac826a1a0d15673f3527d513fb54e9d40ca76a4.tar.gz |
qbs build: Fix pluginjson module
The "product" qualification was missing for "sourceDirectory". This
currently happens to work due to scope pollution in the qbs
implementation.
Change-Id: I61758023d39d00505c586c1e5ad78185a69c0db1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'qbs')
-rw-r--r-- | qbs/modules/pluginjson/pluginjson.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qbs/modules/pluginjson/pluginjson.qbs b/qbs/modules/pluginjson/pluginjson.qbs index eccd53c85b..e210731f0b 100644 --- a/qbs/modules/pluginjson/pluginjson.qbs +++ b/qbs/modules/pluginjson/pluginjson.qbs @@ -19,7 +19,7 @@ Module { // TODO: Could something like this be incorporated into the vcs module? // Currently, the default repo dir is project.sourceDirectory, which // does not make sense for Qt Creator. - var dir = sourceDirectory; + var dir = product.sourceDirectory; while (true) { if (File.exists(FileInfo.joinPaths(dir, ".git"))) return dir; |