|
|||||||
| Qt Software New applications — announcements and feedback. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I have just installed qt 4.3.4 with QDevelop 0.25.2 Everything is working fine, building, no bugs etc. But I cant get ctags working. I have tried installing both the recommended version of ctags and the most up to date version. I have successfully tested that ctags is working via the external tools dialogue and refreshed my code to get a valid class listing. But, whenever I do "anyThing->" or "anyThing." nothing works. Any ideas on what I am doing wrong? Cheers, Phil |
|
#2
|
|||
|
|||
|
I have the same problem. Same versions with gentoo / 64 bit system. I first had an error due to "--language-force=c++". I took that string out of the qdevelop code, rebuilt and got this instead:
/usr/bin/ctags: unrecognized option `--fields=afiKmsSzn' Maybe I should just keep hacking away until ctag stops complaining... |
|
#3
|
||||
|
||||
|
First of all check that you are using exuberant ctags and not another version that some linux systems ship. Indeed such a version does not support the same command line option as the "standard" ctags that QDevelop expect to find (yeah, this is the downside of relying on external programs...). Then indicate the full path to the correct ctags executable (or use the "which ctags" command to check that the correct one is accessible thanks to proper PATH settings).
If this does not solve your problem you got a couple options left :
__________________
Looking for a powerful and flexible IDE with complete Qt 4 integration ? Have look at Edyuk! Last edited by fullmetalcoder; 23rd April 2008 at 12:44. |
|
#4
|
|||
|
|||
|
Thaks for the replies,
struktured: Ive never had errors like that, ctags "just didnt work" no errors, no warnings, nothing. fullmetalcoder: Yeah ive got the right version, and QDevelop does indeed know where to find it. I have had some updates though, for some reason is HAS started working for my own code (i.e. any classes that I write). I dont know why, when or how, but sometimes I come back to the code and it starts autocompleting. It still does not work with any QT classes though. So, I think I might try that IDE youve been advertising since Ive never tried it before.Thanks, Phil Winder |
|
#5
|
||||
|
||||
|
Quote:
__________________
Looking for a powerful and flexible IDE with complete Qt 4 integration ? Have look at Edyuk! |
|
#6
|
|||
|
|||
|
ctags not work if project path contains whitespace, like "C:\Program Files\..."
|
|
#7
|
|||
|
|||
|
Yeah, theres an option in the tools menu called "Rebuild Qt classes Database", but you click that, it finishes way too fast. Like its pointing to the wrong Qt include folder. I did have a quick look, but reading somebody else's code, even if its well commented, is hard work.
Just a comment on Edyuk: The open project doesnt seem to be working very well. It doesnt open the pro files created in Qdevelop (it doesnt do anything fancy) and when I create a new pro file in edyuk (How is it pronounced by the way??? ), I cannot reopen that file. Using 1.0.0-rc1.The the on-demand style changing is a cute touch though ![]() Cheers, Phil Winder Last edited by philwinder; 23rd April 2008 at 13:51. |
|
#8
|
|||
|
|||
|
evgenM: Thanks for the tip, I shall have to remember that in the future.
But, it works fine for me even with spaces for my own classes, but still not (either way) for qt's functions. |
|
#9
|
||||
|
||||
|
Quote:
__________________
Looking for a powerful and flexible IDE with complete Qt 4 integration ? Have look at Edyuk! |
|
#10
|
|||
|
|||
|
|
|
#11
|
|||
|
|||
|
The exuberant tag issue resolved my problem. Now we just need to beef up this code completion to make it disgustingly awesome!
|
|
#12
|
|||
|
|||
|
My problems have been resolved as of QDevelop r319.
Get it (Or any newer version that may appear) via that svn: http://qdevelop.googlecode.com/svn/trunk/ Phil |
|
#13
|
|||
|
|||
|
|