Results 1 to 3 of 3

Thread: Problems with QEventLoop

  1. #1
    Join Date
    May 2011
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Problems with QEventLoop

    Hi,

    I have 1 QFrame, when I click on a button this app, I call another QFrame through of a QEventLoop, this one is a Modal, when I click on a button this Modal, I call a Widget Modal through of a another QEventLoop. This point the application crash on Android, when I call function exec() from QEventLoop, on Desktop does work well. How can I solve this problem?

    Thanks!

  2. #2
    Join Date
    Apr 2008
    Posts
    45
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Problems with QEventLoop

    Why so many event loops?

  3. #3
    Join Date
    May 2011
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems with QEventLoop

    Quote Originally Posted by Scorp2us View Post
    Why so many event loops?
    Because I have one generic class to instance, show and exec the QFrame's and QWidget's, also because the process before QEventLoop's was very demanding, the eventloop solve this problems, the related problem started when I porting to Android.

Similar Threads

  1. QEventLoop not closing
    By kuku83 in forum Qt Programming
    Replies: 4
    Last Post: 10th April 2013, 16:01
  2. QEventLoop in QApplication
    By Qiieha in forum Qt Programming
    Replies: 1
    Last Post: 22nd May 2012, 19:08
  3. QEventLoop and QThreadPool Shutdown Problems
    By shawno in forum Qt Programming
    Replies: 1
    Last Post: 23rd June 2010, 18:49
  4. How to use QEventLoop?
    By MorrisLiang in forum Newbie
    Replies: 3
    Last Post: 13th May 2010, 16:23
  5. qprocess or qeventloop
    By knishaq in forum Qt Programming
    Replies: 1
    Last Post: 20th December 2009, 10:14

Tags for this Thread

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.