Results 1 to 2 of 2

Thread: local variables in QThread - derived class

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: local variables in QThread - derived class

    Yes, as the constructor is run by the thread that creates the threadOne object but run() is being executed on the new thread.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    TorAn (4th September 2016)

Similar Threads

  1. Replies: 0
    Last Post: 4th May 2015, 04:48
  2. Replies: 2
    Last Post: 16th September 2013, 10:57
  3. accessing static member variables of one class in another class
    By jasonknight in forum General Programming
    Replies: 5
    Last Post: 6th September 2010, 14:53
  4. Replies: 1
    Last Post: 21st June 2010, 07:26
  5. Signal/slot looking in base class, not derived class
    By georgie in forum Qt Programming
    Replies: 2
    Last Post: 12th May 2006, 07:36

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.