I am a humble beginner on qt.
Recently, I follow the tutorail,
http://doc.trolltech.com/3.3/tutorial1-01.html
copy the code
#include <qapplication.h>
#include <qpushbutton.h>
int main( int argc, char **argv )
{
QApplication a( argc, argv );
QPushButton hello( "Hello world!", 0 );
hello.resize( 100, 30 );
a.setMainWidget( &hello );
hello.show();
return a.exec();
}
in a *.txt and save it as main.cpp
copy the file main.cpp to /usr/bin where the executable file qmake
lived.
then qmake -project
but no *.pro file in the folder /usr/bin.
why?
thank you.
my email:liouxiangbiao@yahoo.com.cn