Rabbitmq implementation using Qt
-
@daisyvish said in Rabbitmq implementation using Qt:
AMQP: Socket Error: "Host not found"
This is quite clear: connection failed. So, check why you can't connect (are IP and port correct?).
-
@daisyvish When you need to investigate why it can't connect (for example firewall could block the connection).
-
Are you sure you are on the same network ?
Are you sure the machine is reachable ?
Are you sure the port on that machine is opened ?
How remote is that machine with regards to yours ? -
@daisyvish said in Rabbitmq implementation using Qt:
https://github.com/mbroadst/qamqp --from this codes i double click on qamqp.pro and build and run the project
i am getting these error:
error: cannot find -lqamqp0
error: collect2.exe: error: ld returned 1 exit status
error: cannot find -lqamqp0
error: collect2.exe: error: ld returned 1 exit statusDid the library build successfully ?
Did you check where it is ? -
Anything called "libqamqp0.lib" or similar ?
-
Did you open the main .pro file ? The one at the top of the project ?
-
Can you build just the src project ?
-
@SGaist
I tried to build src by opening src.pro.But it is not creating any exe file(src.exe) and showing error: You need to set an executable in the custom run configuration.
after manually setting an executable(src.exe) i am getting this Error:09:58:42: Starting C:\Users\Deepa\Downloads\New folder\qamqp-master(4)\qamqp-master\build-src-Desktop_Qt_5_15_0_MinGW_64_bit-Debug\debug\src.exe ...
09:58:42: Failed to start program. Path or permissions wrong?
09:58:42: C:\Users\Deepa\Downloads\New folder\qamqp-master(4)\qamqp-master\build-src-Desktop_Qt_5_15_0_MinGW_64_bit-Debug\debug\src.exe exited with code -1
09:58:42: The process failed to start. Either the invoked program "C:\Users\Deepa\Downloads\New folder\qamqp-master(4)\qamqp-master\build-src-Desktop_Qt_5_15_0_MinGW_64_bit-Debug\debug\src.exe" is missing, or you may have insufficient permissions to invoke the program. -
@daisyvish said in Rabbitmq implementation using Qt:
it is not creating any exe file
I guess because it is a library, so a library file is created?
-
@daisyvish said in Rabbitmq implementation using Qt:
Is it library file?
Yes, it is a static library.
qamqpd.dll is the shared library. -
@daisyvish You need to add this library to your app. See here for more details: https://doc.qt.io/qt-5/third-party-libraries.html