QtWebkit, different behavior between PC and N950
-
Hi,
I am running the following qml in my laptop and in my N950. In the laptop, it works as expected. In the N950, I get a white screen.
I have tried loading the URL site in the N950 browser, and it works as expected... So I am trying to guess what it's going wrong.
Thank you very much and best regards
@import QtQuick 1.1
import QtWebKit 1.0
import com.nokia.meego 1.0Window {
id:rootWindowWebView {
id: webView
anchors.fill: parent
width: rootWindow.width
height: rootWindow.height
settings.javascriptEnabled: true
settings.localStorageDatabaseEnabled: true
settings.offlineStorageDatabaseEnabled: true
settings.offlineWebApplicationCacheEnabled: true
url: 'http://www.carefy.com/AHS-Assistant/'
}
}@ -
-Closed. Duplicated of "this thread":http://developer.qt.nokia.com/forums/viewthread/9428/.-
Instead of closing, I deleted the duplicate; Andre
-
I think it is related with HTML5 local storage (http://diveintohtml5.org/storage.html) support ...
Anyone could provide any tip about how to activate it in QML?
In PySide it would be something like this:
@mSettings = mWebView.settings()
mSettings.setAttribute(QWebSettings.LocalStorageEnabled, True)
mSettings.setAttribute(QWebSettings.OfflineStorageDatabaseEnabled, True)
mSettings.setAttribute(QWebSettings.OfflineWebApplicationCacheEnabled, True)
mSettings.enablePersistentStorage(path=sys.path[0])@