diff options
author | Paul Wicking <paul.wicking@qt.io> | 2019-12-18 14:20:02 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-12-18 14:20:02 +0100 |
commit | bdf29054947ace70a201d4f8e5116e9a748297ab (patch) | |
tree | 1ceea57bf565139b23cd35b2aaf3e0b3f931a743 /src/windeployqt/main.cpp | |
parent | bf98866c9b7f83c0e15e525d6afb011cfc1c4363 (diff) | |
parent | fbeafe0b975694072209f21e8746c3ffdc3be8b7 (diff) | |
download | qttools-bdf29054947ace70a201d4f8e5116e9a748297ab.tar.gz |
Merge remote-tracking branch 'origin/5.15' into dev
Change-Id: I1ab009de6353d7de875eb5d54abb5bf63802f791
Diffstat (limited to 'src/windeployqt/main.cpp')
-rw-r--r-- | src/windeployqt/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp index 013fe773e..6ee5a7a2b 100644 --- a/src/windeployqt/main.cpp +++ b/src/windeployqt/main.cpp @@ -1068,7 +1068,7 @@ static QString libraryPath(const QString &libraryLocation, const char *name, if (platform & WindowsBased) { result += QLatin1String(name); result += qtLibInfix; - if (debug) + if (debug && platformHasDebugSuffix(platform)) result += QLatin1Char('d'); } else if (platform & UnixBased) { result += QStringLiteral("lib"); @@ -1420,11 +1420,11 @@ static DeployResult deploy(const Options &options, if ((options.platform & WindowsBased) && options.platform != WinCEIntel && options.platform != WinCEArm && !qtGuiLibrary.isEmpty()) { QString libGlesName = QStringLiteral("libGLESV2"); - if (isDebug) + if (isDebug && platformHasDebugSuffix(options.platform)) libGlesName += QLatin1Char('d'); libGlesName += QLatin1String(windowsSharedLibrarySuffix); QString libCombinedQtAngleName = QStringLiteral("QtANGLE"); - if (isDebug) + if (isDebug && platformHasDebugSuffix(options.platform)) libCombinedQtAngleName += QLatin1Char('d'); libCombinedQtAngleName += QLatin1String(windowsSharedLibrarySuffix); const QStringList guiLibraries = findDependentLibraries(qtGuiLibrary, options.platform, errorMessage); @@ -1440,7 +1440,7 @@ static DeployResult deploy(const Options &options, const QString libGlesFullPath = qtBinDir + slash + libGlesName; deployedQtLibraries.append(libGlesFullPath); QString libEglFullPath = qtBinDir + slash + QStringLiteral("libEGL"); - if (isDebug) + if (isDebug && platformHasDebugSuffix(options.platform)) libEglFullPath += QLatin1Char('d'); libEglFullPath += QLatin1String(windowsSharedLibrarySuffix); deployedQtLibraries.append(libEglFullPath); @@ -1618,7 +1618,7 @@ static bool deployWebEngineCore(const QMap<QString, QString> &qmakeVariables, "qtwebengine_resources_100p.pak", "qtwebengine_resources_200p.pak"}; QByteArray webEngineProcessName(webEngineProcessC); - if (isDebug) + if (isDebug && platformHasDebugSuffix(options.platform)) webEngineProcessName.append('d'); if (optVerboseLevel) std::wcout << "Deploying: " << webEngineProcessName.constData() << "...\n"; |