[Qt-creator] QtCreator 2.0.0. Is there's a way to force display of char arrays as (const char*) in the IDE watch widget?
André Pönitz
andre.poenitz at nokia.com
Fri Jul 2 13:28:36 CEST 2010
On Thursday 01 July 2010 12:17:44 ext tech user wrote:
> Hi all
>
> and thanks in advance.
>
> Is there's a way to force display of char arrays as (const char*) in the IDE watch widget?
> Environment
> Qt Creator Version: 2.0.0
> OS: Red Hat (RHEL5)
> GDB: gdb 7.0.1 (no python scripts enabled)
>
> background:
> We are working heavily with char arrays.
> i.e
> char a[100];
You could create a new "Watcher" item (context menu of Locals&Watchers)
and add (char*)a there.
Andre'
More information about the Qt-creator-old
mailing list