Building GammaRay
Unfortunately, there are no prebuilt binaries for Windows, and MinGW and must be built from sources. For that purpose, we have to go to https://github.com/KDAB/GammaRay, fetch the latest code, and set out to compile it with Qt Creator.
The build project is configured as a CMake project, so we have to install the current CMake version from https://cmake.org/download/ (3.12.2 in this case). Qt Creator has CMake integration built in, so we will just have to enable it. For that, we open Projects | ManageKits dialog, then select the CMake tab, and add your installed version by specifying the CMake's executable path.
Next, we open GammaRay's CMakeLists.txt project file and start the build. It will report some errors, but after we disable the multibuild option by setting the -DGAMMARAY_MULTI_BUILD=FALSE property for CMake, the errors will disappear. After some time, we will be able to start the compiled GammaRay application and attach it to the running instance of our example program, as can be seen in the following screenshot:
You can see the resources used by the QML in its scene graph, complete with used shaders and their code. You can also browse Qt object hierarchies (in the Objects tab) and look at properties of single object instances, for example, the elements of QQuickListView showing the list of countries, as can be seen in the next screenshot: