I don't know how your API work, but you'll probably need to encode the
binary data into a format more suitable for transfer, like Base 64, or
something. So my advice would be to expose the binary data as a string
(encoded as needed).


On Sat, Nov 13, 2010 at 4:00 PM, vuleetu <vule...@gmail.com> wrote:
> Hi,
>   I am working on a twitter-like client which use qml. There is a feature
> which allow user post picture and twitter at the same time. What i want to
> do is to use XMLHTTPRequest to post this picture. How do i get binary data
> from cpp and how to use this binary in javascript? Thanks
> _______________________________________________
> Qt-qml mailing list
> Qt-qml@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
>

_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to