diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-04-19 14:54:17 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-04-23 13:07:22 +0000 |
commit | ece99a4c5f8710b11cd17ff48f4fc2d5ced645b3 (patch) | |
tree | 511283efe12553d13488841c3a48d47110680b73 /src/lib/corelib/api/projectdata.cpp | |
parent | ca2ad19ea60207b221d43dc5e4d28e90fa33bd11 (diff) |
API: Fix ProductData::installableArtifacts()v1.11.1
We iterated over the wrong list when collecting the artifacts, so we
missed generated artifacts that are not in the list of target artifacts.
Change-Id: Iea90c5de217e0ad4efb77331a31b8a5d778c66d1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/api/projectdata.cpp')
-rw-r--r-- | src/lib/corelib/api/projectdata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/api/projectdata.cpp b/src/lib/corelib/api/projectdata.cpp index 3fd5f5ec3..3f865af58 100644 --- a/src/lib/corelib/api/projectdata.cpp +++ b/src/lib/corelib/api/projectdata.cpp @@ -541,7 +541,7 @@ QList<ArtifactData> ProductData::installableArtifacts() const artifacts << a; } } - for (const ArtifactData &a : targetArtifacts()) { + for (const ArtifactData &a : generatedArtifacts()) { if (a.installData().isInstallable()) artifacts << a; } |