Hi all,
Rough as it is I got the windows application to match the embedded one by:
1. Worked out that the ratio between the point size font in the PC and pixel size font in the embedded device is exactly 4:3.
2. Called "setStyle("motif")" to set the overall style running in the PC to match the embedded device
3. Then for each widget that has a font do
QFont font = QFont(widget->font());
font.setPixelSize((font.pointSize() *4) /3);
widget->setFont(font);
The PC application appearance matches perfectly with the embedded on. The view in the Qt Creator GUI editor is still in the windows style but this is of so little significance as to not be worth persuing.
Cheers,
Peter
Bookmarks