QUIt Coding
QUIt Coding
Tested the attached example with different Qt versions, pressed Add & Delete > 100 times and didn't see any problems... My test platform was Dell XPS 15 (NVidia GTX 1050)...
Nice demo Niels! @Marius: Like Niels said, you can apply ShaderEffect for QNanoPainter item to move vertices (and do other effects). Shader effect can be done live editing with the...
I have experienced similar behavior with QNANO_USE_RENDERNODE and features gallery example when animations which trigger updating are disabled. Patch above fixes this by listening Flickable onContentXChanged signal. But don't know...
@demiantres That is false information. QNanoPainter now supports OpenGL, Vulkan, Metal, Direct3D11 and Direct3D12 with the RHI backend (see https://github.com/QUItCoding/qnanopainter/blob/master/libqnanopainter/nanovg/nanovg_rhi.cpp ). Steps: 1) Build Qt dev branch or use Qt...
Thanks! Would you mind doing the same addition for qmake users so add QNANO_USE_FREETYPE etc. into include.pri?
Hi and thanks! =) I tested by copying your sources into helloitem.h like this: ``` HelloItemPainter() : m_color(255,0,0,255) , m_penWidth(10) , m_progress(90) { } void paint(QNanoPainter *p) { // Painting...
Tested building the qt5 branch with Qt 5.12.12 and got the same error. I pushed a small patch to fix this and other issues with different latest Qt 5.x.y versions:...
We are not using CMake (yet!) so don't have much experience about it. If someone wants to make a patch for CMake we would gladly take it in if it...
As said that helper macro isn't used in QNanoPainter sources currently. QNANO_PROPERTY does reduce boilerplate code for simple setter/getter properties, while cons is that Qt Creator code completion doesn't work...
In theory yes, but I'm not fluent with macros to implement that =)