Googled, found similar topics did not help ...

Debian 7.0 available (KDE)

Installed Qt (QtCreator 2.5.0 is based on Qt 4.8.2 64x)

There is a project (console application), and in it main.cpp, which is compiled, but does not work:

#include <iostream> int main() { std::cout << "WORK PLEASE" << std::endl; return 0; } 

I click the green arrow, the console opens, and there:

Cannot connect creator comm socket /tmp/qt_temp.y11358/stub-socket: No such file or directory

To close this window, press <Enter> ...

In Tools-> Options-> Environment in the column Terminal replaced "x-terminal-emulator -e" with "xterm". Now he does not launch any console at all.

In the "Application Output" window every time a new tab comes off, and in it:

Runs / home / artyom / qt / shadow / work_please ...

If you close them, Qt will ask "Do you really want to close? The program is still running!"

Well, sort of described everything you can.

Help please, the second hour, I beat my head into the monitor ...

    1 answer 1

    Good day! Check if the following line is in the project file:

     CONFIG = console 

    If not then add - should help. I don’t know about Debian, but it helped me in a Windows driver. And another thing: I understand that problems of this sort appear, by default, Qt considers that you are creating an application with a GUI and therefore starts your application as a windowed one.