[Qt-interest] QThread event loop running in main thread?

Scott Aron Bloom Scott.Bloom at onshorecs.com
Mon Dec 27 19:47:41 CET 2010


I don't know.  I have a stand-alone application written using Qt 4.6.x
that
performs branch management with Subversion.  It supports unlimited
numbers of
root and child branches, where each could have a thread running at any
given
time.  It uses the "wrong" way of threading (i.e., sub-classing QThread
and
re-implementing run()) and everything works just fine.  I've had no
issues at
all with this approach.

I implemented this way before I found that article, but see no real
reason to
re-factor into compliance with the "right" way as I ain't gonna fix what
ain't
broken.  ;)

_______________________________________________

Im in the same boat for a number of my clients projects...

New code, I use the "preferred right" way.. But its hard to justify
fixing working code..  And even harder to bill for it...

Scott



More information about the Qt-interest-old mailing list