Hello,
Anyone knows how to speed up javascript in Qt? I'm using the QWebview and all javascript actions are very slow.
Thanks
Hello,
Anyone knows how to speed up javascript in Qt? I'm using the QWebview and all javascript actions are very slow.
Thanks
Javascript in WebKit is (one of?) the fastest known JavaScript implementation so you will hardly find a way to speed it up. But the slowdown is probably not caused by java script but rather by other things going on in your application.
Thanks for reply,
Yes I know that it should be the faster implementation of Javascript. I don't think that it is a problem in the application("I hope so :-) ") because I'm juste using a QWebView to display a web site on a Window CE6.0 device (Cortex A8 600MHZ), and that what I can see is that the loading is very slow and when I press a button in the web site, the action takes a lot of time. I also compiled the application with the wm SDK6.0 and run it on to a Touch HD(528MHz). The application is a little quicker. I don't know why i have this behaviour. I was wondering that maybe I have had forget to add some configuration when compiling QT but I don't know.
Any ideas??
I'm running the same application on two devices. Must I recompile it with the windows CE6.0 sdk in order to use it on the Wince device; or just with the wm6.0professional is enough. There will be any difference or improvement??
Thanks
Me too,
I found that qtwebkit Javascript is very slow(Qt4.6.2) on my windows ce device. anybody know why?
Maybe building qtwebkit from gitorious trunk for windows ce, could improve performances, but anybody know how I could do that.
I tried to replace the sources in qt4.6.2/src/3rdparty/webkit with gitorious sources but I can't build it; and also I tried the steps in webkit site: http://trac.webkit.org/wiki/BuildingQtOnWindows, also without success.
Please help!!!!
I can confirm slow javascript performance on Linux Mepis 11 KDE 4, qt 4.7.1 with an intel graphics card on a DELL latitude d830 laptop.
Very slow image transitions on fade out / fade in slideshow
Both Firefox and google chrome perform very well.
I am running Qwebview with pyqt inside a widget.
python Code:
class web(QWebView): def __init__(self , w, h ,url,par=None): QWebView.__init__(self,par) self.settings().setAttribute( QWebSettings.PluginsEnabled , False ) self.resize(w, h) self.load(QUrl(url)) self.show() if __name__ == "__main__": app = QApplication(['rolling']) x = web(int(sys.argv[1]),int(sys.argv[2]) , sys.argv[3]) x.show() app.exec_()To copy to clipboard, switch view to plain text mode
Last edited by wysota; 23rd March 2012 at 11:04. Reason: removed URL
It works fine for me. Fade-in/fade-out works fluently on the url you provided.
Bookmarks