Page 1 of 1

Help with background images

Posted: Thu May 14, 2015 11:39 am
by EBDS
Hi folks. I can't get background images to work. I am right clicking a button, selecting Background/Background Image and then selecting an existing Chauvet gobo pic but it doesn't show up in the button. Can anyone help me understand why I can't get it to work?

Thanks,
Rob

Re: Help with background images

Posted: Thu May 14, 2015 11:43 am
by janosvitok
IIRC background images do not work in QT5 builds. So if you're using QT5 build, it's a known issue. In QT4 builds it should work.
To fix QT5 the code needs to be rewritten.

Re: Help with background images

Posted: Thu May 14, 2015 2:26 pm
by EBDS
Sorry, a little confused with the terminology you're using. Are you talking about 4.8.4 and 4.8.5?

Re: Help with background images

Posted: Thu May 14, 2015 2:38 pm
by janosvitok
QLC+ uses QT library for GUI and many other things. I asked what QT version does your build of QLC+ use - since there are two major versions currently in use: QT 4.x.x and QT 5.x.x.
I have checked your other posts and you said that you use Win 8.1 and QLC+ 4.8.5. That build uses QT5, which means that it's a known problem.

Sorry that I didn't explain it better the first time...

The only hope here is that I don't remember it correctly... :)

Re: Help with background images

Posted: Fri May 15, 2015 8:44 am
by mcallegari
Linux is on Qt4 while Windows and OSX are on Qt5.
If this is a known issue, then it definitely slipped out of my mind.
I'll see if it can be fixed easily.

Re: Help with background images

Posted: Fri May 15, 2015 9:04 am
by janosvitok
We've discussed this loooong time ago (Nov 2013, mail thread "news"). I remember that it looked like the background has to be reimplemented using stylesheets.
I noticed that setting button background color/icon doesn't work in VC as well... It's QT5 thing - qt4 works fine. I could only set the background using setStylesheet("background-color: xxx") but then the button had sharp corners
I forgot that thing as well... :)