forked from conan-io/conan-center-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ef9ab7
commit 7e599d6
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/src/macdeployqt/macdeployqt/main.cpp b/src/macdeployqt/macdeployqt/main.cpp | ||
index 0f9164053..5d9e40e36 100644 | ||
--- a/src/macdeployqt/macdeployqt/main.cpp | ||
+++ b/src/macdeployqt/macdeployqt/main.cpp | ||
@@ -27,6 +27,7 @@ | ||
****************************************************************************/ | ||
#include <QCoreApplication> | ||
#include <QDir> | ||
+#include <QLibraryInfo> | ||
|
||
#include "../shared/shared.h" | ||
|
||
@@ -236,7 +237,7 @@ int main(int argc, char **argv) | ||
} | ||
|
||
if (plugins && !deploymentInfo.qtPath.isEmpty()) { | ||
- deploymentInfo.pluginPath = deploymentInfo.qtPath + "/plugins"; | ||
+ deploymentInfo.pluginPath = QLibraryInfo::location(QLibraryInfo::PluginsPath); | ||
LogNormal(); | ||
deployPlugins(appBundlePath, deploymentInfo, useDebugLibs); | ||
createQtConf(appBundlePath); |