Unsolved Background image opacity and stretch?
-
How to set Background image opacity and stretch?
All stack overflow and Qt support team answer is fake for this.
they are lying all. -
@ranji
Do not duplicate the posts https://forum.qt.io/topic/106874/background-image-settingCan you show what have you tried ? And what are the answers you referred ?
-
sorry, i'm receiving very strong stress.
i'm going to load global qss file.
i 'm going to change background-image style(opacity,stretch) there.
this is my code.QMainWindow {
background-image: url(assets:/mainmenu.jpg) 0,0,0,0 stretch stretch 50%;
}
image load is wall, but opacity and strech don't working. -