Quote Originally Posted by gunturrohith View Post
Thanks for replying to execute my program successfully which class should i use instead of QWidget,
Depends on what you want to do.
QObject could be fine if you only need some methods exported.

Quote Originally Posted by gunturrohith View Post
Please tell me and if possible can you please post the code that helps to execute my program.
I haven't tried executing your program, these findings are purely from looking at the code you've posted.

Cheers,
_