Just in case this is interesting for someone else or I forget it, here is how I configured my system:
- Install msys64 https://www.msys2.org/
- If you experience the ‘invalid crypto engine’ problem, have a look here: MSYS2 + win7: 'invalid crypto engine' - #4 by Coirt
- Make msys64 install the necessary packages as described in Building - VCV Rack Manual
- Assuming that your msys64 installation is in C:\msys64, add the two entries C:\msys64\usr\bin and C:\msys64\mingw64\bin to the path system variable. In can be found here: How do I set system environment variables in Windows 10? - Super User
- Install Qt Creator (Try Qt | Develop Applications and Embedded Systems | Qt)
- Import a plugin as a new Qt project, using File->New File or Project…->Import Project->Import existing Project
- To the created *.includes file, add …/…/include (VCV Rack includes) and C:\msys64\mingw64\include\c++\9.2.0 (C++ standard stuff)
- Deactivate ClangCodeModel in Help->Plugins…->C++ to get rid of useless warnings
- Make sure you use the mingw build kit, see Add compilers | Qt Creator Manual
For future reference, here is my kit configuration: