Your code is fine, also use setPos() for arranging your text item. I can't think of any reason, why your text is not shown, but I guess the "error" in somewhere in your surrounding code. So please check in a simple example, if you can insert texts to a scene. If so, search your other code for errors.
Bookmarks