Hello, Qt guru
I try to implement QComboBox derived class and process signal currentIndexChanged(int)

Qt Code:
  1. class ComboBox_impl : public QComboBox
  2. {
  3. Q_OBJECT
  4. public:
  5.  
  6. ComboBox_impl()
  7. {
  8. connect(this, SIGNAL(currentIndexChanged(int)), SLOT(doProcessIndexChanged(int)));
  9. }
  10.  
  11. virtual ~ComboBox_impl()
  12. {
  13. }
  14.  
  15. public Q_SLOTS:
  16. void doProcessIndexChanged(int)
  17. {
  18. }
  19. };
To copy to clipboard, switch view to plain text mode 

This works excellent on Mac, but on Windows exception "Access denied" occured on line

Qt Code:
  1. connect(this, SIGNAL(currentIndexChanged(int)), SLOT(doProcessIndexChanged(int)));
To copy to clipboard, switch view to plain text mode 

I use Xcode on Mac and VS 2008 on Windows.

Qt version on Windows is 4.6.2

Waiting for your help,
N.