about console application
Hi all, I have create a simple hello world application in Qt Console application. I use Qt 4.4.3 with eclipse integration plug-in. When I build and run in eclipse it work fine, the Hello World message show up. But when I using command prompt(cmd) then go to the debug folder and call the program directly nothing happen!
Does anyone know why?
Re: about console application
by the way here is the code
Code:
#include <iostream>
#include <QtCore>
#include <QCoreApplication>
using namespace std;
int main(int argc, char *argv[])
{
cout << "Hello World\n";
return 0;
}
Re: about console application
it may be that the neccessary libraries are not included using the comamnd prompt. (pretty old post, but maybe still a question for some, hopefully myou have already found the answer)