Results 1 to 5 of 5

Thread: Why doesn't Eclipse find a correct inclusion?

  1. #1
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    387
    Thanks
    101
    Thanked 15 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Why doesn't Eclipse find a correct inclusion?

    Hello,

    I added a library to my Qt project, namely the libQGLViewer. It installs in /usr/include and /usr/lib. After the installation you have to make little adjustments to the project file, so that the library can be successfully included during compilation. This all works correctly. The project compiles and the GLViewer is displayed.

    But now everywhere in my sources where this library is included, Eclipse gives me a warning about an "Unresolved inclusion". How can I tell Eclipse where this library is, so that it would finally stop sulking and content assist me instead?

    Thanks
    Cruz

  2. #2
    Join Date
    Sep 2009
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Why doesn't Eclipse find a correct inclusion?

    Hi

    Could noone answer this question?

    I am having the exact same problem with QGraphicsSvgItem. The program (QElectroTech) compiles fine with make, but Eclipse complains that the file cannot be found.

    I would realy like to use Eclipse with QT, but it does not seem to work very well.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Why doesn't Eclipse find a correct inclusion?

    Shouldn't you be asking that at an Eclipse forum? This is hardly related to Qt...
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Sep 2009
    Posts
    140
    Thanks
    4
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Why doesn't Eclipse find a correct inclusion?

    It is an Eclipse feature.

    I have the same problem and even more since I used .pri includes makefiles.
    Eclipse is completly lost with included headers, and I dont talk about completion.

    Anyway, since it compiles correclty, and since Qt help is very well documented it doesn't matter for me. I remember the time when I used to code with a simple text editor and gcc.

  5. #5
    Join Date
    Sep 2009
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Why doesn't Eclipse find a correct inclusion?

    An Eclipse forum might be a good place to ask, but since I have only had this problem with QT programs I figured I'd start here.

    But if you know of a good Eclipse forum (for non-java stuff) I will ask there as well

Similar Threads

  1. problems installing Qt opensource with msvc2008 support
    By odin1985 in forum Installation and Deployment
    Replies: 6
    Last Post: 24th May 2008, 09:06

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.