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:
@@ -597,7 +597,7 @@ void CMakeRunPage::runCMake()
|
||||
m_argumentsLineEdit->text(), m_cmakeWizard->sourceDirectory(),
|
||||
m_buildDirectory, env,
|
||||
QString::fromLatin1(generatorInfo.generatorArgument()),
|
||||
QString::fromLatin1(generatorInfo.preLoadScriptFileArgument()));
|
||||
generatorInfo.preLoadCacheFileArgument());
|
||||
} else {
|
||||
m_runCMake->setEnabled(true);
|
||||
m_argumentsLineEdit->setEnabled(true);
|
||||
|
||||
Reference in New Issue
Block a user