PDA

View Full Version : Qt creator Hello world output



klein
31st March 2011, 05:00
hi all
i'm new to Qt and just learning C++ so please bear with me, i'm going through a tutorial on C++ that goes through functions one at a time i enter my code , compile the code, and push run to see the output but nothing happens so i tinkered with some settings and when i push run now i have gnome-terminal popping up in my working directory and it doesn't display hello world. in the edit project settings i changed run settings to gnome-terminal. and as far as i can tell it isn't creating an executable file to run i'm sure i'm missing something.

ghal maraz
31st March 2011, 07:29
I think some code should be helpful. Did you create a Qt Console Application?
What happened to your QCoreApplication and the execute? When you coded
after the a.exec() the code will be hardly executed.

klein
2nd April 2011, 05:42
hi ghal maraz
i was trying to miss use QT, since then i found a few tutorials that got me on the right path.