[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs and cedet
From: |
luca . pamparana |
Subject: |
emacs and cedet |
Date: |
Sat, 9 May 2009 19:24:06 -0700 (PDT) |
User-agent: |
G2/1.0 |
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
- emacs and cedet,
luca . pamparana <=