Never had problems running css through a QWebview on Windows XP after compiling it on a windows 7 platform. I've look through some older programs and the one I am certain ran fine on windows xp didn't have the below code for enabling plugins. Flash embeds are nice with QWebview. But maybe adding this would help? I do believe the the JavaEnabled setting is currently still not supported, but I keep it with this block in the hope that it will be.
Your problem might be how you are running the application on the XP computer. Is Qt installed on both machines, or just the Windows 7? If it isn't on the XP computer, and you have all the seemingly required .dll files, you might not have the imageformat/ directory with the .dll's for images... (qgif4.dll, qjpeg4.dll, ...... ) they are not considered crucial to running the program, but no pictures will work in a QWebView, QGraphicsView, or what not.... they are located in your Qt program installation in the bin folder, then in the imageformats folder. And the folder has to be in the directory you are running the application from.
QWebSettings *defaultSettings = QWebSettings::globalSettings();
defaultSettings->setAttribute(QWebSettings::JavaEnabled, true);
defaultSettings->setAttribute(QWebSettings::JavascriptEnabled, true);
defaultSettings->setAttribute(QWebSettings::PluginsEnabled, true);
QWebSettings *defaultSettings = QWebSettings::globalSettings();
defaultSettings->setAttribute(QWebSettings::JavaEnabled, true);
defaultSettings->setAttribute(QWebSettings::JavascriptEnabled, true);
defaultSettings->setAttribute(QWebSettings::PluginsEnabled, true);
To copy to clipboard, switch view to plain text mode
Hope this helps
Bookmarks