Obsolete Members for QSqlQuery

QSqlQuery 클래스의 다음 메서드들은 더 이상 사용되지 않습니다. 이 메서드들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 메서드들을 사용하지 않는 것을 강력히 권장합니다.

공개 함수

(deprecated in 6.2) QSqlQuery(const QSqlQuery &other)
(deprecated in 6.2) QSqlQuery &operator=(const QSqlQuery &other)

멤버 함수 설명

[deprecated in 6.2] QSqlQuery::QSqlQuery(const QSqlQuery &other)

이 함수는 6.2 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

other 의 복사본을 생성합니다.

QSqlQuery는 실질적으로 복사할 수 없으므로, Qt 7부터는 더 이상 복사할 수 없게 됩니다. 데이터베이스 드라이버에 따라 프리페어드 문, 바인딩된 값 등이 올바르게 작동하지 않을 수 있습니다(예를 들어, 복사본을 변경하면 원본에도 영향을 미칩니다). 대신 QSqlQuery를 이동 전용(move-only) 유형으로 취급하십시오.

[deprecated in 6.2] QSqlQuery &QSqlQuery::operator=(const QSqlQuery &other)

이 함수는 6.2 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

이 객체에 ` other `을 할당합니다.

QSqlQuery QSqlQuery 는 의미 있는 방식으로 복사할 수 없으므로, Qt 7부터는 더 이상 복사할 수 없게 됩니다. 데이터베이스 드라이버에 따라 준비된 문(prepared statement), 바인딩된 값 등이 올바르게 작동하지 않을 수 있습니다(예를 들어, 복사본을 변경하면 원본에도 영향을 미칩니다). 대신 를 이동 전용(move-only) 유형으로 취급하십시오.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.