Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Object::connect: No such slot QDialog::buttonClicked() in ../MyFolder/main.cpp:40 |
Operating system: Ubuntu
IDE: Qt Creator 2.0.0
Project type: Qt4 GUI Application
Libraries used:
#------------------------------------------------- |
#include <boost/scoped_ptr.hpp> |
#ifndef MYDIALOG_H |
Add the Q_OBJECT at the beginning of the MyDialog class declaration.
#ifndef MYDIALOG_H |
Note that a complete example of the corrected version of this compile warning can be found at Qt example 12: creating a custom QDialog with slot.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.