Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.6.0-beta
-
None
Description
For new CMake based projects the wizard ignores the selected kit and uses always the default kit. This could be seen in CMakeLists.txt.user.
And it breaks compiling with msvc because the wrong varsbat call is used.
bool CMakeProject::fromMap(const QVariantMap &map) { if (!Project::fromMap(map)) return false; Kit *defaultKit = KitManager::instance()->defaultKit(); if (!activeTarget() && defaultKit) addTarget(createTarget(defaultKit));
createTarget triggers the wizard, but then the kit is already created.