Bug 133482 - handle QVariant in variable widget
Summary: handle QVariant in variable widget
Status: RESOLVED DUPLICATE of bug 129089
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.3.91
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-03 10:41 UTC by Ignacio Castaño
Modified: 2008-06-30 23:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ignacio Castaño 2006-09-03 10:41:09 UTC
Version:           3.3.91 (using KDE KDE 3.5.4)
Installed from:    Compiled From Sources

The latest beta of kdevelop displays QStrings properly in the variable widget. It would also be nice if QVariants and other Qt data types were also displayed correctly.

I've attempted to do that by adding a new case in handleSpecialTypes, but it's not clear to me what command should I use and what the $data variable represents. A QVariant can usually be converted to a string with toString, but printing $data.toString() results in the following error:

"Attempt to take address of value not located in memory"

Any hint would be appreciated. Thanks!
Comment 1 Andreas Pakulat 2008-06-30 23:40:27 UTC
this goes into the same direction as 129089

*** This bug has been marked as a duplicate of 129089 ***