Hello, I am writing a utility in Qt 4.8 that basically automates several tasks for my area of software development. Some of the tools I am looking to automate require the usage of WINE. Everything is running as expected except when a tool requiring WINE encounters a logical error, it seems that I only receive errors from WINE itself and not the error information from the application running within WINE.

Example:
bash output:
Qt Code:
  1. fixme:heap:HeapSetInformation (nil) 1 (nil) 0
  2. fixme:process:SetProcessDEPPolicy (1): stub
  3. fixme:heap:HeapSetInformation (nil) 1 (nil) 0
  4. fixme:heap:HeapSetInformation (nil) 1 (nil) 0
  5. fixme:module:GetModuleHandleExW should pin refcount for 0x79000000
  6. MMP: error MMP0000: Cannot locate file for assembly 'xxxx'
  7. MMP: error MMP0000: CLR_E_ENTRY_NOT_FOUND
To copy to clipboard, switch view to plain text mode 

QProcess output:
Qt Code:
  1. fixme:heap:HeapSetInformation (nil) 1 (nil) 0
  2. fixme:process:SetProcessDEPPolicy (1): stub
  3. fixme:heap:HeapSetInformation (nil) 1 (nil) 0
  4. fixme:heap:HeapSetInformation (nil) 1 (nil) 0
  5. fixme:module:GetModuleHandleExW should pin refcount for 0x79000000
To copy to clipboard, switch view to plain text mode 

Now, in both cases I used the exact same command. My usage of QProcess is as follows:
Qt Code:
  1. MainProcess = new QProcess(this);
  2. MainProcess->setProcessChannelMode(QProcess::MergedChannels);
  3. MainProcess->start(command,QIODevice::ReadWrite);
  4. if(!MainProcess->waitForFinished())
  5. {
  6. //handle errors
  7. }
  8. ui->textEdit->append(MainProcess->readAllStandardOutput());
To copy to clipboard, switch view to plain text mode 

readAllErrorOutput() returns nothing (as expected) and readAll() returns the exact same output as readAllStandardOutput().

What am I doing wrong here? Any help would be greatly appreciated, thank you.