Results 1 to 4 of 4

Thread: Code completion for a Qwidget at Qt4 in QDevelop 4.3.1

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question 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.
    Qt Code:
    1. #include <QApplication>
    2. #include "mainwindowimpl.h"
    3. //
    4. int main(int argc, char ** argv)
    5. {
    6. QApplication app( argc, argv );
    7. MainWindowImpl win;
    8. win.show();
    9. app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
    10. return app.exec();
    11. }
    To copy to clipboard, switch view to plain text mode 

    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?


    Thanks for any ideas.

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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...
    Current Qt projects : QCodeEdit, RotiDeCode

  3. The following user says thank you to fullmetalcoder for this useful post:

    sipklaus (4th August 2008)

  4. #3
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Thumbs up Re: Code completion for a Qwidget at Qt4 in QDevelop 4.3.1

    thanks I have sqlite rpm installed after this it has work.

  5. #4

    Default 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

Similar Threads

  1. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 22:41

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.