I have the following problem using QT 4.5 on Mac OS X 10.5.6

After compiling the console application and click on "play/run" button, it doesn't open in Terminal.Just appears the path to the file.
When i make GUI application it works normally.