Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QWebview navigation by keyboard
QtWS25 Last Chance

QWebview navigation by keyboard

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 3 Posters 4.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tristenn
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tristenn
        wrote on last edited by
        #3

        I see in about Qt creator tab : based on Qt 4.7 - It is it ? Anyway, Is there some another way to fix problem with keyboard ? Thank you.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DenisKormalev
          wrote on last edited by
          #4

          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?

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tristenn
            wrote on last edited by
            #5

            where can I see it ?

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tristenn
              wrote on last edited by
              #6

              Is Qt 4.7 supported by ovi store ?

              1 Reply Last reply
              0
              • D Offline
                D Offline
                DenisKormalev
                wrote on last edited by
                #7

                You can look for used Qt version in your project setting in Creator.
                Qt 4.7 is not yet supported by Ovi Store.

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  koshui
                  wrote on last edited by
                  #8

                  Also notice that the navigation keys are not yet linked to webkit http://bugreports.qt.nokia.com/browse/QTWEBKIT-271 .

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved