I have used Qt Designer to create a simple application, inside the form1.ui.h File I have my slot functions. In order to understand better when which part is called I wanted to print text output to stdout via cout << "we are here"; I have place the #include<iostream> inside the form1.ui.h file. Anyway the compiler complains that "cout" is not defined.

Am I trying something really stupid? Where do I have to place the include?