Merge pull request #5928 from JonnyH/PR/fix-qt-build-USE_UPNP-disabled Qt frontend build fix for USE_UPNP=OFF