QThread’s no longer abstract

In a previous blog, I talked about wanting to make QThread::run() call QThread::exec() by default.

I didn’t manage to get it in for 4.3, but I did make the change today for 4.4. Testing with every compiler I could get my hands on indicates that it’s a binary compatible change, so unless proven otherwise, this will go into the 4.4 release (and no, I don’t know when 4.4 be released :D ).

This change makes the original example in the previous blog as straight forward as I can get it. Have a look for yourself and see what you think…

Did you like this? Share it:

Related posts:

  1. Threading without the headache
  2. Speeding up Visual C++ Qt Builds
  3. QtDemo is no longer my Twitter client
  4. Multi-threaded text layout and printing
  5. Qt Commercial Support Weekly #9: Common pitfalls with QThread

Comments are closed.

The Qt Blog

Welcome to the new Qt blog! We have consolidated all the blog posts from the Qt Labs Blog with the posts from the Digia Qt Commercial blog. Our intention is to provide you with one area for all Qt development posts from our Qt experts.

As Qt enters a new era, we are working diligently to provide you with an ever-growing Qt Blog that includes projects, awesome ideas, tips and tricks and product info from our pool of very clever Qt developers.

This blog will be transforming as we move forward, so keep your eyes peeled for new developments.

Archives

Categories