Old behavior of implicitly injecting arguments into scope is deprecated and issues runtime warnings in Qt6.