Results 1 to 3 of 3

Thread: How to install qwt with qt4 on RHEL 6?

  1. #1
    Join Date
    Mar 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default How to install qwt with qt4 on RHEL 6?

    I have installed Qt 4.7.0(64 bit) on red hat 6 and it is working also.But in my project I also need qwt ,so I installed qwt 5.2.1 , I see header files Qwt_double_interval.h,
    Qwt_color_map.h which I included in my project but while compiling it is showing an error :
    undefined reference to QwtLinearColormap
    Am I going wrong with installation of Qwt or where I am going wrong?

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to install qwt with qt4 on RHEL 6?

    have you correctly linked Qwt?
    can you post your project file?
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: How to install qwt with qt4 on RHEL 6?

    The compiler is finding the header files. An undefined reference indicates that the linker can't find the Qwt libraries. You'll need to add something like

    Qt Code:
    1. LIBS += -L /path/to/qwt/installation -lqwt
    To copy to clipboard, switch view to plain text mode 

    to your project file.

Similar Threads

  1. RHEL 5.4 64bit installing qt binary
    By kalyanakumarr in forum Installation and Deployment
    Replies: 5
    Last Post: 8th February 2011, 11:15
  2. Deploying Qt 4.5.1 Application on RHEL 5.. Pls Help
    By swamyonline in forum Installation and Deployment
    Replies: 0
    Last Post: 28th June 2009, 11:43
  3. Problem in Installing Qt SDK in Linux RHEL
    By c_srikanth1984 in forum Installation and Deployment
    Replies: 0
    Last Post: 7th April 2009, 07:14
  4. Problem installing Qt4.4 x11 on RHEL 4
    By ahmedb in forum Installation and Deployment
    Replies: 4
    Last Post: 14th December 2008, 11:29
  5. Qt 4.2.2 not installing in RHEL 9
    By deepakn in forum Installation and Deployment
    Replies: 3
    Last Post: 12th December 2007, 11:20

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.