[zeromq-dev] Qt zeromq Android versus JZMQ

Joe McIlvain joe.eli.mac at gmail.com
Sat Jun 13 04:53:03 CEST 2015


I did much of the work on the qt-android build system.  I apologize that
there is little guiding documentation on this point, but I did it mainly to
allow using the zeromq family of libraries on android in Qt/QML
applications.  In order to use the `dlopen` style import Qt uses, there are
certain requirements for the shared object files that are built.  I created
a build system that meets these requirements, but there's no reason you
have to use it with Qt - it could work with any android/java application
that uses a similar approach to how Qt-for-android loads C libraries.

We did an application for this year's FOSDEM that used Qt/QML together with
zeromq, czmq, and zyre to illustrate and teach about building applications
with zproto and zproject (which includes the qt-android build script and
auto-generated QML bindings).  Looking through the source code and limited
docs may be helpful to you, or you might try building the application.

This work is far from stable and complete, but I encourage you to read
through some of it, and ask questions where you need to.  The intended
workflow we were targetting here was:
1) Build a protocol for your aplication with zproto (optional).
2) Build a library for your application using czmq + zproject.
3) Autogenerate bindings for your library in various languages using
4) Build one or more interoperable applications in one or more languages
using the single library and bindings package you created.

I think this is a powerful approach, but we still need to flesh out the
workflow, and having more developers paving the way for the community is
always great, so please check it out and see if it's right for you.

I try to check this list often, but you can also feel free to contact me
directly if you have specific questions about any of these tools we are
trying to build.


On Wed, May 27, 2015 at 12:54 PM, Arthur Low - Crack Semiconductor <
art at cracksemi.com> wrote:

> Hi - I am new to the group
> I am trying to get CURVE authentication in a Java Android App and to that
> end
> I am working to extend JZMQ version 3.1.0 for CURVE support.
> However, in digging into the libzmq source, I see there is a qt-android.sh
> script in the builds directory. Hmmmm?
> I have QT5 and PyQT5 installed, as well as QT4.
> Is the qt-android build environment stable and supports CURVE? It appears
> to,
> as it requires libSodium.
> I would appreciate any tool setup advice and a pointer to any know examples
> to help me get up to speed.
> I've looked into python-for-android and pyqtdeploy, but the obstacles I
> have
> encountered have moved me to either JZMQ or perhaps Qt-Android?
> Thanks very much,
> Arthur Low
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150612/c76c28cd/attachment.htm>

More information about the zeromq-dev mailing list