mirror of
https://github.com/mappu/miqt.git
synced 2025-04-27 15:40:21 +00:00
config-allowlist.go: add const return type for QObjectData::dynamicMetaObject for Qt 6.9+
This commit is contained in:
parent
7f3fa3b248
commit
1fa992f324
@ -651,6 +651,10 @@ func ApplyQuirks(className string, mm *CppMethod) {
|
||||
mm.BecomesNonConstInVersion = addr("6.7")
|
||||
}
|
||||
|
||||
if className == "QObjectData" && mm.MethodName == "dynamicMetaObject" {
|
||||
mm.ReturnType.BecomesConstInVersion = addr("6.9")
|
||||
}
|
||||
|
||||
if className == "QFileDialog" && mm.MethodName == "saveFileContent" && mm.IsStatic {
|
||||
// The prototype was changed from
|
||||
// [Qt 5 - 6.6] void QFileDialog::saveFileContent(const QByteArray &fileContent, const QString &fileNameHint = QString())
|
||||
|
Loading…
x
Reference in New Issue
Block a user