diff options
author | dt <[email protected]> | 2009-04-20 12:18:32 +0200 |
---|---|---|
committer | dt <[email protected]> | 2009-04-20 12:18:32 +0200 |
commit | 48dd25866e9c2f5a5f0844cc5b72ab60f94d11bc (patch) | |
tree | 67bcf23a9bad7dabc6669043d580b5cc0a63a2dc /src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp | |
parent | e24b2b76acd2b84383c73dcf59466e6897849f8c (diff) |
Show also error output in the cmake run log.
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp index 0ed79cfc489..9e85318461f 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp @@ -110,8 +110,9 @@ QProcess *CMakeManager::createXmlFile(const QStringList &arguments, const QStrin QString buildDirectoryPath = buildDirectory.absolutePath(); qDebug()<<"Creating cbp file in"<<buildDirectoryPath; buildDirectory.mkpath(buildDirectoryPath); - QProcess * cmake = new QProcess; + QProcess *cmake = new QProcess; cmake->setWorkingDirectory(buildDirectoryPath); + cmake->setProcessChannelMode(QProcess::MergedChannels); #ifdef Q_OS_WIN QString generator = "-GCodeBlocks - MinGW Makefiles"; |