This worked before due to Qt behavior that was changed in https://codereview.qt-project.org/c/qt/qtdeclarative/+/450393 to generate a warning in this situation. The old behavior remains the default, but this change avoids a warning in the logs.