Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Background at corner is not transparent with different OpenGl version.
Tabi last edited by
I am using a customized widget that is inheriting QWidget and I applied stylesheet to its top level which is as:
border: 10px solid qlineargradient(spread:reflect, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(117, 170, 255, 255), stop:1 rgba(94, 139, 206, 255));
The corners here are appearing with radius 15px and remaining corner area is transparent I can say remain background out of that radius is transparent. But it is only on my system. If I build and run the program on other systems the background is not transparent in that they are appearing white and it is odd. What I noticed that my system is having OpenGl 3.3 and all other systems are having 4.2 and my question is that is it due to different version of OpenGl? or any other reason? Any help is appreciable, I have no clue why this is happening.
Here are some system related info that are same for all systems:
Qt: 4.8.3 (64bit)
OS: Windows 7
IDE: VIsual Studio 2008
Processor:Intel(R) Core(TM) i5-2310 CPU @ 2.90GHz, 2901 Mhz, 4 Core(s), 4 Logical Processor(s)