Microsoft added limited Linux support to Visual Studio 2015. Those features also available in Visual Studio 2017 and Visual Studio 2019.
The Visual Studio Linux Features do not inherently support cross-compiling on a Windows PC. Instead, Visual Studio will upload the the source files to the ComfilePi, and use the ComfilePi's toolchain to build the executable. The executable is then executed on the ComfilePi, and the Visual Studio Remote GDB Debugger attaches to it.
The Qt Company has released a product called Qt Visual Studio Tools to enable Qt development and cross-compiling from a Windows PC to a Linux embedded system like the ComfilePi.
See the Build and debug Qt on Linux with Qt Visual Studio Tools blog post for details
To install the latest Qt release on the ComfilePi run the following commands in a terminal:
sudo apt-get update sudo apt-get install qt5-default qtbase5-examples qt5-doc qt5-doc-html qtbase5-doc-html
Additional Qt libraries can be installed using libqt5* package names.