#include <ncurses.h>
int main()
{
initscr();
addstr("Hello world");
refresh();
getch();
endwin();
return 0;
}
This basic application doesn't show any output when building and running in QtCreator 2.8.0.
When i run previously compiled in QtCreator program in separate terminal window, then it works fine. But when i run it under QtCreator (Ctrl-R or press "Run" button), then i see empty xterm window and no output. I guess this is somehow related with qtcreator_process_stub
, which entitles that empty xterm window.