The question is how to embed AMQP events into QT event-network-subsystem. :)
Alan Antonuk wrote:
> By Qt I assume you're using C++.
> You'll want to look into the rabbitmq-c (
> https://github.com/alanxz/rabbitmq-c ) client as a c++ wrapper around that
> SimpleAmqpClient (https://github.com/alanxz/SimpleAmqpClient )
> On Sat, Jun 9, 2012 at 5:40 AM, catprog
> <[hidden email]> wrote:
>> Hello, could you please help me? I want to connect to RabbitMQ server
>> my project on Qt. But I don`t know which library I must use.
>> Sincerely, Mikhail.
>> rabbitmq-discuss mailing list
On 10 Jun 2012, at 20:46, Matwey V. Kornilov wrote:
> The question is how to embed AMQP events into QT event-network-subsystem. :)
What, so that they look like a QIODevice and produce QNetworkReply or some such? I don't think that's likely to prove particularly productive. In fact, I'd suggest using the threading support (QRunnable and a thread pool if you need many producers or consumers perhaps) and interacting with the rabbitmq-c client (or C++ wrapper) from here. Trying to make AMQP look like the QT network subsystem API (or vice versa) sounds like a route to loosing hair, or sleep, or both.
I am new to RabbitMQ with Qt. I downloaded the code from https://github.com/fuCtor/QAMQP on Windows and I successfully compiled the code (using qmake/nmake) to produce qamqp.exe. When I run the executable on the command line it just does not do anything. I don't see any errors also.