Image difference between QT and raspberry touch screen
-
Hi,
There are differences between the qt images (fonts, shapes...) on ubuntu and raspberry pi touch screen. What is the reason of this and what can we do for solving this problem?On raspberry screen : http://imageshack.com/a/img633/6198/qt3U5N.png
On ubuntu qt creator : http://imageshack.com/a/img908/2184/eWgoKd.png -
Hi
The look is often set by the platform you are running on.you can try to set
http://doc.qt.io/qt-5/qapplication.html#setStyleand see if that makes it look differently.
-
I have used this :
QFont newFont("Courier", 12, QFont::Bold, true); QApplication::setFont(newFont);the size of font can be changed but the family can not be changed. it shows still the fonts as "Times", not "Courier".
-
@mrjj
I have checked with fc-list. and i have tried with my any installed font but the result didn't change. I still can not change the font type. -
@mrjj
Yes i have tested, it works in text editor, i can change the font type in the text editor.@rapid84
Ok. odd.
Maybe see if Qt think the same as fc-list
using some from
http://doc.qt.io/qt-5.5/qfontdatabase.html#details
Do yo use stylesheet or anything that might overrule?