Results 1 to 3 of 3

Thread: Deriving QwtPlotCurve

  1. #1

    Default Deriving QwtPlotCurve

    Hello. I need to draw a piecewise curve, so I decided to derive QwtPlotCurve and reimplement drawCurve method. I'm using VS2010. When I create new class inherited from QwtPlotCurve I get errors:

    Error 4 error LNK1169: one or more multiply defined symbols found
    Error 1 error LNK2005: "public: virtual void __thiscall QwtSeriesStore<class QPointF>::setRectOfInterest(class QRectF const &)" (?setRectOfInterest@?$QwtSeriesStore@VQPointF@@@@U AEXABVQRectF@@@Z) already defined in QwtPlotCurve2.obj
    Error 2 error LNK2005: "public: virtual unsigned int __thiscall QwtSeriesStore<class QPointF>::dataSize(void)const " (?dataSize@?$QwtSeriesStore@VQPointF@@@@UBEIXZ) already defined in QwtPlotCurve2.obj
    Error 3 error LNK2005: "public: virtual class QRectF __thiscall QwtSeriesStore<class QPointF>::dataRect(void)const " (?dataRect@?$QwtSeriesStore@VQPointF@@@@UBE?AVQRec tF@@XZ) already defined in QwtPlotCurve2.obj

    New class contains only default constructor and destructor.
    If I create inline class, stored in one header-file, I get no errors.
    What the problem? Thanks.
    Last edited by WoldemarShiPa; 30th October 2013 at 15:23.

  2. #2
    Join Date
    Sep 2014
    Qt products

    Default Re: Deriving QwtPlotCurve

    first of all, i don't know whether this is the solution for my problem or not. my problem is i am not able to download files from appache server which has SSL communicatio and i am able to downlaod files from some other servers. that's why i am asking Qssl may be prevent my problem. is it correct approach?
    Our excellent online 642-980 braindumps training programs will lead you to success in the testking exam. We also offer latest Kean University and ISEB with 100% success guarantee.

  3. #3

    Default Re: Deriving QwtPlotCurve

    contains only default constructor and destructor.
    If I create inline class, stored in one header-file, I get no errors, but I can't declare member variables
    What the problem? Thanks.
    The Official website of Maldives ETA and Maldives Tourist Visa . Fill the application form for Evisa Maldives and get tourist ETA Visa online within 24 hours.

Similar Threads

  1. Replies: 8
    Last Post: 9th February 2014, 13:37
  2. Replies: 8
    Last Post: 18th October 2012, 08:23
  3. Replies: 1
    Last Post: 11th May 2012, 09:02
  4. QwtPlotCurve
    By kishorer in forum Newbie
    Replies: 0
    Last Post: 6th September 2011, 17:05
  5. Deriving From QPushButton
    By Sonic7145 in forum Qt Programming
    Replies: 2
    Last Post: 4th March 2009, 05:56

Tags for this Thread


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.