But you will also have to make sure that you turn off all the compile and link flags that would otherwise tell VC++ that you are using a DLL build. Things like QT_DLL and the like. Otherwise, it will import Qt assuming DLL linkage, and you will get a completely different set of "mangled" names (and a zillion link errors for all those "undefined" symbols).
The Visual Studio plugin is not required at all to do this, but it helps. You can build Qt apps in Visual Studio without it, so long as you specify the right compile options and libraries. The Qt plugin makes it easier, but only if you are following the standard method of making apps. Static builds are not standard.
By the way, if you are using Qt open source in a commercial application, it is a violation of the LGPL license to link statically. You must buy a Qt Commercial license if you want to build a statically-linked commercial Qt app.
Bookmarks