T O P I C R E V I E W |
NOPcode |
Posted - Sep 17 2010 : 11:16:04 AM Now this is interesting. The function setText is declared as: void setText(const QString &text) And this shows up on the bar at the top of the editor when I put my cursor back on setText in the screenshot below. But when I type readmeEdit->setText( I get the following displayed:

This is in VS2008 on an XP machine using VA1830, developing a small Trolltech Qt4.5 program.
|
3 L A T E S T R E P L I E S (Newest First) |
accord |
Posted - Sep 21 2010 : 1:45:07 PM If you have turned the following option on then Visual Assist get the listbox's content from default intellisense, so it is possible that it had caused the problem.
VA Options -> Advanced -> Listboxes -> Get content from default Intellisense |
NOPcode |
Posted - Sep 21 2010 : 08:56:27 AM quote: Originally posted by accord
Can you please zip up and send me a test project, so I can load it here to see if I can reproduce the problem. You can use this form to send the file: http://www.wholetomato.com/support/contact.asp Please include the URL of the topic so we can match it up.
Unfortunately, sectioning out just this function into a standalone file doesn't cause the problem to occur. I noticed in the original project that the tooltip for the settext() function and other similar ones were also giving the wrong type. Disabling VA still caused the error to occur, but deleting the .NCB file made it go away. So I guess the problem is actually originating from within Visual Studio, and just propagating out into VA? |
accord |
Posted - Sep 17 2010 : 6:52:34 PM Can you please zip up and send me a test project, so I can load it here to see if I can reproduce the problem. You can use this form to send the file: http://www.wholetomato.com/support/contact.asp Please include the URL of the topic so we can match it up. |