forked from qt-creator/qt-creator
Set executable flag on applications while deploying
Under Windows there is no executable flag in the filesystem. So take the information that we got, which file is an executable and set the executable flag if needed. Change-Id: I0a7026911d1f7791434c39cc0917d6e49cfa1667 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
committed by
Christian Kandeler
parent
5554e3616e
commit
47ff91a584
@@ -48,9 +48,10 @@ public:
|
||||
m_files << file;
|
||||
}
|
||||
|
||||
void addFile(const QString &localFilePath, const QString &remoteDirectory)
|
||||
void addFile(const QString &localFilePath, const QString &remoteDirectory,
|
||||
DeployableFile::Type type = DeployableFile::TypeNormal)
|
||||
{
|
||||
addFile(DeployableFile(localFilePath, remoteDirectory));
|
||||
addFile(DeployableFile(localFilePath, remoteDirectory, type));
|
||||
}
|
||||
|
||||
int fileCount() const { return m_files.count(); }
|
||||
|
||||
Reference in New Issue
Block a user