> Hi, maybe passing JPG through fromUtf8() and toUtf8() munges it too
> much, what happens if you simplify, instead of:
>
> QString jpgBufferString( finalJpg.data() );
> QString encodedString = jpgBufferString.toUtf8().toBase64();
>
> try:
> QString encodedString = finalJpg.data().toBase64();

Hi, would love to do that but this leads to

error: member reference base type 'char *' is not a structure or union

and if I did:

QString jpgBufferString( finalJpg.data() );
QString encodedString = jpgBufferString.toBase64();

I get:

error: no member named 'toBase64' in 'QString'




_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to