Results 1 to 6 of 6

Thread: Inheriting from QwtPlotCurve problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2008
    Posts
    74
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default Re: Inheriting from QwtPlotCurve problems

    No

    I'm afraid it doesn't, I get the same error and a compiler warning

    Warning: Class Curve inherits from two QObject subclasses QwtPlotCurve and QObject. This is not supported!

  2. #2
    Join Date
    Oct 2008
    Posts
    74
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default Re: Inheriting from QwtPlotCurve problems

    Hi

    I've solved the problem temporarily by not inheriting from QObject and not using the Q_Object macro. I dont know why it works but it does for now

    Thanks everyone

Similar Threads

  1. Replies: 2
    Last Post: 18th December 2008, 08:43

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.