Quote Originally Posted by webgenius View Post
QMainWindow w;
Ui_MainWindow ui;
ui.setupUi(&w);
Try the single inheritance approach.

http://doc.trolltech.com/4.2/designe...tance-approach

Quote Originally Posted by webgenius View Post
For some strange reason, my connect call fails every time.
You have to declare onCompressClicked() as a slot to be able to connect a signal to it. This means also that onCompressClicked() has to be a method of a class derived from QObject (for example a widget).

Don't forget to add Q_OBJECT macro to your class definition.

http://www.qtcentre.org/forum/faq.ph...alslot_nodebug