silversurfer
2006-11-27 15:31:31 UTC
Hello world,
I have written a program, which uses QT as GUI and which runs happily
in OS X and Linux. I can start the program in Ubuntu using
./myApp
and all the output I send with std::cout << "Test" (etc) can be seen
directly in the Shell-Window.
In OS X Terminal, I use
open myApp.app
to start the program. However, the terminal is accessable right away,
because the program is started as a new process (outside the terminal).
Thus, the output from std::cout cannot be seen anywhere.
How can I start a program in OS X such that the std::cout elements can
be seen somewhere or how can I make it visible?
Thanks a lot in advance
Tim
I have written a program, which uses QT as GUI and which runs happily
in OS X and Linux. I can start the program in Ubuntu using
./myApp
and all the output I send with std::cout << "Test" (etc) can be seen
directly in the Shell-Window.
In OS X Terminal, I use
open myApp.app
to start the program. However, the terminal is accessable right away,
because the program is started as a new process (outside the terminal).
Thus, the output from std::cout cannot be seen anywhere.
How can I start a program in OS X such that the std::cout elements can
be seen somewhere or how can I make it visible?
Thanks a lot in advance
Tim