This tutorial shows how to setup cross-compilation of Qt apps for Raspberry PI board with Visual Studio. Using a cross-compiler is faster from compiling your apps directly on Raspberry PI, as the compiler will run on your PC’s CPU that is faster than the Raspberry PI’s one. However, setting up cross-compilation requires some additional steps such as creating a local copy of your Raspberry PI’s sysroot. This tutorial explains it in detail.

Before we begin, ensure that VisualGDB 4.1 or later is installed.