i have class(such mywidget) derived qwidget. write codes below:
// qstr qstring type; // isize int type; qfont font(qstr, isize, qfont::normal); mywidget->setfont(font); mywidget->update();
those codes work on windows not os x. cause of problem ?
update -------------------
my colleague has removed feature , means 'setfont' not allowed now. give .
it may occur style properties not displayed correctly depending on os. seems apple thinks interfere general , feel of mac os. try using stylesheet class instead of setting font directly.
Comments
Post a Comment