I am not sure what problems you have faced.
As I was able to compile and cross-compile QtWebkit 2.2 downloaded from Gitorious without any issues on qt 4.8
QtWebKit is based on WebKit engine, the same that drives Safari and Chrome browsers. There should be no problems with running it cross-platform. As for HTML5 and AJAX, I think it's also supported, but have not checked myself.
try using skia or cairo port for graphics, i think you should time heavily on cutting down modules of Webkit. But 10MB/32MB is very tough to accomodate
If nothing changed during my lengthy absence from this forum, you should now change the topic's title/ subject to include "[Solved]" at the beginning. I've also tagged it for you.
the problem has been solved the problem was because webview requires tab and tab requires webview so there will be error now i have done something different thanks all
I think you best bet is to subclass [[doc:QNetworkAccessManager]] and [[doc:QNetworkReply]]. In your subclass of QNAM, you reimplement the createRequest method to return your own subclass of QNetworkReply. Your custom reply class can manipulate the data as it streams in or just when it is read out.
Maybe you should ask this on WebKit forums, I don't think you can do this over Qt without making modifications/extending WebKit source...
P.S.: If you find something, please let me know, I'm interesting in that too...
I've found the solution: I just needed to set the graphics system to raster
@
int main(int argc, char *argv[])
{
QApplication::setGraphicsSystem("raster");
QApplication app(argc, argv);
...
}
@
Sorry, my bad! I was using an older version of Qt when tested this.
I set the render hints like this in the constructor of the classes inherited from QGraphicsWebView and QGraphicsView:
@
setRenderHint(QPainter::SmoothPixmapTransform);
setRenderHint(QPainter::Antialiasing);
setRenderHint(QPainter::TextAntialiasing);
setRenderHint(QPainter::HighQualityAntialiasing);
@
but the scaled images still looks pixelated.
(The images are scaled from CSS by setting the width property).
Is there a way to make those images look nicer?