Results 1 to 11 of 11

Thread: Widgets must be created in the GUI thread.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2010
    Posts
    102
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Widgets must be created in the GUI thread.

    hi all, i dont understand why my program error Widgets must be created in the GUI thread.

    it use Qthread loop WaitForSingleObject(hEvent, INFINITE);

    when i run test-gui-event-error project and after run sendevent project then it error :

    xxx.jpg


    message error: ASSERT failure in QWidget: "Widgets must be created in the GUI

    note: my source code project: Desktop.zip --> you must run test-gui-event-error project and after run sendevent , it will show error message
    thread.", file kernel/qwidget.cpp
    Attached Files Attached Files
    Contact: Skype: sonnh89
    Yahoo: nhs_0702@yahoo.com

    Liên hệ SKype: sonnh89

Similar Threads

  1. delete runtime-created widgets causes crash
    By jonasbalmer in forum Qt Programming
    Replies: 5
    Last Post: 10th February 2010, 21:36
  2. How to access Widgets created in Tab View
    By kapoorsudhish in forum Newbie
    Replies: 5
    Last Post: 23rd October 2009, 13:12
  3. Reading widgets from thread
    By sirlore in forum Qt Programming
    Replies: 3
    Last Post: 24th June 2009, 21:58
  4. Accesing widgets from separate thread
    By msmihai in forum Qt Programming
    Replies: 2
    Last Post: 8th December 2008, 11:48
  5. Replies: 6
    Last Post: 3rd September 2008, 14:27

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.