Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Introduction in Qwt

    General and Desktop
    qwt c++ plot begginer
    3
    4
    445
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      WLOrion 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

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @WLOrion last edited by jsulm

        @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.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • W
          WLOrion 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

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 1
            • First post
              Last post