forked from qt-creator/qt-creator
QmakeProjectManager: Take "executable" CONFIG value into account
... when setting up deployment data. Fixes: QTCREATORBUG-22663 Change-Id: I88c428177b76a7bb59fc884c0b727fd0f26a780f Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -1062,8 +1062,10 @@ void QmakeProject::collectData(const QmakeProFile *file, DeploymentData &deploym
|
||||
for (const InstallsItem &item : installsList.items) {
|
||||
if (!item.active)
|
||||
continue;
|
||||
foreach (const auto &localFile, item.files)
|
||||
deploymentData.addFile(localFile.fileName, item.path);
|
||||
for (const auto &localFile : item.files) {
|
||||
deploymentData.addFile(localFile.fileName, item.path, item.executable
|
||||
? DeployableFile::TypeExecutable : DeployableFile::TypeNormal);
|
||||
}
|
||||
}
|
||||
|
||||
switch (file->projectType()) {
|
||||
|
||||
Reference in New Issue
Block a user