Wiki

Case Status
Log In

Wiki

 
Whole Tomato Software - Home
  • RSS Feed

Signals and slots not supported with Qt

Visual Assist build 1640 and older

When Visual Assist the Qt framework from http://www.trolltech.com, some signal and slot functions are not recognised by Visual Assist. Fix the problem by installing a newer build of Visual Assist, or add the following lines to the Visual Assist StdAfx.h file:

#define slots
#define signals public

If you are using Qt 4.1.0 or above, you may also need to add the lines:

#define Q_SLOTS
#define Q_SIGNALS public

You must rebuild the Visual Assist symbol database before the change takes effect.