I just fix it by designing a pair of signal/slot to update the QTreeWidget in main GUI thread. I still think it should be a bug in QT. In MFC, I do not have any problem to update the main GUI no matter which thread I do it within. At the end, it is just a function call through a defined pointer.![]()
Bookmarks