QWebview navigation by keyboard
-
Hello, I have a problem with navigation in non-touch mobiles like E5-00. Mobile can acces links etc.
I found this solution over the net:
@QWebPage *page = ui->webView->page();
QWebSettings *settings = page->settings();
settings->setAttribute(QWebSettings::SpatialNavigationEnabled, true);@BUT there is error: 'SpatialNavigationEnabled' is not a member of 'QWebSettings'
In referece is member of Qwebsettings.I using Qtcreator 2.0.1 based on Qt 4.7.
Many thanks for help.
-
Are you sure you are using Qt 4.7 as lib for your application? This attribute was added only for 4.7 and doesn't exist for 4.6
-
Qt Creator is based on Qt 4.7 but it looks like you are linking against Qt 4.6. What version of Qt are you using?
-
You can look for used Qt version in your project setting in Creator.
Qt 4.7 is not yet supported by Ovi Store. -
Also notice that the navigation keys are not yet linked to webkit http://bugreports.qt.nokia.com/browse/QTWEBKIT-271 .