View Full Version : about console application
jirach_gag
15th November 2008, 13:45
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?
jirach_gag
15th November 2008, 13:48
by the way here is the code
#include <iostream>
#include <QtCore>
#include <QCoreApplication>
using namespace std;
int main(int argc, char *argv[])
{
cout << "Hello World\n";
return 0;
}
szisziszilvi
5th January 2012, 11:39
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)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.