Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Graphics settings



  • Hi everyone.

    I'm attempting to run Qt4.8 (PySide) along with CEF (cefpython).

    For some reason on some computers, running cefpython along with Qt will cause CEF to have rendering glitches (browser display will not refresh, image will be overstretched...). I've tried running CEF also as a thread but the problems persist. CEF/cefpython if run by itself, will not have any rendering problems. The mere inclusion of Qt will cause these rendering problems.

    My question is, does Qt choose graphic settings that extend to threads and that affect graphics libraries not related to Qt? Is there something I could try to fix this?

    Thanks a lot.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    From a quick search, are you referring to this example ?



  • Thanks!

    I should've attached the example, the one you posted is exactly it.

    The problem occurs on my Windows 10 computer and not on my Windows 8 one, not sure if there's a relation there.


  • Lifetime Qt Champion

    Are you using the exact same version of everything on both your machines ?

    Note that Qt 4 has reached end of life quite some time ago. You should consider upgrading to Qt 5 (through PyQt5 or PySide2).



  • Yes, I'm sure I'm using the same versions on both machines, all contained within the same directory and not relying on system installations.

    I'll give PySide2 try with that example. Though PySide2 looks to be under development and maybe would break my project in unexpected ways. But if there's nothing to be done with Qt4 then I'll take that path.

    Do you have any other ideas to try?

    Thanks for the support.



  • Interesting, the CEF rendering issues are resolved with PySide2 (Qt5).


Log in to reply