diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-11-22 20:34:52 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-11-27 18:28:07 +0000 |
commit | dcb93231197a67ca5abd3244cc8dbf2165064fc1 (patch) | |
tree | 4c5ddcd819b7ba1afbf612e67e41f7c83501c19e /src/lib/corelib/api | |
parent | 2a367deb29e1f5f348966d170586138a8a8d5d59 (diff) |
Don't export Qt dependency to clients from the plugin managers
Change-Id: I24c9c5e43ed5482f98a767e7b062b517ec26e85d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/api')
-rw-r--r-- | src/lib/corelib/api/project.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/corelib/api/project.cpp b/src/lib/corelib/api/project.cpp index 2320b3623..3da99b07a 100644 --- a/src/lib/corelib/api/project.cpp +++ b/src/lib/corelib/api/project.cpp @@ -98,7 +98,7 @@ static void loadPlugins(const QStringList &_pluginPaths, const Logger &logger) if (pluginsLoaded) return; - QStringList pluginPaths; + std::vector<std::string> pluginPaths; for (const QString &pluginPath : _pluginPaths) { if (!FileInfo::exists(pluginPath)) { #ifndef QBS_STATIC_LIB @@ -106,7 +106,7 @@ static void loadPlugins(const QStringList &_pluginPaths, const Logger &logger) .arg(QDir::toNativeSeparators(pluginPath)); #endif } else { - pluginPaths << pluginPath; + pluginPaths.push_back(pluginPath.toStdString()); } } auto pluginManager = QbsPluginManager::instance(); |