I need to draw a lot of lines with low CPU utilization in a QtQuick app on
ARM i.MX8. Neither QML Shapes nor QNanoPainter are fast enough.
What do you recommend?
Drawing with QSGGeometry is fast enough, but I need to draw lines with
widths greater than one pixel and there's an annoying notch on
Laszlo,
Thanks for your reply.
I was able to overcome this problem a couple of weeks ago. Your suggestion was
exactly what I have followed.
My biggest problem right now is definitely the lack of blend equation support.
Can you please help?
Thank you!
Best regards,
Nuno
> On 8 May 2024, at
Lazslo,
Thank you very much for your reply.
I was really hopeful that there was some kind of workaround for this
limitation. This renders impossible to port an application from Qt 5 to Qt 6 at
least as far as my knowledge goes.
Is there any possible workaround for this limitation? Can I do it
Hi,
As you found, QSGMaterialShader::GraphicsPipelineState allows specifying the
blend factors, and from Qt 6.5 on it also supports specifying separate RGB and
alpha factors.
However, the blend equation is always ADD. There is no way to change that
currently.
Best regards,
Laszlo
Hi,
>From Qt 6.6 on you can pull in the Qt Shader Tools module into the project and
>try using https://doc.qt.io/qt-6/qshaderbaker.html
If this is actually suitable for your use case, cannot say without more
details, because doing the heavyweight compilation and transpilation at runtime
is
Hi,
Passing 0 as a renderbuffer object name is not going to work. Try using
https://doc.qt.io/qt-6/qquickrendertarget.html#fromOpenGLTexture with the
texture that is used as the color attachment of your OpenGL framebuffer object.
(actually that FBO is not useful in Qt 6 as one will be created
Hi,
On macOS we selectively link in the relevant permission plugins based on what
you’ve declared in your Info.plist.
This magic depend on using the qt_ prefixed function for adding your executable:
https://doc.qt.io/qt-6/qt-add-executable.html
Cheers,
Tor Arne
On 8 May 2024, at 16:44, Sley
Hello All, Hope You are doing fine.
I am all new to Qt and this email is concerning an issue that I have had
lately regarding a chat application which requests access to use the
Microphone.
I have read the Documentation on how to handle it. I have written exactly what
they said but I didn’t
Hi Qties
We have recently launched a survey on doc.qt.io and would love to know what
improvements you would like to see in our documentation.
Each page under doc.qt.io contains a survey banner at the bottom of the page.
If you spot any issues or have any ideas on how we can improve the