Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Application "Not Responding"
QtWS25 Last Chance

Application "Not Responding"

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 920 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.
  • Pranit PatilP Offline
    Pranit PatilP Offline
    Pranit Patil
    wrote on last edited by
    #1

    I developed one application software in qt.its working fine but sometimes when process is going on and you click somewhere then application "Not Responding " message will display on top and application software hang after few min is working fine.

    0_1540549929615_Screenshot_47.png

    How to remove this hang problem or "Not Responding " issue ?
    Im using windows 7 (32bit) ,Qt Creator 4.6.0 Based on Qt 5.10.1 (MSVC 2015, 32 bit).

    Thank You.

    @Embedded Software Developer
    God has given you one face, and you make yourself another.

    JonBJ 1 Reply Last reply
    0
    • Pranit PatilP Pranit Patil

      I developed one application software in qt.its working fine but sometimes when process is going on and you click somewhere then application "Not Responding " message will display on top and application software hang after few min is working fine.

      0_1540549929615_Screenshot_47.png

      How to remove this hang problem or "Not Responding " issue ?
      Im using windows 7 (32bit) ,Qt Creator 4.6.0 Based on Qt 5.10.1 (MSVC 2015, 32 bit).

      Thank You.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Pranit-Patil
      Make sure your main UI event loop is always "active" and responding. In other words, somewhere you are doing something time-insensitive in your code. You need to change that so that either it uses signals & slots so it does not block, and/or hand off the computation to a non-UI thread you create. or if you have to be "naughty", you might have to call QCoreApplication::processEvents() explicitly, but try not to do that...

      1 Reply Last reply
      4

      • Login

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