QtWebKit 3.0 (QML) + Windows XP SP3 + graphics card OpenGL 1.x
-
My system:
Windows XP Home SP3
Video: Mobile Intel 945 Express Chipset Family (latest driver)
Qt 5.2.0 MSVC2010 (ANGLE)My graphics card in my netbook supports only OpenGL 1.4, so I try to use ANGLE.
When I try to use QtWebKit 3.0 (QML) to display simple text, I see flickering, bad rendering and teared content, like this:
https://bugreports.qt-project.org/browse/QTBUG-36440
https://bugreports.qt-project.org/browse/QTBUG-36556And "here":https://bugreports.qt-project.org/browse/QTBUG-36556?focusedCommentId=234115&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-234115 to me have responded, that "Windows XP and ANGLE is not a supported combination".
Is there any way to use QtWebKit 3.0 (QML) with graphics card OpenGL 1.x on Windows XP for simple HTML with JavaScript and CSS? Maybe with recompiling of Qt.
My application is for Windows (+XP), Linux and Android for displaying HTML-text with some interactions by means of JavaScript and with some design by means of CSS. And I would like to make my application run on older systems with Windows XP, with older graphics cards.
-
Hi,
QML-based graphics require OpenGL 2.0 or higher. Gunnar Sletta is one of the people who work on QML/OpenGL code full-time at Digia. If he says that ANGLE doesn't work on XP, then I'm afraid there's not much we can do to make it work (or, it will take too much effort to make it work).
Are you planning to produce web applications which are hosted on the Internet? If you simply want rich text (HTML + CSS) with some scripting, WebKit might be too "heavy". QLabel and QTextEdit are capable of displaying rich text, and they are well-supported on old PCs. See:
- HTML/CSS tags supported by Qt widgets -- http://qt-project.org/doc/qt-5/richtext-html-subset.html
- QTextEdit::setHtml() -- http://qt-project.org/doc/qt-5/qtextedit.html#html-prop
For scripting, see the "Qt Script module":http://qt-project.org/doc/qt-5/qtscript-index.html
Alternatively, try using the C++ QWebView instead of the QML WebView.
-
Thank you! Then I will try QWebView, since I need a lot more support for the HTML/CSS.