PDA

View Full Version : the sreen just show for few seconds and disappear



calebmakore
4th October 2011, 11:50
Hi guys

I just started learning Qt4 on my own. Iam writing a console application, my output just show for few seconds and disappear.
when I use iostream I am delaying it with cin.get(). Now I want to use QTextStream, how do I delay the screen.

If there are any other resources which can help me learn Qt4 please you can share with me.

eager to learn - Caleb

wysota
10th October 2011, 21:12
You can still use cin with Qt apps. Basically if you want to delay closing your application, don't return from main.