Bug 133482

Summary: handle QVariant in variable widget
Product: [Applications] kdevelop Reporter: Ignacio Castaño <castanyo>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: 3.3.91   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***