forked from qt-creator/qt-creator
CMake: Fix cmake preloadCache file support
* Make it work at all again for cmake configurations without a preloadCache file * Fix the KitInformation to provide the getters/setters like all the other KitInformation do * Use those setters consistently * Remove useless conversion from QString to QByteArray and back Change-Id: I8fc43b3531da2c04034c89b29915a29c331fe064 Reviewed-by: Cristian Adam <cristian.adam@gmail.com> Reviewed-by: Benjamin Zeller <benjamin.zeller@canonical.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -160,7 +160,8 @@ void CMakeManager::createXmlFile(Utils::QtcProcess *proc, const QString &executa
|
||||
Utils::QtcProcess::addArg(&args, srcdir);
|
||||
Utils::QtcProcess::addArgs(&args, arguments);
|
||||
Utils::QtcProcess::addArg(&args, generator);
|
||||
Utils::QtcProcess::addArg(&args, preloadCache);
|
||||
if (!preloadCache.isEmpty())
|
||||
Utils::QtcProcess::addArg(&args, preloadCache);
|
||||
proc->setCommand(executable, args);
|
||||
proc->start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user