diff options
Diffstat (limited to 'src/sql/kernel/qsqlquery.cpp')
-rw-r--r-- | src/sql/kernel/qsqlquery.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sql/kernel/qsqlquery.cpp b/src/sql/kernel/qsqlquery.cpp index b9ebfedb639..57268e33cf0 100644 --- a/src/sql/kernel/qsqlquery.cpp +++ b/src/sql/kernel/qsqlquery.cpp @@ -216,11 +216,12 @@ QSqlQuery::~QSqlQuery() delete d; } -#if QT_DEPRECATED_SINCE(6, 2) +#if QT_REMOVAL_QT7_DEPRECATED_SINCE(6, 2) /*! Constructs a copy of \a other. - \deprecated QSqlQuery cannot be meaningfully copied. Prepared + \deprecated [6.2] QSqlQuery cannot be meaningfully copied, and + therefore will no longer be copiable in Qt 7. Prepared statements, bound values and so on will not work correctly, depending on your database driver (for instance, changing the copy will affect the original). Treat QSqlQuery as a move-only type instead. @@ -235,7 +236,8 @@ QSqlQuery::QSqlQuery(const QSqlQuery& other) /*! Assigns \a other to this object. - \deprecated QSqlQuery cannot be meaningfully copied. Prepared + \deprecated [6.2] QSqlQuery cannot be meaningfully copied, and + therefore will no longer be copiable in Qt 7. Prepared statements, bound values and so on will not work correctly, depending on your database driver (for instance, changing the copy will affect the original). Treat QSqlQuery as a move-only type instead. |