Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
"gui operations are performed in a non-gui thread"
Limer last edited by Limer
One day, i saw this point in QQ-chat from a friend, he says, "don not use gui operations in a non-gui thread in Qt, because it will cause some unexpected errors."
If you konw Chinese , you can see this article: https://blog.csdn.net/u014552102/article/details/80638353
And, what i want to know , has anyone ever had this problem? This point above is right?
your friend is right, GUI must stay in main thread. if you want to manipulare GUI from a thread, emit a signal and perform your task in a main thread slot.
Limer last edited by
@aha_1980 Thanks. Get it.