BTW a better hello world example would be:
#include <qapplication.h>
#include <qlabel.h>
int main( int argc, char* argv[] )
{
QApplication myapp( argc, argv );
QLabel* mylabel = new QLabel( "Hello World", NULL );
mylabel->resize( 80, 30 );
myapp.setMainWidget( mylabel );
mylabel->show();
return myapp.exec();
}
Putting the char string first in the QLabel uses a different constructor
and puts the words in the window instead of assigning the label a name.
Ed.
Frank Roberts - SOTL wrote:
> Hi All
>
<snip>
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:42:41 EDT