Custom QCheckbox does not appear when the program runs
Unsolved
General and Desktop
-
I want to change the default blue color of the checkboxes. I added a png to the resorces and then add it in the checkbox stylesheet. In QtDesigner I see it but when the program run it's not there.
In QtDesigner:
When the program runs:
checked
!
unchecked
Configuration:
Styles in the QCheckbox:
Anyone knows why this is happening? Or how to see what is happening? The console is not giving me any errors
-
Hi,
Just a wild guess but I am not sure that the @ notation is supported. Try with a normal file name.
-
Then I would test loading that image in QLabel to see it loads properly there.
-
Are you sure that your resources are properly built ?