Results 1 to 2 of 2

Thread: QWT + release mode compilation error

  1. #1
    Join Date
    May 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default QWT + release mode compilation error

    Hello,

    I am developping an application using QWT.
    I used QT4.7.4 + QTCreator + mingw4.4 + QWT 6.0.1

    I create a class derived from QwtPlot to draw a CPU graph
    I had no problem to compile on debug mode. But on release mode, I have the following errors :
    - undefined reference to `QwtPlotCurve::setSamples(QVector<double> const&, QVector<double> const&)'
    - undefined reference to `QwtPlot::QwtPlot(QWidget*)'
    - undefined reference to `QwtPlot::setAutoReplot(bool)'
    - ..................


    Have you already enconter this type of error


    Best regards,

    VPM

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QWT + release mode compilation error

    Did you compile qwt in release mode?
    Do you link against release version of qwt?

Similar Threads

  1. Problem with compilation in release mode.
    By code_err in forum Newbie
    Replies: 3
    Last Post: 22nd October 2011, 17:02
  2. Error On release Mode
    By kurrachow in forum Newbie
    Replies: 4
    Last Post: 17th April 2011, 06:03
  3. Getting error on release mode
    By m_brott in forum Qt Programming
    Replies: 9
    Last Post: 24th March 2011, 13:56
  4. Replies: 1
    Last Post: 18th November 2009, 21:51
  5. Error in exe files in release mode
    By john_god in forum Installation and Deployment
    Replies: 2
    Last Post: 25th January 2009, 11:40

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
  •  
Qt is a trademark of The Qt Company.