[Interest] Recommendation for fast drawing for QtQuick?

2024-05-08 Thread Stan Morris
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

Re: [Interest] Porting Qt5 OpenGL app to Qt6 - QQuickRenderTarget and OpenGL frame buffer object

2024-05-08 Thread Nuno Santos via Interest
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

Re: [Interest] Qt 6.7: How to set the blend equation when doing blend on updateGraphicsPipelineState?

2024-05-08 Thread Nuno Santos via Interest
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

Re: [Interest] Qt 6.7: How to set the blend equation when doing blend on updateGraphicsPipelineState?

2024-05-08 Thread Laszlo Agocs via Interest
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

Re: [Interest] Is it possible to compile a shader in runtime using qsb?

2024-05-08 Thread Laszlo Agocs via Interest
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

Re: [Interest] Porting Qt5 OpenGL app to Qt6 - QQuickRenderTarget and OpenGL frame buffer object

2024-05-08 Thread Laszlo Agocs via Interest
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

Re: [Interest] Issues when requesting access to use the Microphone on macOS

2024-05-08 Thread Tor Arne Vestbø via Interest
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

[Interest] Issues when requesting access to use the Microphone on macOS

2024-05-08 Thread Sley HORTES
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

[Interest] New survey roll-out on doq.qt.io

2024-05-08 Thread Safiyyah Moosa via Interest
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