Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qobject close and show
Is there equivalent functions such as close() show() in the widgets class
Since its not visible im not sure what show() or close() should do. ?
Often you dispose with deletelater
What do you need a show() or close() for ?
I like to change my QWidget class to Qobject. but there is -> show() and this->close that's causing error
Why do you want to change your QWidget into QObject ?
Easier way for me to move to different thread than move function within class to Qobject
Then you can stop immediately. GUI objects should only be accessed in the GUI thread. Moving them around is wrong. Use signals and slots to communicate from threads back to your GUI.
By the way, you don't move functions between threads, you move objects.