Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Rabbitmq implementation using Qt

Rabbitmq implementation using Qt

Scheduled Pinned Locked Moved Unsolved India
27 Posts 3 Posters 7.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D daisyvish

    @jsulm
    Yes IP and Port is correct .

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #11

    @daisyvish When you need to investigate why it can't connect (for example firewall could block the connection).

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    D 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #12

      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 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • D daisyvish

        @SGaist

        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 status

        SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #13

        @daisyvish said in Rabbitmq implementation using Qt:

        @SGaist

        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 status

        Did the library build successfully ?
        Did you check where it is ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        D 1 Reply Last reply
        0
        • SGaistS SGaist

          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 ?

          D Offline
          D Offline
          daisyvish
          wrote on last edited by
          #14

          @SGaist
          Yes i am on same network.
          yes machine is reachable.
          yes port of that machine is opened.
          Remote machine is in the same network.
          Rabbitmq Server is accesible through browser and also on another computer inside the network.

          1 Reply Last reply
          0
          • SGaistS SGaist

            @daisyvish said in Rabbitmq implementation using Qt:

            @SGaist

            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 status

            Did the library build successfully ?
            Did you check where it is ?

            D Offline
            D Offline
            daisyvish
            wrote on last edited by
            #15

            @SGaist
            How can i know library is build or not ?
            after clicking on run button build folder is created and that build is having debug,pckgconfig,release, .dll,make file,.o

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #16

              Anything called "libqamqp0.lib" or similar ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              D 1 Reply Last reply
              0
              • jsulmJ jsulm

                @daisyvish When you need to investigate why it can't connect (for example firewall could block the connection).

                D Offline
                D Offline
                daisyvish
                wrote on last edited by
                #17

                @jsulm
                i have done sending message to server(rabbitmq) in python .It is not blocking .Rabbitmq is receiving the messages.

                1 Reply Last reply
                0
                • SGaistS SGaist

                  Anything called "libqamqp0.lib" or similar ?

                  D Offline
                  D Offline
                  daisyvish
                  wrote on last edited by
                  #18

                  @SGaist said in Rabbitmq implementation using Qt:

                  libqamqp0.lib

                  no,there is nothing like libqamqp0.lib and no any .lib file .
                  it is containing only .o,.cpp, qamqp.exe,make,release and debug file

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #19

                    Did you open the main .pro file ? The one at the top of the project ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    D 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Did you open the main .pro file ? The one at the top of the project ?

                      D Offline
                      D Offline
                      daisyvish
                      wrote on last edited by
                      #20

                      @SGaist
                      i opened qamqp.pro file.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #21

                        Can you build just the src project ?

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        D 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Can you build just the src project ?

                          D Offline
                          D Offline
                          daisyvish
                          wrote on last edited by
                          #22

                          @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.

                          jsulmJ 1 Reply Last reply
                          0
                          • D daisyvish

                            @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.

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #23

                            @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?

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            D 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @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?

                              D Offline
                              D Offline
                              daisyvish
                              wrote on last edited by
                              #24

                              @jsulm
                              It is creating libqamqpd.a file. Is it library file?
                              except this these are also created:
                              qamqpd.dll ,qamqp.prl,qamqpd.prl,some make, release and build files.

                              jsulmJ 1 Reply Last reply
                              0
                              • D daisyvish

                                @jsulm
                                It is creating libqamqpd.a file. Is it library file?
                                except this these are also created:
                                qamqpd.dll ,qamqp.prl,qamqpd.prl,some make, release and build files.

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #25

                                @daisyvish said in Rabbitmq implementation using Qt:

                                Is it library file?

                                Yes, it is a static library.
                                qamqpd.dll is the shared library.

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                D 1 Reply Last reply
                                0
                                • jsulmJ jsulm

                                  @daisyvish said in Rabbitmq implementation using Qt:

                                  Is it library file?

                                  Yes, it is a static library.
                                  qamqpd.dll is the shared library.

                                  D Offline
                                  D Offline
                                  daisyvish
                                  wrote on last edited by
                                  #26

                                  @jsulm @SGaist
                                  ok ,that's mean library is created.Then what to do next to run the project.
                                  should i open tutorial.pro or qamqp.pro or any other .pro file to implement project.

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • D daisyvish

                                    @jsulm @SGaist
                                    ok ,that's mean library is created.Then what to do next to run the project.
                                    should i open tutorial.pro or qamqp.pro or any other .pro file to implement project.

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #27

                                    @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

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    0

                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved