In the files attached, mainwindow.cpp has the following line

connect(ptr,SIGNAL(setlabel(int)),this,SLOT(setLabel(int)));

where ptr is of type mythread* which is derived from QThread
the application compiles without error but on running, quits with
segfault. Omitting the connect line solves the problem but removes all
the functionality. How do you connect these together?
Regards
Soumen

Attachment: mainwindow.cpp
Description: Binary data

Attachment: mainwindow.h
Description: Binary data

Attachment: mainwindow.ui
Description: Binary data

Attachment: thread.cpp
Description: Binary data

Attachment: thread.h
Description: Binary data

Attachment: Thread.pro
Description: Binary data

Attachment: ui_mainwindow.h
Description: Binary data

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to