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

QWidget transparency rendering



  • Hello All,

    I'm facing a weird probem. I have a form with some widget (QLabel) and trying to render them into a QImage with their background transparent.

    I got the transparent background but the antialiased text is computed with the alias alpha, giving some junk on the edge : Tje text is written in white and the edge let appear some gray to black antialias ...
    I tryed with a QPainter with CompositionMode_Source, With WA_transluscent an other optons I can't get a working sample with antialias computed in alpha channel only

    Any help ?

    Regards


Log in to reply