3 ms·
Theres a neat project in the works: https://github.com/woboq/verdigris https://github.com/woboq/verdigris Unlike Copperspice, the other MOC-less Qt, this one
by zanny 10y ago
Theres a neat project in the works:
https://github.com/woboq/verdigris https://github.com/woboq/verdigris
Unlike Copperspice, the other MOC-less Qt, this one is API compatible with Qt itself, you just include it and drop the MOC and use its functions instead of the original library ones and it can connect to normal Qt data structures.
And like others have said, you can use as few or as many Qt data structures as you want. The problem is that if you end up using Qt IO, you end up getting QStrings and QVariants, which you usually want to keep that way and end up using containers that recognize those types.
If we had a good C++ var type, and a usable string class, there would be an argument to depreciate whats there, but even Qt cannot do utf-8 right (QString is utf-16).
- VeejayRampay 10y agoFor those interested in such things, verdigris comes from the French "vert de gris", which is the colloquial name for copper oxide (translates to green of grey or grey's green).