The file $out/mkspecs/qconfig.pri contains a list of all include / library paths used during the build, including build-time-only packages like GDB and Ruby. So get rid of those.
The file $out/mkspecs/qconfig.pri contains a list of all include / library paths used during the build, including build-time-only packages like GDB and Ruby. So get rid of those.