Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Text formatting problem on embedded system
sbartolett last edited by
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.
Can you show what you get ?
Are you doing anything special with these font(s) ?
JoeCFD last edited by JoeCFD
Could be the case that the font family is changed.
Rescale your label sizes to fit the new font size. Or change the font size to fit your label sizes
nagesh last edited by
@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