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. CPU usage increase when moving the mouse on an embedded
QtWS25 Last Chance

CPU usage increase when moving the mouse on an embedded

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

    Hello I working on an qt application running over an embedded system using a linux kernel 4.4.49 and ARM v7l ... . I'm facing a problem with my mouse events, when my application starts the cpu consumption is normal, but once I move the mouse the cpu increase to 99% and a notable lag in the mouse cursor, keyboard starts and in general in the app. I was managing the event using eventFilter, so I commented all this code to see if the issue came from here, but I realized that it still, so It is pretty obvious that the bug came from how the qt is managing the mouse internally. Actually I notice that if I unplug the mouse, the cpu usage goes down. If not it kept on 99%. Does anybody can help me with this? I will really appreciate it. Regards

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Not sure how big is your application. We are also using in the embedded box. Not seen this kind of issue.

      Now, can you just prepare simple blank widget with mouse handling ? Just print debug message inside the mouse handling functions. Just see how it goes. This must be first step to identify the culprit.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      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