Make it compile with Qt 6.8
The optional lookup doesn't accept incompatible value since qt/qt/qtdeclarative@fc4ee771
Incompatible value: qt/qt/qtdeclarative@fc4ee771
Edited by Fushan Wen
The optional lookup doesn't accept incompatible value since qt/qt/qtdeclarative@fc4ee771
Incompatible value: qt/qt/qtdeclarative@fc4ee771