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
    15 Jun 2021, 05:47

    @jsulm
    Yes IP and Port is correct .

    J Offline
    J Offline
    jsulm
    Lifetime Qt Champion
    wrote on 15 Jun 2021, 06:04 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 15 Jun 2021, 10:24
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 15 Jun 2021, 06:10 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 15 Jun 2021, 08:36
      0
      • D daisyvish
        15 Jun 2021, 04:39

        @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

        S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 15 Jun 2021, 06:11 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 15 Jun 2021, 09:32
        0
        • S SGaist
          15 Jun 2021, 06:10

          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 15 Jun 2021, 08:36 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
          • S SGaist
            15 Jun 2021, 06:11

            @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 15 Jun 2021, 09:32 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 15 Jun 2021, 09:34 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 15 Jun 2021, 11:09
              0
              • J jsulm
                15 Jun 2021, 06:04

                @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 15 Jun 2021, 10:24 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
                • S SGaist
                  15 Jun 2021, 09:34

                  Anything called "libqamqp0.lib" or similar ?

                  D Offline
                  D Offline
                  daisyvish
                  wrote on 15 Jun 2021, 11:09 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
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 15 Jun 2021, 11:12 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 15 Jun 2021, 11:21
                    0
                    • S SGaist
                      15 Jun 2021, 11:12

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

                      D Offline
                      D Offline
                      daisyvish
                      wrote on 15 Jun 2021, 11:21 last edited by
                      #20

                      @SGaist
                      i opened qamqp.pro file.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 15 Jun 2021, 19:42 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 16 Jun 2021, 04:31
                        0
                        • S SGaist
                          15 Jun 2021, 19:42

                          Can you build just the src project ?

                          D Offline
                          D Offline
                          daisyvish
                          wrote on 16 Jun 2021, 04:31 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.

                          J 1 Reply Last reply 16 Jun 2021, 04:33
                          0
                          • D daisyvish
                            16 Jun 2021, 04:31

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

                            J Offline
                            J Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on 16 Jun 2021, 04:33 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 16 Jun 2021, 05:20
                            0
                            • J jsulm
                              16 Jun 2021, 04:33

                              @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 16 Jun 2021, 05:20 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.

                              J 1 Reply Last reply 16 Jun 2021, 05:34
                              0
                              • D daisyvish
                                16 Jun 2021, 05:20

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

                                J Offline
                                J Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on 16 Jun 2021, 05:34 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 16 Jun 2021, 06:30
                                0
                                • J jsulm
                                  16 Jun 2021, 05:34

                                  @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 16 Jun 2021, 06:30 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.

                                  J 1 Reply Last reply 16 Jun 2021, 06:32
                                  0
                                  • D daisyvish
                                    16 Jun 2021, 06:30

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

                                    J Offline
                                    J Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on 16 Jun 2021, 06:32 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

                                    20/27

                                    15 Jun 2021, 11:21

                                    • Login

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