Results 1 to 2 of 2

Thread: Qwt on Ubuntu 14.04 and oscilloscpe example not linking

  1. #1
    Join Date
    Feb 2009
    Posts
    13
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Qwt on Ubuntu 14.04 and oscilloscpe example not linking

    I have a fairly fresh Ubuntu 14.04 and Qt and Qwt from the Ubuntu Software center.

    To get Qwt programs compiled, I need to add the Qwt library to project files manually. And the oscillosscope example cannot be linked at all because the Wheel methods are "undefined references".

    There may be some version clashes, but I cannot figure them out.

    How should you proceed in order to get a smoothly working Qt/Qwt environment on Ubuntu 14.04 so that you can easily compile, link and run the oscilloscope example.

    teele

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qwt on Ubuntu 14.04 and oscilloscpe example not linking

    To get Qwt programs compiled, I need to add the Qwt library to project files manually.
    Usually it is a "CONFIG += qwt" like what you have to do, when using a specific Qt module.

    Don't know about the Ubuntu packages but you have to look for a file /../features/qwt.prf. If qmake is not already configured to find it you have to do something like this:

    Qt Code:
    1. qmake -set QMAKEFEATURES /your/qwtpath/features
    To copy to clipboard, switch view to plain text mode 
    Even if you are using Ububtu packages it might be worth to read http://qwt.sourceforge.net/qwtinstall.html.

    And the oscillosscope example cannot be linked at all because the Wheel methods are "undefined references".
    • where is the code of this example from
    • which version of Qwt did you install
    • how did you try to build the example ( what project file are you using )


    Uwe

Similar Threads

  1. Replies: 4
    Last Post: 26th May 2014, 14:48
  2. Replies: 1
    Last Post: 9th August 2013, 20:51
  3. Qt on Ubuntu 10.04 from Ubuntu packages?
    By teele in forum Installation and Deployment
    Replies: 5
    Last Post: 28th March 2012, 08:41
  4. Replies: 3
    Last Post: 7th February 2012, 10:40
  5. Qt Creator Linking fails on Ubuntu Karmic
    By kevinchannon in forum Qt Tools
    Replies: 1
    Last Post: 29th March 2010, 09:34

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.