I can't think of a way thats nicer from what you want to do.

QNetworkAccessManager was designed to be asynchronous. Why anyone would want a synchronous version is a little odd to me, but to each there own.