Show also error output in the cmake run log.

This commit is contained in:
dt
2009-04-20 12:18:32 +02:00
parent e24b2b76ac
commit 48dd25866e

View File

@@ -110,8 +110,9 @@ QProcess *CMakeManager::createXmlFile(const QStringList &arguments, const QStrin
QString buildDirectoryPath = buildDirectory.absolutePath(); QString buildDirectoryPath = buildDirectory.absolutePath();
qDebug()<<"Creating cbp file in"<<buildDirectoryPath; qDebug()<<"Creating cbp file in"<<buildDirectoryPath;
buildDirectory.mkpath(buildDirectoryPath); buildDirectory.mkpath(buildDirectoryPath);
QProcess * cmake = new QProcess; QProcess *cmake = new QProcess;
cmake->setWorkingDirectory(buildDirectoryPath); cmake->setWorkingDirectory(buildDirectoryPath);
cmake->setProcessChannelMode(QProcess::MergedChannels);
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
QString generator = "-GCodeBlocks - MinGW Makefiles"; QString generator = "-GCodeBlocks - MinGW Makefiles";