I'm developing a GUI application in Qt for an easy way to program i.MX based boards. I'm trying to use the MfgTools2 in CLI mode (using the -noui) but am running into problems. I'm running it using a QProcess to open a command prompt which invokes the MfgTools2:
cmd /C <path to MfgTool2> -noui
The MfgTool2 runs, but the output is not sent to Qt, neither in the STDOUT stream nor the STDERR stream. Even if I directly run it in command prompt and redirect the STDOUT and STDERR outputs to files, the application output is still on the screen instead of the files, as shown in the screenshot I have attached. So somehow the tool is using a non standard way to output text?
Is there any way to make the tool work in my program? Any ideas would be appreciated. Thanks!