QPushButton don't show background image in other windows pc
-
Hi
i write a qt application on linux, and i compile also it on windows on my pc the QPushButton show the background image but in other windows pc no, the member function i use to show the background image is this:
@
char style[41];
sprintf(style, "background-image: url(img/retro/%d.jpg)", retro);
CardMat[i].ibutton->setStyleSheet(style);
@CardMat[i].ibutton is a QPushButton
-
[quote author="koniar" date="1330274297"]Did You check the path ? Try QDir::currentPath()+"img/.."
[/quote]
sorry don't work :(
[quote author="Andre" date="1330356350"]Did you distribute the image plugins in the right way?[/quote]
sorry i don't understand :(
-
[quote author="WellSaid" date="1330377712"]
[quote author="Andre" date="1330356350"]Did you distribute the image plugins in the right way?[/quote]sorry i don't understand :([/quote]
"click":http://bit.ly/yioWEs