@chorpler: Ah you are having trouble with wrapping text. Well there are a couple of other approaches you can try. One is to use QSvgRenderer with SVG that species the text with appropriate fill and stroke properties. IIRC SVG supports that -- though I may be misremembering.
Another possibility is to use HTML + CSS for the layout, with QWebView. WebKit supports text stroking,
https://css-tricks.com/adding-stroke-to-web-text/