Code completion for a Qwidget at Qt4 in QDevelop 4.3.1
Hello everybody,
I use QDevelop 4.3.1 and Exuberant Ctags 5.6. on openSUSE 10.3 or openSUSE 11.0. I need the code completion for a QWidget, but it does not works.
An example:
This is an auto generated main.cpp code from QDevelop.
Code:
#include <QApplication>
#include "mainwindowimpl.h"
//
int main(int argc, char ** argv)
{
MainWindowImpl win;
win.show();
app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
return app.exec();
}
On detail I need the QDevelop suggestion connect or so, if I type at the editor "app." oder "app->" but I don't get a proposal. If I type instead of this "win." QDevelop show me my opportunities. What can I do?:confused:
Thanks for any ideas.
Re: Code completion for a Qwidget at Qt4 in QDevelop 4.3.1
Check whether QWidget methods are listed in the proposed methods when completing "win.". If they are listed then there is a bug in the parser that you have to report to the authors, otherwise it's definitely a problem in the generation of the completion database for Qt headers.
There is probably an option to change the folder in which to look for Qt headers...
Re: Code completion for a Qwidget at Qt4 in QDevelop 4.3.1
thanks I have sqlite rpm installed after this it has work. :)
Re: Code completion for a Qwidget at Qt4 in QDevelop 4.3.1
I've installed sqlite in Ubuntu 10.04 since reading this post and still cannot get it to work
http://www.qtcentre.org/threads/3313...-code-complete