Results 1 to 2 of 2

Thread: QWT 5.1.0 installation with eclipse

  1. #1
    Join Date
    May 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question QWT 5.1.0 installation with eclipse

    Hello!


    I have a problem concerning the installation of Qwt 5.1.0.
    I installed qwt with make, make install
    and executed ldconfig -v to include the library. The -lqwt is linked.
    I also set the include path in my eclipse project /usr/local/qwt-5.1.0/include
    and I added INCLUDEPATH += /usr/lib/qwt-5.1.0/include
    LIBS += -L /usr/lib/qwt-5.1.0/lib -lqwt
    in my .pro-file.

    But I can't compile my project because of the fault:
    "qwt.h: No such file or directory "

    What have I forgotten?
    Please help me.

    Thanks in advance,
    kokasurfer

  2. #2
    Join Date
    Apr 2007
    Posts
    16
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWT 5.1.0 installation with eclipse

    You need to include the location for qwt headers also.
    Your make file should include the directory /usr/include/qwt-qt4 if using qwt built for qt4 or simply /usr/include/qwt

    Your makefile would have an option INCPATH =

    in that add /usr/include/qwt-qt4 then your code will compile.

Similar Threads

  1. qwt installation problem
    By zwierz in forum Qwt
    Replies: 1
    Last Post: 14th June 2008, 23:04
  2. Qwt 5.1.0
    By Uwe in forum Qt-based Software
    Replies: 0
    Last Post: 1st May 2008, 16:43
  3. Eclipse installation
    By munna in forum General Programming
    Replies: 2
    Last Post: 28th January 2008, 15:38

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.