unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: luca.pamparana@gmail.com
To: help-gnu-emacs@gnu.org
Subject: emacs and cedet
Date: Sat, 9 May 2009 19:24:06 -0700 (PDT)	[thread overview]
Message-ID: <891e0b4a-0191-46d5-8f4a-f2fe3639b9fe@s21g2000vbb.googlegroups.com> (raw)

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	other threads:[~2009-05-10  2:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-10  2:24 luca.pamparana [this message]
2009-05-27 14:44 ` emacs and cedet Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=891e0b4a-0191-46d5-8f4a-f2fe3639b9fe@s21g2000vbb.googlegroups.com \
    --to=luca.pamparana@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).