Commit d5345496 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

QbsProjectManager: Tell qbs where to find plugins and modules.



Without this information, qbs cannot work at all.

Change-Id: Ib99193fb38649e0bb5bbb8392ce378a6cd28a344
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent d4b6392f
......@@ -388,6 +388,9 @@ void QbsProject::parse(const QVariantMap &config, const QString &dir)
params.buildRoot = m_qbsBuildRoot;
params.projectFilePath = m_fileName;
params.ignoreDifferentProjectFilePath = false;
const qbs::Preferences prefs(m_manager->settings());
params.searchPaths = prefs.searchPaths(QLatin1String(QBS_BUILD_DIR));
params.pluginPaths = prefs.pluginPaths(QLatin1String(QBS_BUILD_DIR));
m_qbsSetupProjectJob
= qbs::Project::setupProject(params, m_manager->settings(), m_manager->logSink(), 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment