These are two of my helloworld :
without QT class
#include <iostream>
int main()
{
std::cout<<"haha"<<std::endl;
return 0;
}
#include <iostream>
int main()
{
std::cout<<"haha"<<std::endl;
return 0;
}
To copy to clipboard, switch view to plain text mode
with QT class
#include <QtDebug>
int main( )
{
qDebug() << "Hello Qt World!";
return 0;
}
#include <QtDebug>
int main( )
{
qDebug() << "Hello Qt World!";
return 0;
}
To copy to clipboard, switch view to plain text mode
I compiled any of these file as like:
\qmake -project
......
\qmake
......
\make
......
There is no any error ,but when I run the helloworld.exe,there is no out !!!???
why!
Is there any bug with QT?!
Bookmarks