diff options
authorOlivier Goffart <>2019-11-08 11:30:40 +0100
committerThiago Macieira <>2020-01-28 17:53:38 +0000
commit5c4234ed958130d655df8197129806f687d4df0d (patch)
parentb5ea7a5f5c849329643112cba9b57ad047c0bc4b (diff)
Do not load plugin from the $PWD5.5
I see no reason why this would make sense to look for plugins in the current directory. And when there are plugins there, it may actually be wrong Change-Id: I5f5aa168021fedddafce90effde0d5762cd0c4c5 Reviewed-by: Thiago Macieira <> (cherry picked from commit bf131e8d2181b3404f5293546ed390999f760404) Reviewed-by: Volker Hilsheimer <> (cherry picked from commit 52b739776daecf80a8276b49c9e4337e018d8e8b) Reviewed-by: Olivier Goffart (Woboq GmbH) <> (cherry-picked from commit 2e02b383e03c30f53ff613e431e8fe1d063d5502) Reviewed-by: Alex Blasche <>
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/plugin/qpluginloader.cpp b/src/corelib/plugin/qpluginloader.cpp
index 988dad1d94..27d2079f58 100644
--- a/src/corelib/plugin/qpluginloader.cpp
+++ b/src/corelib/plugin/qpluginloader.cpp
@@ -286,7 +286,6 @@ static QString locatePlugin(const QString& fileName)
const bool debug = qt_debug_component();
QStringList paths = QCoreApplication::libraryPaths();
- paths.prepend(QStringLiteral("./")); // search in current dir first
foreach (const QString &path, paths) {
foreach (const QString &prefix, prefixes) {
foreach (const QString &suffix, suffixes) {