While opening telegram on Ubuntu Got QPainter::begin: Paint device returned engine == 0, type: 2
-
pegasus@pegasus:~$ telegram QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter QRhiGles2: Failed to make context current. Expect bad things to happen. qt.text.font.db: OpenType support missing for "Open Sans", script 12 qt.text.font.db: OpenType support missing for "vazirmatn ui nl", script 12 qt.text.font.db: OpenType support missing for "Open Sans", script 12 qt.text.font.db: OpenType support missing for "vazirmatn ui nl", script 12
I did setup many gnome tools recently gtk4, and many gnome related stuff.
Now my applications are opening slow, terminal telegram and many.And showing this error while opening.
How to resolve this? -
Not a Qt issue, check telegram support.
I would guess you are using a version linked to Qt 5, while you have Qt 6 on your PC.