Why is QSqlField::type() deprecated in Qt6
Solved
General and Desktop
-
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.
-
-
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.