It sounds like Qupzilla can't handle direct connections to tor. Install
privoxy, and point privoxy to tor via the following line in privoxy config:
# forward-socks5 / 127.0.0.1:9050 .
Removing the "#" sign in the above line in the privoxy config will allow
privoxy to serve as an http proxy, and in turn hand off web requests to tor.
The resulting connection will look like this:
PC--->Privoxy--->Tor--->Internet
Once that is done, change your proxy settings in Qupzilla to point to port
8118 on locahost and you should be able to surf via tor.
Do note, privoxy can also be used as a web filter, and can remove all kinds
of nasty things from web pages, including ads and web bugs, greatly
increasing your online privacy. It's worth checking out in it's own right and
can enhance online privacy when combined with tor.