Results 1 to 5 of 5

Thread: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]

  1. #1
    Join Date
    Jan 2011
    Location
    Pearl of the Orient Seas
    Posts
    40
    Thanks
    12
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]

    Hi

    Can you disable the app not responding dialog from Qt or QML (please see attached) ? My Application requires you not to close it for it to continue. It shows that dialog because my app dynamically draws a lot of polylines (around 300 polylines, with a minimum of 2 coordinates, and maximum of 8 coordinates each polyline.), which probably freezes my app. But if you choose not to close the app, it will continue with its processes, and load successfully. Can anybody please help me how to disable this dialog, which was prompted by the system.

    I am running on MeeGo Harmattan PR 1.2. Any help will be greatly appreciated

    Screen_09-May-12_14-15-15.jpg

    Thank you very very much!

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]

    I have solved this by calling QApplication::ProcessEvents() every now and then during a long task.

  3. The following user says thank you to mvuori for this useful post:

    aya_lawliet (10th May 2012)

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]

    Read [wiki]Keeping the GUI Responsive[/wiki]. Divide your process into steps, draw each step into the pixmap and then just update() your widget and paint the pixmap to the widget in the paint event.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. The following user says thank you to wysota for this useful post:

    aya_lawliet (10th May 2012)

  6. #4
    Join Date
    Jan 2011
    Location
    Pearl of the Orient Seas
    Posts
    40
    Thanks
    12
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]

    Thank you very much mvuori, wysota. I will check out your suggestions.

  7. #5
    Join Date
    Jan 2011
    Location
    Pearl of the Orient Seas
    Posts
    40
    Thanks
    12
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]

    The call to QApplication::ProcessEvents() very now and then while creating the map objects worked for me as well.

    Thank you all very much for the help.

Similar Threads

  1. Replies: 0
    Last Post: 10th October 2011, 09:11
  2. Replies: 4
    Last Post: 20th July 2011, 12:37
  3. "Render" Qt dialog window from ".ui" file
    By BitEater in forum Qt Programming
    Replies: 1
    Last Post: 8th July 2011, 15:40
  4. Replies: 2
    Last Post: 29th July 2010, 20:37
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 20:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.