Whole Tomato Software Support Forum
Whole Tomato Software Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Visual Assist X - Frequently Asked Questions
 Troubleshooting (read only)
 Why are signals and slots not supported with Qt?
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

feline
Moderator

United Kingdom
12804 Posts

Posted - Oct 21 2006 :  11:07:10 AM  Show Profile
When using the Qt framework from http://www.trolltech.com/ and older versions of Visual Assist X some signal and slot functions are not recognised by Visual Assist X.

Visual Assist X build 1645 and above understands Qt signals and slots, so there is no need to edit the StdAfx.h file.

For earlier versions, to fix this edit Visual Assist X's StdAfx.h file, as described in this FAQ:

http://www.wholetomato.com/forum/topic.asp?TOPIC_ID=5956

and add the lines:

#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 will need to rebuild the Visual Assist X symbol database before this will take effect:


Edited by - feline on Jul 15 2008 10:39:30 AM
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Whole Tomato Software Support Forum © 2013 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000