unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs and cedet
@ 2009-05-10  2:24 luca.pamparana
  2009-05-27 14:44 ` Lennart Borgman
  0 siblings, 1 reply; 2+ messages in thread
From: luca.pamparana @ 2009-05-10  2:24 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs and cedet
  2009-05-10  2:24 emacs and cedet luca.pamparana
@ 2009-05-27 14:44 ` Lennart Borgman
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman @ 2009-05-27 14:44 UTC (permalink / raw)
  To: luca.pamparana; +Cc: help-gnu-emacs

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
>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-27 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-10  2:24 emacs and cedet luca.pamparana
2009-05-27 14:44 ` Lennart Borgman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).