Commit 44c9cd8f authored by Tobias Hunger's avatar Tobias Hunger

Qbs: Fix build

Change-Id: I284f814ac63eb489a6b0a39dce85008de742237a
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 87a78cdd
......@@ -382,9 +382,14 @@ void QbsProject::parse(const QVariantMap &config, const QString &dir)
m_qbsBuildRoot = dir;
QTC_ASSERT(!m_qbsSetupProjectJob, return);
qbs::SetupProjectParameters params;
params.buildConfiguration = m_qbsBuildConfig;
params.buildRoot = m_qbsBuildRoot;
params.projectFilePath = m_fileName;
params.ignoreDifferentProjectFilePath = false;
m_qbsSetupProjectJob
= qbs::Project::setupProject(m_fileName, m_qbsBuildConfig, m_qbsBuildRoot,
m_manager->settings(), 0);
= qbs::Project::setupProject(params, m_manager->settings(), 0);
connect(m_qbsSetupProjectJob, SIGNAL(finished(bool,qbs::AbstractJob*)),
this, SLOT(handleQbsParsingDone(bool)));
......
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