Why does the curve behave this way when using NaN values?
Using NaN values to split a curve into segments is not implemened. You have to use one curve per segment or overload drawCurve/drawSeries where you do the segments
Why does the curve behave this way when using NaN values?
QwtLegend signal 'clicked' not found
I think I am the problem. I found what I was doing wrong. this does not: //connect(legend, SIGNAL(clicked(const QVariant &itemInfo, int index)), this, SLOT(legendClicked(const QVariant &itemInfo, int index))); this does: //connect(legend, SIGNAL(clicked(const QVariant &, int)), this, SLOT(legendClicked(const QVariant &, int)));
QwtLegend signal 'clicked' not found
Incompatybility with Qt 6.8
Ah I see... unfortunately Qwt and Qt is easy to mix up... I thought you were asking about the used Qt version, my bad. I checked and it seams I had the 6.2 QWT version, i thought i had the last version... I updated now to 6.3 QWT and the issue is resolved. Thanks
Nobody suggested that: the other bug reports indicate, that the problem has been fixed in Qwt 6.3.0. And for the record: AFAIR it was about an incompatibility between Qt versions - nothing I could have known in advance when releasing Qwt 6.2.x. So again: are you sure that you are running Qwt 6.3 ?
well I am using Qt 6.8.3 and I cant just go back to using some outdated Qt because of a bug in Qwt
rpath fixed opengl seting fixed in playground.pri
avoid QCheckBox::stateChanged for Qt >= 6.7 where it is deprecated
Merge branch 'develop' of https://git.code.sf.net/p/qwt/git into develop
IWYU pragma
avoid QCheckBox::stateChanged for Qt >= 6.7 where it is deprecated
rpath fixed opengl seting fixed in playground.pri
https://sourceforge.net/p/qwt/bugs/374/ https://sourceforge.net/p/qwt/bugs/381/ Are you sure that your are using the correct Qwt version ?
avoid QCheckBox::stateChanged for Qt >= 6.7 where it is deprecated
rpath fixed opengl seting fixed in playground.pri
In that example the legend example/color box is missing only the text is rendered on my platform Windows 11 24h2 Qt 6.8.3 with an older Qt 6.5.1 it works ok
Sorry for a long reply. Unfortunately, no — that's beyond my qmake skills, so I wasn't able to easily fix this.
I can't see this problem on my system ( Linux/X11 ) with the code from https://sourceforge.net/p/qwt/git/ci/qwt-6.3/tree/. Does it happen in your environment with the bode example ?
Incompatybility with Qt 6.8
IWYU pragma
Add support for Include What You Use/Clang Include Cleaner
done in all active branches
IWYU pragma
IWYU pragma
Did you try this branch: https://sourceforge.net/p/qwt/git/ci/qwt-6.2/tree/ Can't remember about the specific fix - but the qwt-6.2 branch is qwt-6.2.0 + bugfixes ( without new stuff ) only. Please try it first - otherwise let me know and I will dig deeper.
@rathmann Could you send the commit link with this fix?
QwtPicker trackerPosition
QwtPlotZoomer inaccuracy
qwt 6.3.0 with qt6 Issue
oh ok, I was trying to build the qwt using cmake so I just need to do a condition if qt<5.4 include this file if not to not include in the build
qwt_plot_glcanvas.h is only avaiable when being built for Qt 4/5 - see src/src.pri In the code of the examples it is handled by #ifdefs - using QwtPlotGLCanvas only for Qt < 5.4 Note that the majority of the Qwt applications should be running with Qt6 nowadays.
qwt_plot_glcanvas.h uses QGLWidget, which is removed in Qt6.
Right - the build/install process is made for using the releases and lacks a couple of steps, when using the code unpreprocessing from the git repository. Needs to be improved ... FYI: building the Qwt tarballs is done by a script you find a shell script admin/sf2package.sh that is intended to work on at least my system. It requires thousands of LateX packages needed by doxygen.
An API being marked as deprecetad in Qt6 is likely to be removed with Qt7, but is available until the end of the Qt6 series. So as long as you don't explicitely set the compiler flags to disable all deprecated functions it should be no problem. Disabling deprecated functions is useful if you have a specific version of Qt and you want your code being prepared for updating to a higher version. However this is not the case for Qwt - Qwt 6.3.x is supposed to work with Qt 4/5/6 versions from a single...
An API being marked as deprecetad in Qt6 is likely to be removed with Qt7, but is available until the end of the Qt6 series. So as long as you don't explicitely set the compiler flags to disable all deprecated functions it should be no problem. Disabling deprecated functions is useful if you heve a specific version of Qt and you want your code being prepared for updating to a higher version. However this is not the case for Qwt - Qwt 6.3.x is supposed to work with Qt 4/5/6 versions from a single...
An API being marked as deprecetad in Qt6 is likely to be removed with Qt7, but is available until the end of the Qt series. So as long as you don't explicitely set the compiler flags to disable all deprecated functions it should be no problem. Disabling deprecated functions is useful if you heve a specific version of Qt and you want your code being prepared for updating to a higher version. However this is not the case for Qwt - Qwt 6.3.x is supposed to work with Qt 4/5/6 versions from a single source...
Add support for Include What You Use/Clang Include Cleaner
qwt 6.3.0 with qt6 Issue
Installation instructions missing
That worked, thank you.
Could you come up with a patch ?
Hello, Could test a Linux Ubuntu system and a Raspberry Pi (PiOS). The bug is not present. It's a Android only issue, likelly due to Qt repaint bug (there's many in Qt 6.9.0, like https://bugreports.qt.io/browse/QTBUG-133549,...hopefully it will fix this issue if resolved in a next Qt release)
pkgconfig file created on OS X misses some pathsThe original .pc file only sets Cflags to be Cflags: -I${includedir} -F${libdir}. Since Qwt installs the actual, non-Qt-style-proxy headers to qwt.framework/Headers, projects relying on pkgconfig fail to find those.
QwtPlotRenderer::FrameWithScale rounding error for the pen width fixed
QwtPlotRenderer::FrameWithScale rounding error for the pen width fixed
QwtPlotRenderer::FrameWithScale rounding error for the pen width fixed
With OpenGL antialiasing is done by multisampling - setting QwtPlotItem::RenderAntialiased does not have an effect in this context. So your problem should be unrelated to the one of the initial report. Qwt 6.3 tries to initialize its internal FBO with the number of samples, that have been set for the canvas ( = QOpenGLWidget::format() ). If this value is 0 multisampling is disabled. I havn't checked how Qwt 6.2 did find its initial sample count but obviously it was different to what Qwt 6.3 is doing....
I second the concerns about jagged lines with Qwt 6.3.x while using an QwtPlotOpenGLCanvas. In the attachment there are two screenshots, the "good" one was created with Qwt 6.2.0 and Qt 5.14, the second one with Qwt 6.3.1 and Qt 5.14. Please note that the only difference is the different Qwt version, the code is exactly the same.
Merge /u/elderorb/qwt/ branch develop into develop
allow disabling tests, examples & playgrounds via QWT_NO_TESTS=1, QWT_NO_EXAMPLES=1 & QWT_NO_PLAYGROUND=1
Generated pkgconfig file for Qt6 requires Qt5 libs
See https://sourceforge.net/p/qwt/git/merge-requests/7/
pkgconfig for Qt 5/6 adjustments
Merge /u/burghart/qwt-pkgconfig-fix/ branch develop into develop
Fix pkgconfig bug when building with Qt6
QwtLegend colors do not display with Qt 6.7.0 and Qwt 6.3.0-rc1
I used the wrong version. Instead Qwt 6.3.0-rc1 the version Qwt 6.3.0 is the right one with the fix. You can close this ticket.
With the upstream fixes for Qt6 supplying .pc files fixed for a couple years now, I think it's a fine time to merge either @mchinoune's patch in this ticket or @burghart's merge request. The patches approach it slightly differently in variable injection but the effect of either is the same.
QwtLegend colors do not display with Qt 6.7.0 and Qwt 6.3.0-rc1
When having too many points to be displayed you can't expect to have much effect from antialiasing. Simply because it will result in many short lines. When zooming in you will have longer lines, where antialiasing will work. When approximating the curve points using QwtWeedingCurveFitter you probably will have better results. However the algo of th fitter is not very fast.
RenderAntialiased not doing the best thing
Note that adding m_plot->update(); after m_plot->replot(); fixes the issue.
Hello, I had the opportunity to do more testing under Android: 6.2.0 with Qt 6.2.2 works fine 6.3.0 with Qy 6.2.2 works fine 6.2.0 with Qt 6.9.0 has the display issue 6.3.0 with Qt 6.9.0 has the display issue So the issue is really a regression between Qt 6.2.2 and Qt 6.9.0.
Sorry, posted a reply while not being logged... I had the opportunity to do more testing: Both qwt 6.2.0 and 6.3.0 works fine with Qt 6.2.2 Both qwt 6.2.0 and 6.3.0 has the display issue with Qt 6.9.0 So this is definitely a regression due to Qt upgrade from 6.2.2 to 6.9.0. Jean
Hello, I'm planning to test Linux later, I'll let you know if the problem is visible here Did not try 6.3 with previous version of Qt, but I doubt it would have the bug as I see a similar issue even when not using Qwt (https://bugreports.qt.io/browse/QTBUG-136220). I's a Qt 6.9.0 issue I bet. But with Qwt, it really makes the whole widget not behave right. The only way I found to have the view be updated was to change phone orientation. Without Qwt, the screen ends up repainting itself when user...
-is this an Android specific problem or does it also happens on Linux/X11 ? - do you have the same problem when upgrading to Qwt 6.3 without changing the Qt version ?
Painting issue under Android with Qt 6.9.0
Is there any intention to implement this?
Just updated my environment to migrate to Qt 6.9 and Qwt 6.3.0 and I can now confirm it's fixed for good. Thanks a lot for this great library, Jean
According to your comments analogclock.png gets lost during the build/install process. To find out what is going on: please remove "CONFIG+=silent" from qwtbuild.pri Is the file already gone when running qmake ( without install ) or does it happen during the install operation ?
Mit Qt 6.8 und Qwt 6.3.0 immer noch das gleiche Problem, keine Änderung gegenüber 2023. C:\Qt\6.8.0\mingw_64\bin\qmake.exe -install qinstall C:\Qt6Lib\qwt-6.3.0\doc\html C:\Qt6Lib\Qwt-6.3.0\doc\html Error copying C:/Qt6Lib/qwt-6.3.0/doc/html/analogclock.png to C:\Qt6Lib\Qwt-6.3.0\doc\html\analogclock.png: Cannot open C:/Qt6Lib/qwt-6.3.0/doc/html/analogclock.png for input mingw32-make[1]: *** [Makefile:510: install_doc] Error 3 mingw32-make[1]: Leaving directory 'C:/Qt6Lib/qwt-6.3.0/doc' mingw32-make:...
Contour lines for QwtPolarSpectrogram
Qt6 does have pkg-config files, just not installed in the standard place. On my OSX build machine I have been using: pkg-config --with-path=/usr/local/opt/qt/libexec/lib/pkgconfig --with-path=/usr/local/opt/qwt/lib/pkgconfig until this gets straightened out. But I ran into the Qt6Qwt6.pc file being inaccurate. For now I have manually fixed the .pc file.
Qt6 does have pkg-config files, just not installed in the standard place. On my OSX build machine I have been using: pkg-config --with-path=/usr/local/opt/qt/libexec/lib/pkgcaonfig --with-path=/usr/local/opt/qwt/lib/pkgconfig until this gets straightened out. But I ran into the Qt6Qwt6.pc file being inaccurate. For now I have manually fixed the .pc file.
I have the same problem. Have you resolved it?
QwtLegend colors do not display with Qt 6.7.0 and Qwt 6.2.0
QwtPlotOpenGLCanvas changes curve color
version bump to 6.3.1
I tried the attached code with the qwt-6.3 branch with Qt 5.15.9 on my Linux box. In this combination I can't see the issue. Please try the code in your environment with the same Qt/Qwt versions.
QwtPlotScaleItem updat bug fixed, when changing from logarithmic to
QwtPlotScaleItem updat bug fixed, when changing from logarithmic to
QwtPlotScaleItem updat bug fixed, when changing from logarithmic to
Fix pkgconfig bug when building with Qt6
6.3.0 won't build on some platforms
Of course - fixed in all active branches.
compiler error when qreal is a float fixed
compiler error when qreal is a float fixed
compiler error when qreal is a float fixed
6.3.0 won't build on some platforms
QwtPlotOpenGLCanvas changes curve color
Which email address should I use? On Thu, 18 Jul 2024 at 10:56, Uwe Rathmann rathmann@users.sourceforge.net wrote: Please contact me by Email for discussing the direction of this feature. [patches:#83] https://sourceforge.net/p/qwt/patches/83/ patch: add rect curve to render rectangular intervals Status: open Group: Labels: patch Created: Thu May 11, 2023 01:35 PM UTC by Gregory Shklover Last Updated: Sat Jul 06, 2024 06:59 AM UTC Owner: Uwe Rathmann Attachments: qwt-1.patch https://sourceforge.net/p/qwt/patches/83/attachment/qwt-1.patch...
Please contact me by Email for discussing the direction of this feature.
patch IntervalCurve performance
Implementation is available in Qwt 6.3.0
Hi. It appears that the objections to this patch are based on the premise that similar features could be implemented over QPainterPath. But since there are no existing / planned optimizations for generic qpainterpath, there is no immediate substitution... Any drop/accept verdict on this patch? Regards, Gregory.