Here is small test app, try if you can use this class in python interpreter, and in regular build:
Qt Code:
  1. // Test.h
  2. #include <QtGui>
  3. #include <QDebug>
  4.  
  5. class Test : public QObject{
  6. Q_OBJECT
  7. public:
  8. Test( QObject * parent = NULL ) : QObject(parent){
  9. setObjectName("test");
  10. btn = new QPushButton();
  11. btn->setObjectName("button");
  12. connect(btn,SIGNAL(clicked()), this, SLOT(test()));
  13. this->dumpObjectInfo();
  14. }
  15. ~Test(){
  16. delete btn;
  17. }
  18.  
  19. QPushButton * btn;
  20. public slots:
  21. void test(){
  22. qDebug() << "clicked";
  23. }
  24. };
To copy to clipboard, switch view to plain text mode 
Qt Code:
  1. // main.cpp
  2. #include <QApplication>
  3. #include "Test.h"
  4.  
  5. int main( int argc, char ** argv ){
  6. QApplication app(argc,argv);
  7. Test t; t.btn->show();
  8. return app.exec();
  9. }
To copy to clipboard, switch view to plain text mode 
Qt Code:
  1. // Test.pro
  2. TEMPLATE = app
  3. TARGET =
  4. DEPENDPATH += .
  5. INCLUDEPATH += .
  6.  
  7. SOURCES += main.cpp
  8. HEADERS += Test.h
To copy to clipboard, switch view to plain text mode 
Here is the output for dumpObjectInfo for this class:
OBJECT Test::test

SIGNALS OUT
<None>

SIGNALS IN
<-- QPushButton::button clicked()
As you can see, the button is connected with "clicked()" signal.
Try it and post your results, from python-interpreter, and "normal" application.