Nop!
I start them through a QProcess object, and not QProcess::startDetached(), itself owned by a running non-GUI QThread.
Nop!
I start them through a QProcess object, and not QProcess::startDetached(), itself owned by a running non-GUI QThread.
Current Qt projects : QCodeEdit, RotiDeCode
I've created a small test:and it doesn't open console window. Maybe this is because you start QProcess in another thread?Qt Code:
#include <QApplication> #include <QProcess> #include <QMessageBox> #include <QString> int main( int argc, char **argv ) { QProcess proc; proc.start("g++ --version"); proc.waitForFinished(); return 0; }To copy to clipboard, switch view to plain text mode
This does not work...
Mmmh, yes it does work but the console windows still appears... It must be specific to Win 9x/ME ...
Current Qt projects : QCodeEdit, RotiDeCode
It could be, I've tested above program on windows XP.Originally Posted by fullmetalcoder
win9x/ME ??? I thought they died quite a while ago....
do you? You were wrong then... There at least on winME still running on that good old Earth!![]()
But is that the point anyway?
Current Qt projects : QCodeEdit, RotiDeCode
"Good old earth"? Isn't WinME famous of it's memory leaks and stuff. I thought it's maybe the worst Windows ever..![]()
J-P Nurmi
It certainly is a great piece of Window$-coding with all the bugs and leaks it implies... AFAI Used it it crashes 1 time over 3 at run-time!!! Impressive, huh?Tha's why I'm using Fedora most of the time, but as it is the only Window$ I've got I use it to test my code so...
Current Qt projects : QCodeEdit, RotiDeCode
Bookmarks