summaryrefslogtreecommitdiffstats
path: root/src/windeployqt/main.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-02-12 03:01:47 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-02-12 03:01:47 +0100
commitbe187fbdc65b41531eee7fed63567d6d05f58b52 (patch)
tree07f7f0db975b93dc49184c270e0cddd337e98fd1 /src/windeployqt/main.cpp
parent2055c451f8ff2b2f5e7de105454790d7b240a6b3 (diff)
parent802aa37f7725ca3d75d1e928d845c6df534943ba (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Diffstat (limited to 'src/windeployqt/main.cpp')
-rw-r--r--src/windeployqt/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index 2266e84da..f3c0e5fd7 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -40,7 +40,12 @@
#include <QtCore/QOperatingSystemVersion>
#include <QtCore/QSharedPointer>
#include <QtCore/QVector>
+
+#ifdef Q_OS_WIN
#include <QtCore/qt_windows.h>
+#else
+#define IMAGE_FILE_MACHINE_ARM64 0xaa64
+#endif
#include <algorithm>
#include <iostream>
@@ -1111,6 +1116,7 @@ static QStringList compilerRunTimeLibs(Platform platform, bool isDebug, unsigned
result.append(dllFi.absoluteFilePath());
}
break;
+#ifdef Q_OS_WIN
case WindowsDesktop: { // MSVC/Desktop: Add redistributable packages.
QString vcRedistDirName = vcRedistDir();
if (vcRedistDirName.isEmpty())
@@ -1150,6 +1156,7 @@ static QStringList compilerRunTimeLibs(Platform platform, bool isDebug, unsigned
result.append(redistFiles);
}
break;
+#endif // Q_OS_WIN
default:
break;
}