Text formatting problem on embedded system
-
We are developing a GUI application using Visual Studios 2017 and Qt 5.12 on windows 10 and targetting a Raspberry Pi. We design a UI using Qt Creator and if we run the application from Visual Studios, the dialog displays as expected. However if we deploy the application on the Raspberry Pi and run it there, the text font size appears to change causing problems with the text formatting. The problem seems to be similiar to the one described here: https://www.raspberrypi.org/forums/viewtopic.php?t=203251#p1262570. But we have not been able to find a good solution to this problem other than trying to compensating for the problem in the design of the dialog in Qt Creator. Does anyone know a better solution?
We are using Qt 5.12, Visual GDB, Linux toolchain GCC 8.3.0, GDB 8.2.1.
-
Hi,
Can you show what you get ?
Are you doing anything special with these font(s) ? -
@sbartolett I have faced the similar issue, reason turns out to be the font that set for the GUI widget will not be available in the target environment.
Either make the required fonts to be available in the target system or
set the fonts which are currently available in the target