Java comes with adware on the platform with the worst java installer. It's slow to install and forces you to actively deselect adware, but there's a Windows tool that can do that for you and there are package managers and app setup bundles. Installing Java on Linux and FreeBSD is very simple and fast.
Qt these days needs at minimum 30MB for a simple window and that's a huge overhead for basically a hello-qt app.
But Qt isn't as bloated as carrying around another browser.