Commit 3604bdba authored by Joerg Bornemann's avatar Joerg Bornemann Committed by Tobias Hunger
Browse files

qbsprojectmanager: fix mkspecPath in profile



qbs.mkspecPath contains the full path to the mkspec,
not the directory containing all mkspecs.

Change-Id: I9407057eff0c587bcc44d393bf4eede1d4263d65
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 4ec7c2ea
......@@ -205,7 +205,9 @@ void QbsManager::addProfileFromKit(const ProjectExplorer::Kit *k)
data.insert(QLatin1String(QTCORE_BINPATH), qt->binPath().toUserOutput());
data.insert(QLatin1String(QTCORE_INCPATH), qt->headerPath().toUserOutput());
data.insert(QLatin1String(QTCORE_LIBPATH), qt->libraryPath().toUserOutput());
data.insert(QLatin1String(QTCORE_MKSPEC), qt->mkspecsPath().toUserOutput());
Utils::FileName mkspecPath = qt->mkspecsPath();
mkspecPath.appendPath(qt->mkspec().toString());
data.insert(QLatin1String(QTCORE_MKSPEC), mkspecPath.toUserOutput());
data.insert(QLatin1String(QTCORE_NAMESPACE), qt->qtNamespace());
data.insert(QLatin1String(QTCORE_LIBINFIX), qt->qtLibInfix());
data.insert(QLatin1String(QTCORE_VERSION), qt->qtVersionString());
......
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