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

QbsProjectManager: Set up Qt version numbers.

This was simply forgotten, leading to semi-random behavior in the
profile setup code (e.g. a Qt 4 version being treated like a Qt 5 one).

Change-Id: I6d75cf3c622a0dd520724b25eb9b823d3dcc117d
Reviewed-by: default avatarAlessandro Portale <>
Reviewed-by: default avatarJake Petroules <>
parent 2b9a00f1
......@@ -164,6 +164,9 @@ void QbsManager::addQtProfileFromKit(const QString &profileName, const ProjectEx
qtEnv.qtNameSpace = qt->qtNamespace();
qtEnv.qtLibInfix = qt->qtLibInfix();
qtEnv.qtVersion = qt->qtVersionString();
qtEnv.qtMajorVersion = qt->qtVersion().majorVersion;
qtEnv.qtMinorVersion = qt->qtVersion().minorVersion;
qtEnv.qtPatchVersion = qt->qtVersion().patchVersion;
qtEnv.frameworkBuild = qt->isFrameworkBuild();
qtEnv.configItems = qt->configValues();
qtEnv.qtConfigItems = qt->qtConfigValues();
Supports Markdown
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