Originally Posted by nleverin error: no matching function for call to 'mainformsub::connect(QPushButton*&, const char [11], mainformsub* const, const char*) candidates are: static bool QObject:: connect(const QObject*, const char*, const QObject*, const char*) It seems that the compiler doesn't know what a QPushButton is. Try adding #include <qpushbutton.h>.
Nathan Leverington (27th June 2007), nleverin (27th June 2007)
Thanks mate, fixed the problems perfectly, cheers, nlev.
Forum Rules
Bookmarks