Thanks for your answers. I should have posted the code I'm using when
trying this. It's now attached to this mail. As you can see I'm using
standard c++ code an not anything Qt related. I of course used std:: and all
that stuff. My problem is that when trying to input something everything
just hangs. I write something then press ENTER then I write something again
then press ENTER again but it just doesn't work , the input is not accepted
and the program doesn't move one no matter what I do.  Using Muhammad Bashir
Al-Noimi's code I get the same thing. Nothing after cin is executed no
matter what I do.
 If this code works for you under Linux I'm guessing it might just be a bug
and I should report it as such. I might be something related to the xterm -e
that's mentioned under Environment, General  ( Options ) . Can you take a
look and see what setting you have there.
 I'm using a less known distribution , Frugalware and Qt is version 4.6.2 (
the same version was used to compile Qt Creator from source code )  on a 32
bit environment.


On Sun, Mar 28, 2010 at 2:14 PM, Marius Cirsta <[email protected]> wrote:

>  I just wrote a simple program to use std::cin under Linux and I can't get
> it to work with Qt Creator 1.3.1. I get the application output but it
> doesn't recognize the ENTER key and so doesn't accept the input value that I
> type. My terminal is set the xterm -e unde Environment, General.
>
>  Any solutions to this ?
>

Attachment: try.tar
Description: Unix tar archive

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to