Results 1 to 8 of 8

Thread: Qwt Plot Grid and Plot Background problem when updating qwt 5.2.3 to 6.1.6

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2021
    Posts
    4
    Thanks
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Windows

    Default Qwt Plot Grid and Plot Background problem when updating qwt 5.2.3 to 6.1.6

    I updated the Qwt version from 5.2.3 to 6.1.6 and the Plot Grid and Plot Background are not visible anymore in the plot.

    I have classes that reimplements the draw method:
    Qt Code:
    1. class PlotGrid : public QwtPlotGrid
    To copy to clipboard, switch view to plain text mode 
    and
    Qt Code:
    1. class PlotBackground : public QwtPlotShapeItem
    To copy to clipboard, switch view to plain text mode 
    .

    The implementation is working with Qwt 5.2.3 and Qt 4.8.2 and updated the Qwt to 6.1.6 and Qt 5.15.2 and the plot grid and plot background are not shown anymore in the plot panel.

    I already added the libraries needed qwtd.dll, qwt.dll, Qt5Core.dll, Qt5Cored.dll, Qt5Gui.dll, Qt5Guid.dll, Qt5Widgets.dll and Qt5Widgetsd.dll.

    I added a break point in the draw method and it does not trigger the break points in VS2019. Testing my old Qt and Qwt version in VS2008 will trigger the break point in the draw method.

    The only difference in the code is that I inherit the PlotGrid class to QwtPlotGrid instead of QwtPlotItem


    Regards,
    olredi
    Last edited by olredi; 6th April 2021 at 08:25.

Similar Threads

  1. Plot above/below grid
    By link19 in forum Qwt
    Replies: 1
    Last Post: 3rd September 2019, 16:31
  2. How to force plot grid to follow top axis?
    By Sintegrial in forum Qwt
    Replies: 5
    Last Post: 13th November 2015, 10:13
  3. Replies: 13
    Last Post: 20th September 2011, 09:50
  4. sync plot grid w/ external scale widget
    By Kevin Ching in forum Qwt
    Replies: 6
    Last Post: 30th September 2010, 17:12
  5. Qwt plot + grid huge pdf file
    By giusepped in forum Qwt
    Replies: 3
    Last Post: 17th December 2008, 13:53

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.