Hi *

Hi have a multithread application,
On win32 it crashes like that:

QObject::setParent: Cannot set parent, new parent is in a different thread
[27 gen 2015 - 12:43:31.857] [5332] [W] QObject: Cannot create children for a pa
rent that is in a different thread.
(Parent is QwtPolarCanvas(0x7e61f0), parent's thread is QThread(0x30a7150), curr
ent thread is QThread(0x12fd1f0)
[27 gen 2015 - 12:43:31.872] [5332] [W] QObject::installEventFilter(): Cannot fi
lter events for objects in a different thread.
[27 gen 2015 - 12:43:49.740] [5332] [W] QObject::setParent: Cannot set parent, n
ew parent is in a different thread
[27 gen 2015 - 12:43:49.751] [5332] [F] ASSERT failure in QCoreApplication::send
Event: "Cannot send events to objects owned by a different thread. Current threa
d 12fd1f0. Receiver '' (of type 'QwtPolarCanvas') was created in thread 30a7150"
, file kernel\qcoreapplication.cpp, line 539


whilst on linux it goes well.

The source code, except some slight differentiation for selective-#define, is identical, and linux uses a gcc win32 use msvc/cl
There is some strange known behaviour for threads among these OS? Maybe there is a compiler flah to correct these crashes?