Qt 6.11 is out! See what's new in the release
blog
Auto-regiersting QML types in MSBuild
-
Hi, I'm trying to setup a simple Qt Quick app in Visual Studio using the Qt VS Tools extension, because I need to use MSBuild. However, I'm having difficulties auto-registering my C++ types.
Unfortunately, there is no documentation in that regard. I noticed there is a<QtQmlTypeRegistrar>target, but I don't know how to use it. -
Write a .pro file, import it into Qt VS Tools -
QtQmlTypeRegistraris valid in MSBuild - this is the only supported path,