Introduction in Qwt
-
wrote on 24 Mar 2021, 15:07 last edited by
Hi,
I'm looking for any tutorial in internet for introduce to me Qwt libraries.
I was seeing the examples, but it is very confuse in majority of cases. I don't understand how the construct of many classes works, because this error keeps showing up:
error: allocating a object of abstract class type '<some_qwt_class>' note: unimplemented pure virtual method '<some_variable>' in '<some_qwt_class>'
For many ways a tried of contruct a new object of some classes of Qwt.
Best Regards,
WLOrion -
Hi,
I'm looking for any tutorial in internet for introduce to me Qwt libraries.
I was seeing the examples, but it is very confuse in majority of cases. I don't understand how the construct of many classes works, because this error keeps showing up:
error: allocating a object of abstract class type '<some_qwt_class>' note: unimplemented pure virtual method '<some_variable>' in '<some_qwt_class>'
For many ways a tried of contruct a new object of some classes of Qwt.
Best Regards,
WLOrion@WLOrion said in Introduction in Qwt:
error: allocating a object of abstract class type '<some_qwt_class>'
You are trying to create an instance of an abstract class (a class with pure virtual methods). This is not possible. You have to subclass this class and implement all pure virtual methods and use this class instead of the abstract class.
-
wrote on 24 Mar 2021, 16:40 last edited by
@jsulm Thanks for reply.
I didn't know this behavior of the Qwt Classes. Thanks for explanation.
But i'm still looking for introductory material to support me, even though of some classes depending only my implementation.Best Regards,
WLOrion -
Hi,
@WLOrion said in Introduction in Qwt:
I didn't know this behavior of the Qwt Classes.
This is nothing Qwt specific, it's part of the C++ basics.
As for tutorial, there's a nice online book that is in German but the author claims that online translator should give you a good enough result in your own language.
4/4