Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to connect Qt program with other program at runtime in Raspberry Pi?
QtWS25 Last Chance

How to connect Qt program with other program at runtime in Raspberry Pi?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
8 Posts 3 Posters 670 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.
  • S Offline
    S Offline
    Saeed_Nowroozi
    wrote on last edited by
    #1

    An motor driver that is written in C ++ but cannot be connected to the Qt. We also talked to the manufacturer, but to no avail. But the Library works in Raspberry Pi and has example. Is there a way for the Qt program to connect and exchange data with the program running the engine library at the same time?Qt program also is running.

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

      Hi,

      Something is not clear, you are talking about both a program and a library. Which one is it ?
      If there's a library, in which language is the library built ?

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

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Something is not clear, you are talking about both a program and a library. Which one is it ?
        If there's a library, in which language is the library built ?

        S Offline
        S Offline
        Saeed_Nowroozi
        wrote on last edited by
        #3

        @SGaist Hi,
        The motor driver is a library. But I do not know it is written in C or C++. The library does not have the ability to connect to Qt. But the company has put together a sample program that works well with Raspberry Pi with the library. I have a program in Qt and another program in a other environment that runtime to manipulate the parameters of the motor driver(get and send float, int value ).

        jsulmJ 1 Reply Last reply
        0
        • S Saeed_Nowroozi

          @SGaist Hi,
          The motor driver is a library. But I do not know it is written in C or C++. The library does not have the ability to connect to Qt. But the company has put together a sample program that works well with Raspberry Pi with the library. I have a program in Qt and another program in a other environment that runtime to manipulate the parameters of the motor driver(get and send float, int value ).

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

          @Saeed_Nowroozi You can use that library in your Qt application.
          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

          S 1 Reply Last reply
          2
          • jsulmJ jsulm

            @Saeed_Nowroozi You can use that library in your Qt application.
            See here for more details: https://doc.qt.io/qt-5/third-party-libraries.html

            S Offline
            S Offline
            Saeed_Nowroozi
            wrote on last edited by
            #5

            @jsulm Hi, Thank you, saved name of drivers are libEposCmd.so.6.6.2.0 and libftd2xx.so.1.4.8 that when I want to add to my project, Qt can not find these libs. When I change them to libEposCmd.so and libftd2xx.so, Qt find them. In exampe https://doc.qt.io/qt-5/third-party-libraries.html The saved extension is *.s.

            jsulmJ 1 Reply Last reply
            0
            • S Saeed_Nowroozi

              @jsulm Hi, Thank you, saved name of drivers are libEposCmd.so.6.6.2.0 and libftd2xx.so.1.4.8 that when I want to add to my project, Qt can not find these libs. When I change them to libEposCmd.so and libftd2xx.so, Qt find them. In exampe https://doc.qt.io/qt-5/third-party-libraries.html The saved extension is *.s.

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

              @Saeed_Nowroozi said in How to connect Qt program with other program at runtime in Raspberry Pi?:

              When I change them to libEposCmd.so and libftd2xx.so

              So, does it work now (I mean: can you use the libs?)? Instead of renaming the libs you can also create symbolic links:

              libEposCmd.so --> libEposCmd.so.6.6.2.0
              

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

              S 1 Reply Last reply
              2
              • jsulmJ jsulm

                @Saeed_Nowroozi said in How to connect Qt program with other program at runtime in Raspberry Pi?:

                When I change them to libEposCmd.so and libftd2xx.so

                So, does it work now (I mean: can you use the libs?)? Instead of renaming the libs you can also create symbolic links:

                libEposCmd.so --> libEposCmd.so.6.6.2.0
                
                S Offline
                S Offline
                Saeed_Nowroozi
                wrote on last edited by
                #7

                @jsulm Just find but do not work. How create me symbolic links(libEposCmd.so --> libEposCmd.so.6.6.2.0)?

                jsulmJ 1 Reply Last reply
                0
                • S Saeed_Nowroozi

                  @jsulm Just find but do not work. How create me symbolic links(libEposCmd.so --> libEposCmd.so.6.6.2.0)?

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

                  @Saeed_Nowroozi said in How to connect Qt program with other program at runtime in Raspberry Pi?:

                  How create me symbolic links

                  Like any other symbolic link (man ln):

                  ln -s libEposCmd.so.6.6.2.0 libEposCmd.so
                  

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

                  1 Reply Last reply
                  2

                  • Login

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