Hi Thiago,I am happy ro redesign my code, but how then sorting/filtering models
will work? As data() returns QVariant. Or you plan to use setSorting based on
lambda's and std::function to provide strict types sorting?And what if from API
point of view user want just to specify column without aware of data types.Am I
missing something? Woukd really appreceate if you can point me to some
direction to look at. Regards, Yuri
Relational comparisons with QVariant are deprecated in 5.15 and will be removed
because they are a misfeaure. Redesign your code so your question does not need
to be asked.
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest