QT or KDE ?What's my problem?I'm newbie
Andy Teijelo PĆ©rez
espino at infomed.sld.cu
Fri Jan 21 19:46:16 GMT 2005
El Jueves, 20 de Enero de 2005 4:58, Mohsen Pahlevanzadeh escribiĆ³:
> Dears,following is my program:
> #include <ktmainwindow.h>
> #include <qstring.h>
> #include <kapp.h>
> int main(int argc,char **argv)
> {
> KApplication myapp(argc,argv);
> KTMainWindow x= KTMainWindow();
Didn't you forget the "new" keyword in this line?
Didn't you mean:
KTMainWindow x= new KTMainWindow();
> x.setGeometry(100,100,200,100);
> x.show();
>
> return myapp.exec();
> }//end of program
>
Sorry if I'm wrong.
Andy
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list