problema con thread
Publicado por carmen (1 intervención) el 05/09/2007 12:43:04
Estoy desarrollando una aplicacion con QT y c++. Tengo el UI de la aplicacion y una clase que gestiona todos sus componentes. Al intentar acceder a uno de esos componentes desde una traza me da el siguiente error:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread c66a68. Receiver 'theLabelRange' (of type 'QLabel') was created in thread a6b770", file kernel\qcoreapplication.cpp, line 291
ESpero me podais ayudar, muchas gracias por adelantado!
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread c66a68. Receiver 'theLabelRange' (of type 'QLabel') was created in thread a6b770", file kernel\qcoreapplication.cpp, line 291
ESpero me podais ayudar, muchas gracias por adelantado!
Valora esta pregunta


0