On 18/04/2021 14:50, Roland Hughes wrote:
I guess QML is more present in embedded? Or maybe some entreprise stuff we don't know about...Just phones and John Deere.
This is false, as a quick walk through the customer showcase on TQC's website will show.
QML was a bad idea trying to get around a legacy problem without actually fixing the legacy problem. The legacy problem is the single thread-i-ness of Qt. Back when Intel was selling 486 chips with a manufacturing defect as SX
This is also false. SXs have never been defective CPUs.
All of this is why I'm so excited to read about the Vulkan stuff going on with the CsPaint library and the Vulkan links I sent you earlier. On the surface it seems like someone talked to people who write software on big computers before work started. Need to dig deeper to be really certain, but you communicate with a "loader" that can support many revs of the API.
Are you aware that Qt has had Vulkan integration classes since 5.12 (?), and Vulkan can be used as a Qt Quick backend in Qt 6?
The ability of painting from multiple threads (or better, to build command buffers from multiple threads) doesn't magically solve the problem of manipulating data structures safely from multiple threads. The single threaded CPU-based _painting_ of the syntax highlighting has hardly ever been an issue; its _generation_ has, as it involves modifying a shared data structure (while also the user is modifying it) without races and without locking against the GUI thread. QTextDocument design is unlikely to fit the bill here; a different design sounds anything but easy, but the underlying graphics API has very little to do with this.
-- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest