UID:527
UID:2
UID:534
thank you!but the methods mentioned above don't work.i used google to search the answer:http://www.qtforum.org/thread.php?threadid=3466&sid=7bdc70de5013490f6813ba10a889e924{12.10.2004 21:34 Forum: Qt ProgrammingHi,try to use qmake and input the following linewin32:CONFIG += console in the *.pro file.to tell windows that you have a console app.Christian}i tried and it did work!