Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Segementation fault while assigning qfont
Gowtam last edited by
I have the following structure:
QString text; //ICON, WIN, BG, BET, GRID..like this
In the line below, textforname is an instance of TextItem structure. When I'm setting font attributes like the following line or assigning it to a another QFont results in segementation fault. Can anyone explain why is this happening?
Jeroentjehome last edited by
What is this variable: font.attribute("Family")??? attribute is no known function of QFont in Qt5.
So think it has to do with that one.