Results 1 to 2 of 2

Thread: Code completion in eclipse?

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

    Default Code completion in eclipse?

    Hi. I've downloaded the Qt Eclipse integration package from here. I've successfully gone through the cheat sheet example (designer integration, compilation, etc) so my setup shouldn't be too far off the mark. But the one thing I can't get to work is code completion. I always get No Completions Found for anything Qt. I've tried the full and fast indexer with no luck. I also have set /usr/include/qt4/Qt, /usr/include/qt4/QtGui, etc in the C/C++ Include Paths and Symbols for my project. Finally, under window preferences, I also have the Editor Content Assist set to Search Current Project. The only completion I ever get though is for c++ keywords.

    I'm a newb at eclipse but would really like to get this working. BTW, this is eclipse-3.2 with cdt 3.1 on Gentoo. cdt and the trolltech sw show up in the About Plugins as well. Suggestions?

    Thanks in advance!

  2. #2
    Join Date
    Aug 2007
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Code completion in eclipse?

    Looks like someone else got bitten by this and it will get fixed. See the last comments to this blog entry
    This may happen because the Qt PLugin in the project specific include pathes list, currently only adds an “QT_DIR/include” entry. The next build will add all the subpathes in order to make sure that the indexer finds everything.

Similar Threads

  1. Code Completion in QScintilla
    By jpjimenez in forum Qt Programming
    Replies: 5
    Last Post: 13th July 2007, 21:42
  2. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  3. Howto use Eclipse with QT4 in 10 steps
    By the_bis in forum Newbie
    Replies: 3
    Last Post: 28th January 2007, 20:21
  4. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 21:41
  5. MSVC6 + qt3-win-commercial = no code completion
    By a550ee in forum Installation and Deployment
    Replies: 1
    Last Post: 20th March 2006, 12:17

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.