If the Libreoffice API allows you to convert these string types into std:: wstring or std:: string types, these can be further converted into QString / QByteArray. It is possible that the rtl string types are simply alternate names for C++ std string types. You'll have to consult the Libreoffice API docs for that.
Edit: It looks like rtl:: OString might be equivalent to a QByteArray. The rtl:: OString:: getStr() method returns a "sal_Char" pointer, which is simply a char *. So you should be able to directly initialize a QString or QByteArray with this pointer.
Bookmarks