Hi,
I have a problem with my application. I have created a new style like this:
void GmcStyle
::polish(QPalette &palette
) {
...
QPixmap backgroundImage
(":/images/metal_texture_4_by_wojtar_stock.jpg");
setTexture
(palette,
QPalette::Window, backgroundImage
);
...
}
void GmcStyle::polish(QPalette &palette)
{
...
QPixmap backgroundImage(":/images/metal_texture_4_by_wojtar_stock.jpg");
setTexture(palette, QPalette::Window, backgroundImage);
...
}
To copy to clipboard, switch view to plain text mode
for showing a background image. On the OS (windows xp) used for compililing and building the program works fine; if i move the application (and qt dlls) on a different computer (also with windows xp) the application works except for the background which is black and using it gives some graphics glitches.
Thanks and Happy New Year
Bookmarks