Results 1 to 15 of 15

Thread: State Machine Framework haging the UI when using it on a Qthread

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: State Machine Framework haging the UI when using it on a Qthread

    It would be advised if you posted your complete code related to the thread and your main() function.
    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.


  2. #2
    Join Date
    Sep 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: State Machine Framework haging the UI when using it on a Qthread

    the problem is finally soved.

    The code is like:
    Qt Code:
    1. frogs * rana = new frogs(background);
    2. rana->moveToThread(rana);
    3. rana->start();
    To copy to clipboard, switch view to plain text mode 

    Thank you very much for your help wysota.

    Best Regards,

    A. Cano

Similar Threads

  1. state machine in its own thread
    By shaolin in forum Qt Programming
    Replies: 7
    Last Post: 4th June 2011, 13:45
  2. State Machine returning to previous state
    By akiross in forum Qt Programming
    Replies: 2
    Last Post: 10th May 2011, 00:39
  3. Replies: 0
    Last Post: 19th December 2010, 16:03
  4. QTouchEvent and State Machine Framework
    By acano in forum Qt Programming
    Replies: 1
    Last Post: 30th September 2010, 07:58
  5. How to get this Qt state machine to work?
    By blukske in forum Qt Programming
    Replies: 0
    Last Post: 1st April 2010, 10:15

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
  •  
Qt is a trademark of The Qt Company.