Results 1 to 9 of 9

Thread: Qt 5.5 + Oscilloscope example

  1. #1
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Question Qt 5.5 + Oscilloscope example

    As part of figuring out what was going wrong with my application and my use of QwtPlotDirectPainter (see here), I thought I would try Qwt's Oscilloscope example and there does indeed seem to be an issue of sorts with QwtPlotDirectPainter. Here is a screenshot that illustrates what I mean:



    As can be seen, the background is black wherever QwtPlotDirectPainter draws a series of points. I don't remember ever seeing this using previous versions of Qt.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,313
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.5 + Oscilloscope example

    Which platform - also on the Mac ?

    Uwe

  3. #3
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.5 + Oscilloscope example

    Yes, the above screenshot was taken on a MacBook Pro running OS X 10.10 (Yosemite).

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,313
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.5 + Oscilloscope example

    Native or also over VNC only ?

    Uwe

  5. #5
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.5 + Oscilloscope example

    The screenshot was taken natively, although I believe I also tried it through VNC a couple of days ago (I won't be able to try it through VNC again before this weekend).

  6. #6
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,313
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.5 + Oscilloscope example

    To be honest I'm not that much interested in the VNC issues - as this is out of the scope of what I can work on - the problems with Qt 5.5 native on the Mac are way more of interest.
    Could you please do some tests with comparing between Qt 5.5 and Qt 5.4 - maybe also having a look at what has changed in the implementation of Qt 5.5 ?

    Uwe

  7. #7
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.5 + Oscilloscope example

    Quote Originally Posted by Uwe View Post
    To be honest I'm not that much interested in the VNC issues - as this is out of the scope of what I can work on - the problems with Qt 5.5 native on the Mac are way more of interest.
    This is perfectly understandable.

    Quote Originally Posted by Uwe View Post
    Could you please do some tests with comparing between Qt 5.5 and Qt 5.4 - maybe also having a look at what has changed in the implementation of Qt 5.5 ?
    I will see what I can do...

  8. #8
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.5 + Oscilloscope example

    Ok, I have just got a chance to try the oscilloscope example with both Qt 5.4.2 and Qt 5.5. With Qt 5.5, I can confirm that I do get the result mentioned above (i.e. the background is black wherever QwtPlotDirectPainter draws a series of points). However, using Qt 5.4.2, everything works as expected. In other words, I get:



    Now, I must confess that I don't really have the time to compare Qt 5.4.2's code with that of Qt 5.5, not to mention that I don't know enough about the inner workings of QwtPlot to know exactly what I should be comparing...

  9. #9
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,313
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 5.5 + Oscilloscope example

    Quote Originally Posted by agarny View Post
    Now, I must confess that I don't really have the time to compare Qt 5.4.2's code with that of Qt 5.5
    And I don't even have a Mac - so I'm afraid the story ends with knowing that Qt 5.5 is broken on the Mac, but we are not able to file a bug report ...

    Uwe

Similar Threads

  1. Oscilloscope
    By P@u1 in forum Qwt
    Replies: 1
    Last Post: 1st July 2011, 15:21
  2. QWT oscilloscope example
    By Pablo220372 in forum Qwt
    Replies: 2
    Last Post: 10th June 2011, 08:19
  3. oscilloscope example bug
    By umituzun84 in forum Qwt
    Replies: 1
    Last Post: 17th March 2010, 19:03
  4. Qwt-5.3.0-svn: oscilloscope
    By PaceyIV in forum Qwt
    Replies: 2
    Last Post: 14th June 2009, 18:56
  5. use qt for oscilloscope
    By dycjiaoda in forum Qt Programming
    Replies: 1
    Last Post: 9th June 2009, 19:46

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.