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. QGuiApplication::focusObject() not working on embedded linux
Forum Updated to NodeBB v4.3 + New Features

QGuiApplication::focusObject() not working on embedded linux

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 419 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.
  • G Offline
    G Offline
    Gerharddc
    wrote on last edited by Gerharddc
    #1

    I am trying to use QGuiApplication::focusObject() in my embedded Linux application but unfortunately it does not seem to work. My application and it works fine on my PC but the moment I try to run it on my device it seems that the function does not return a pointer to a valid object because casting it to a QtQuickItem gives me an empty pointer and trying to work with it directly just causes the application to crash with access violation error probably relating to the object not actually existing. What could cause something like this?

    PS. I am on Qt 5.4.2 and Angstrom.

    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