Results 1 to 2 of 2

Thread: model and view in different threads?

  1. #1
    Join Date
    Feb 2010
    Location
    Wokingham, United Kingdom
    Posts
    36
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: model and view in different threads?

    hi folks, just a quick one here. if i move a model to a different thread will it still play with the view in the gui.
    thnx


    Added after 14 minutes:


    short answer is yes, just compiled and ran successfully... i'm intrigued.... and may I add mwah ha ha
    Last edited by janorcutt; 19th January 2011 at 16:08.

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

    Default Re: model and view in different threads?

    No, you can't have the model and view in different threads. Once you start modifying the model, your application will start crashing on you randomly.
    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.


Similar Threads

  1. Replies: 2
    Last Post: 9th December 2010, 17:22
  2. View and Model in different threads
    By alextai in forum Qt Programming
    Replies: 0
    Last Post: 3rd October 2010, 00:26
  3. Replies: 0
    Last Post: 21st April 2010, 12:23
  4. Replies: 1
    Last Post: 1st February 2010, 18:42
  5. QSql Model-View: How to keep view in sync with model
    By schall_l in forum Qt Programming
    Replies: 1
    Last Post: 22nd December 2008, 23:31

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.