Why is QSqlField::type() deprecated in Qt6
-
While browsing through the documentation, I noticed that the functions
QSqlField::type()andQSqlField::setType()existed in Qt 5, but I couldn't find them in Qt 6. Instead, there are two new functionsQSqlField::metaType()andQSqlField::setMetaType().I'd like to ask, is it just changing the function names here? Why the name change?
Attached document address
-
type() and metaType() are two different things. And type() is of no use for the user.
-
M mq-loser has marked this topic as solved on
-
For future references @mq-loser - in Qt documentation for a class, below "List of all members, including inherited members" there is section "Deprecated", and here are mentioned not only what has been deprecated, but also what from now on to use instead.
-
@MasterBLB Thanks.