[Qt-creator] Qt data types and debugging

Israel Brewster israel at frontierflying.com
Fri Nov 7 18:36:31 CET 2008


First off, I apologize if this has been asked before, but a quick  
perusal of the archives didn't turn up anything interesting. I  
recently downloaded and tried out the developer preview release of  
QtCreator, and in general it looked very promising. However, one of  
the features that was shown in the screen shots and videos (and which  
I was highly looking forward to) was the ability to view various Qt  
data types, such as QString, in the debugger. When I tried this in my  
application, however, the values did not show up. I could see the  
existence of the QString variable, of course, but the value column was  
blank, and I could not find a way to view the value.

Looking in the QtCreator preferences window, I find a section for  
"Type Macros" under the debugger section, which points to a script  
file at /Applications/QtCreator.app/Contents/Resources/gdb/qt4macros  
that would appear (to my mind, at least) to deal with displaying  
QStrings in the debugger. The referenced script file, however, does  
not appear to exist. The closest I could find was /Applications/ 
QtCreator.app/Contents/Resources/gdbmacros/gdbmacros.cpp, which is  
obviously a C++ source file, not a script file.

What am I missing here? Thanks for any help.

System Specs:
Mac OS X 10.5.5
Qt 4.3.4

-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------





More information about the Qt-creator-old mailing list