some functions not working after upgrade to 14.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi
Have recently upgraded Ubuntu to 14.04, it seems some functions in QtCreator
don't work anymore/not as well as before:
"Find Usages": when used with a class member or method, the only usages which seem to get reported
are those in '.h' files, not in any '.cpp' files, unless the symbol in question is actually in a '.cpp' file,
in which case the currently-clicked on occurrence appears in the list.
"Switch between function declaration/
but not in the other direction
The two previous malfunctions are probably due to the following:
when I open a '.h' file for a class, the drop-down at the top of the editor is filled with the list of
symbols defined in the file, i.e. the member variables and methods of the class.
When I open the corresponding '.cpp' file, the drop-down is empty ("<No symbols>").
There seems to be a problem parsing the .cpp files?
The C++ project I am working on is one I have been developing with QtCreator for a few years
(and a few versions) now. I re-generated the project files (did a new 'Import Existing C++ Project')
with the new version of QtCreator.
Thanks for your help
This seems to be fixed after:
1) deleting the ~/.config/QtProject and ~/.config/Trolltech directories
2) deleting all Trolltech directories/files in ~/.local/share/data (there was no QtProject directory)
3) complete uninstall of QTCreator with Synaptic
4) restart computer
5) install QtCreator with Synaptic