import QtQuick 2.0 Item { width: 400 height: 400 Text { id: myText textFormat: Text.RichText objectName: "myText" } }