Hi,
Im using QFont & QFontmatrics class only

this my program

QApplication a(argc,argv);

QFont font( strFname, iFsize) ;
font.setBold(true) ;
font.setUnderline(true) ;
font.setItalic(true) ;
font.setStrikeOut(true) ;
int iHeight , iWidth;
QFontMetrics fm(font);
QRect rct = fm.boundingRect(str);

iHeight = rct.height();
iWidth = rct.width();

But I dont want to use QApplication a(argc,argv) class or variable..........

Can i excute this programe without using QApplication a(argc,argv) & How?????

Thanks & Regards
Krishna