From 2e6835bc6412fbbf58eb93cbe12026c6745ad8b2 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 19 Feb 2017 11:36:48 +0100 Subject: [PATCH] Set "qt_prfxpath=." or "qt_prfxpath=..", closes #12 --- shared/shared.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/shared/shared.cpp b/shared/shared.cpp index 26c4d07..debf7ed 100644 --- a/shared/shared.cpp +++ b/shared/shared.cpp @@ -1239,7 +1239,7 @@ void changeQtLibraries(const QString appPath, const QString &qtPath) } /* https://codereview.qt-project.org/gitweb?p=qt/qttools.git;a=blob_plain;f=src/windeployqt/utils.cpp;h=e89496ea1f371ed86f6937284c1c801daf576572;hb=7be81b804da102b374c2089aac38353a0383c254 - * Search for "qt_prfxpath=" in a path, and replace it with "qt_prfxpath=." or "qt_prfxpath=../../" */ + * Search for "qt_prfxpath=" in a path, and replace it with "qt_prfxpath=." or "qt_prfxpath=.." */ bool patchQtCore(const QString &path, QString *errorMessage) { LogNormal() << "Patching " << QFileInfo(path).fileName() << "...\n"; @@ -1278,10 +1278,6 @@ bool patchQtCore(const QString &path, QString *errorMessage) if(fhsLikeMode == true){ replacement[0] = '.'; replacement[1] = '.'; - replacement[2] = '/'; - replacement[3] = '.'; - replacement[4] = '.'; - replacement[5] = '/'; } else { replacement[0] = '.'; }