I have a problem ... if I try to run the examples they work. if I try to create a new project with eclipse and put it in, for example, the following files main.cpp histogram_item.h histogram_item.cpp taken from examples / Histogram and compiling .. I do not have problems. When I try to run the program a window appears that says

in the title : Microsoft vc++ Runtime library(strange...I don't use vc++)
in the body:This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

I think I have to define some other parameter in file . pro ....but what ?