Results 1 to 15 of 15

Thread: Workload in a QThread blocks main application's event loop ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Workload in a QThread blocks main application's event loop ?

    Ok, I now understand why a QThread should'nt do any business logic directly. I'll try that tonight!

    thanks for what I learned in this (forum) Thread !

  2. #2
    Join Date
    Apr 2006
    Posts
    7
    Thanked 4 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Workload in a QThread blocks main application's event loop ?

    Try this

    otherThread = new OtherThread(this);
    otherThread->moveToThread(otherThread);
    otherThread->start();

    that should work ... Regards Madrich

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.