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. No event on android tablet when QPushButton is touched?
Forum Updated to NodeBB v4.3 + New Features

No event on android tablet when QPushButton is touched?

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 865 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.
  • C Offline
    C Offline
    cdwijs
    wrote on last edited by
    #1

    Hi All,

    I have two QPushButtons on my form, with a number in between. I use the signal pressed() to alter the number.

    When I run the program on windows 7 with a mouse, I can click the buttons, and the number in between the buttons reacts as expected.

    When I run the same program on my android tablet, I can press the button, It will select (it goes blue), but my number does not change. When I touch the 3 tabs at the top ("Leaderboard,inpuit,Settings") QTabWidget does react to the touch by showing the other tab.

    I have tried the signal clicked() and pressed() on the buttons, but both don't seem to emit a signal on android, while they do on windows.

    My code is here on github:
    https://github.com/cdwijs/CatanScoreboard

    My tablet:
    Asus Transformer tf101
    Android version 4.0.3
    Kernel 2.6.39.4

    What could this be?
    Kind regards,
    Cedric

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cdwijs
      wrote on last edited by
      #2

      Strange... Now it just works?

      Anyway it's solved.
      Kind regards,
      Cedric

      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