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. [SOLVED] Trying to get a 5-way navigation to work on Sitara AM335x Starter Kit
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Trying to get a 5-way navigation to work on Sitara AM335x Starter Kit

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.3k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    Nate R.
    wrote on last edited by
    #1

    I bought a Sitara AM335x Starter Kit and I am trying to create a QT application that can be navigated with a 5-way button. The problem is the buttons on the form only can be moved between by using the up and down arrow. I tried rebuilding QT with this command...

    sudo ./configure -embedded arm -xplatform /home/nrogers/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/mkspecs/qws/linux-arm-gnueabi-g++/ -release -opensource -little-endian -host-little-endian -confirm-license -no-qt3support -no-neon -no-separate-debug-info -nomake examples -nomake tools -nomake docs -nomake demos -qt-kbd-linuxinput -no-armfpa -DQT_KEYPAD_NAVIGATION -no-webkit

    As you can see I included the -DQT_KEYPAD_NAVIGATION flag so I thought it would make the QApplication::setNavigationMode() function available to me. However when I try to complie in QT Creator the function still isn't found. I thought all I would have to do is change my qmake under teh Qt Version tab under Build & Run to the qmake under my Trolltech folder but it doesn't work.

    Is what I am trying to do even possiable? I just want to be able to put buttons and other things on the screen and have the arrow buttons navigate through them in a natural way without having to tell the application what to do each time an arrow button is pressed. Any help or ideas is greatly appriciated, thanks!

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nate R.
      wrote on last edited by
      #2

      I ended up using QtQuick and the KeyNavigation feature to implement my 5-Way button and it works really well.

      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