Qt-interest Archive, March 2002
Re: Problem with QThread
Message 1 in thread
----- Original Message -----
From: "John F Meinel" <jfmeinel@ct.radiology.uiowa.edu>
To: "MELLION Gatien" <gatien.mellion@criltechnology.com>
Cc: <qt-interest@trolltech.com>
Sent: Thursday, February 28, 2002 10:52 AM
Subject: Re: Problem with QThread
> I'm not an expert. But I believe calling a.wait() is telling the thread
> to not do pause. To hang, until you tell it to start up again.
Qt believes differently. See the QThread documentation.
Message 2 in thread
Have you considered using something simpler than qDebug, such as cout or cerr?
----- Original Message -----
From: MELLION Gatien
To: 'qt-interest@trolltech.com'
Sent: Thursday, February 28, 2002 10:30 AM
Subject: Problem with QThread
Hi, I'm using QT3.0 under Windows 2000 pro.
I made a simple program in order to test qthread. But it doesn't work. I got the
print "START", but never the print "Ping!". Like the thread couldn't be
launched.
Could s.o tell me what's wrong ?
Message 3 in thread
> Have you considered using something simpler than qDebug, such as cout or cerr?
Since the code in the original post is, almost verbatim, the example in
the QThread documentation, it should work. Even if cout or cerr ends up
working, it still doesn't explain why qDebug doesn't (since it really
should).
Austin Bingham