How did you declare the slot? Does the class contain the Q_OBJECT macro?