help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs and cedet


From: Lennart Borgman
Subject: Re: emacs and cedet
Date: Wed, 27 May 2009 16:44:00 +0200

You might benefit from reading the CEDET devel mailing list. There has
been a lot of changes and there are a lot of tips there.

But please notice that Eric who is the one behind CEDET has a lot to
do so look in the archive and see if you can find answers there.


On Sun, May 10, 2009 at 4:24 AM,  <luca.pamparana@gmail.com> wrote:
> Hello,
>
> I was wondering if someone here can help me get cedet and emacs
> working. I have most of the things working thanks to the guide from
> Alex Ott. The only thing I am having problems with is using cedet with
> Qt.
>
> My Qt with cedet bit looks as follows. I added the QtGui bit in case
> cedet was not parsing recursively. Now, for example if I instantiate a
> QPushButton object, I cannot get the function list. Cedet complains
> with 'cannot find types for QPushButton * button'
>
> (setq qt4-base-dir "/usr/local/Trolltech/Qt-4.5.0/include")
> (setq qt4-gui-dir "/usr/local/Trolltech/Qt-4.5.0/include/QtGui")
> (semantic-add-system-include qt4-base-dir 'c++-mode)
> (semantic-add-system-include qt4-gui-dir 'c++-mode)
> (add-to-list 'auto-mode-alist (cons qt4-base-dir 'c++-mode))
> (add-to-list 'auto-mode-alist (cons qt4-gui-dir 'c++-mode))
> (add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat qt4-base-
> dir "/Qt/qconfig.h"))
> (add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat qt4-base-
> dir "/Qt/qconfig-dist.h"))
> (add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat qt4-base-
> dir "/Qt/qglobal.h"))
>
> Does anyone know what I might be doing wrong? Qt is installed in the "/
> usr/local/Trolltech/Qt-4.5.0/" directory.
>
> Thanks,
>
> Luca
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]