when you want to use slot functions technique, you need to define classes like follows:
#include <QObject>
class Scene : public QObject
{
Q_OBJECT</qobject>
In order to let qt know those changes, it is very necessary to qmake the project again.