1 |
On 24/03/15 15:07, Francisco Ares wrote: |
2 |
> Hi, |
3 |
> |
4 |
> Recently - but can't figure out exactly when - Qt Creator has become |
5 |
> unable to access Qt containers (where the STL ones work as expected) on |
6 |
> the debug panel. It shows <not accessible> in place of the expected |
7 |
> item quantity for a QList, for instance, but for a |
8 |
> std::vector<std::string>, it works, allowing inspection of all items. |
9 |
> |
10 |
> Any hints on what I may be doing wrong? The headers are all accessible, |
11 |
> for instance. Should I build Qt with debug symbols enabled, as |
12 |
> recommended for glibc? |
13 |
> |
14 |
> Using current Qt 4.8.5, Qt Creator 2.8.1, gdb 7.7.1, gcc 4.8.3 |
15 |
|
16 |
I remember having a problem with old Creator that had to do with showing |
17 |
contents of variables. I don't remember the details though. I only |
18 |
remember that the issue was gdb. I was using a version that was not |
19 |
working correctly with Creator 2.8. I had to downgrade to an old gdb. |
20 |
7.5.1, I think. |
21 |
|
22 |
I can't reproduce the problem anymore, since I've since switched to |
23 |
Creator 3 (now on 3.3.2.) This is rather easy to upgrade to now, as Qt5 |
24 |
is now in portage (although in ~arch.) If you want to upgrade, note that |
25 |
you can still develop for Qt4 just fine. Qt5 is only used to run Creator |
26 |
itself, it doesn't have any effect on the version of Qt you want to |
27 |
develop for. |