What about the deprecation message? Have you tried using Qt Core extension?
I'm not using VS Code. Please report back with your findings about the Qt Core extension and if it solved your problem, so that others that stumble across this post know about it.