Quote Originally Posted by codebehind View Post
I have written a dialog with some buttons, lineedit, a table, etc.
when i run the program (just the GUI) it works fine.
so i make one more step.. I include some of my classes.
i personally feel, you should try to write your class as the main class and include the GUI object as a member variable in it. this way, all you have to do is initialize the GUI in "your class"'s constructor. all you need to do is call show() after the operations in your class have been done with.

this way, if there's any segfaults arising out of your class, you will be able to debug better. just a suggestion!