Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Send Data from GTK+ to QT Gui

Send Data from GTK+ to QT Gui

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 4 Posters 822 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
    Shivam Sharma
    wrote on 21 Jan 2020, 06:23 last edited by
    #1

    Hi guys.

    I need to receive data by sending input from GTK+ to displaying it in QT Gui. Can someone help me out with this.

    J 1 Reply Last reply 21 Jan 2020, 06:24
    0
    • S Shivam Sharma
      21 Jan 2020, 06:23

      Hi guys.

      I need to receive data by sending input from GTK+ to displaying it in QT Gui. Can someone help me out with this.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Jan 2020, 06:24 last edited by
      #2

      @Shivam-Sharma said in Send Data from GTK+ to QT Gui:

      Can someone help me out with this.

      If you tell us how you're sending data from your GTK+ app...
      So, please provide more information.

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

      1 Reply Last reply
      1
      • S Offline
        S Offline
        Shivam Sharma
        wrote on 21 Jan 2020, 07:06 last edited by
        #3

        I am sending data like text format through GTK+ terminal but it isn't being displayed on the QT Gui.

        I have referred the code from this video. I don't know what more modifications do I need to make to work like that:
        https://www.youtube.com/watch?v=UD78xyKbrfk

        J 1 Reply Last reply 21 Jan 2020, 07:09
        0
        • S Shivam Sharma
          21 Jan 2020, 07:06

          I am sending data like text format through GTK+ terminal but it isn't being displayed on the QT Gui.

          I have referred the code from this video. I don't know what more modifications do I need to make to work like that:
          https://www.youtube.com/watch?v=UD78xyKbrfk

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 21 Jan 2020, 07:09 last edited by
          #4

          @Shivam-Sharma said in Send Data from GTK+ to QT Gui:

          GTK+ terminal

          Sorry, but this does not explain anything. Can you please explain what exactly you're using to send data? Sockets? Pipes? Something else? Can you show the code?

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

          S 1 Reply Last reply 21 Jan 2020, 08:37
          1
          • J jsulm
            21 Jan 2020, 07:09

            @Shivam-Sharma said in Send Data from GTK+ to QT Gui:

            GTK+ terminal

            Sorry, but this does not explain anything. Can you please explain what exactly you're using to send data? Sockets? Pipes? Something else? Can you show the code?

            S Offline
            S Offline
            Shivam Sharma
            wrote on 21 Jan 2020, 08:37 last edited by
            #5

            @jsulm

            This video is all that I'm trying to do. Have a look.
            https://www.youtube.com/watch?v=UD78xyKbrfk

            J 1 Reply Last reply 21 Jan 2020, 08:41
            0
            • S Shivam Sharma
              21 Jan 2020, 08:37

              @jsulm

              This video is all that I'm trying to do. Have a look.
              https://www.youtube.com/watch?v=UD78xyKbrfk

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 21 Jan 2020, 08:41 last edited by
              #6

              @Shivam-Sharma Sorry, I will not watch a video...

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

              1 Reply Last reply
              1
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 21 Jan 2020, 09:00 last edited by
                #7

                Hi,

                As someone who is asking for some help, it is your duty to provide all needed informations for us to be able to help you.

                Asking people to go watch a video without any more information than that is not the right way to do it.

                Out of curiosity I just went to see what the title was. It's completely unrelated to GTK+ and talks about QSerialPort.

                So, as @jsulm already asked, what exactly are you trying to do ?

                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 21 Jan 2020, 11:11
                2
                • S SGaist
                  21 Jan 2020, 09:00

                  Hi,

                  As someone who is asking for some help, it is your duty to provide all needed informations for us to be able to help you.

                  Asking people to go watch a video without any more information than that is not the right way to do it.

                  Out of curiosity I just went to see what the title was. It's completely unrelated to GTK+ and talks about QSerialPort.

                  So, as @jsulm already asked, what exactly are you trying to do ?

                  S Offline
                  S Offline
                  Shivam Sharma
                  wrote on 21 Jan 2020, 11:11 last edited by
                  #8

                  @SGaist @jsulm I am sorry guys, all this is out of panic. Won't do this next time. Anyways, I am trying to use a USB to serial port by shorting the 2nd and 3rd pin of the serial port using a female pin wire. After that just verify if I can collect data by giving text input on gtk+ terminal and viewing it on QT gui terminal. But it's not working as expected.

                  Thanking you for bearing with patience.

                  J 1 Reply Last reply 21 Jan 2020, 11:36
                  0
                  • S Shivam Sharma
                    21 Jan 2020, 11:11

                    @SGaist @jsulm I am sorry guys, all this is out of panic. Won't do this next time. Anyways, I am trying to use a USB to serial port by shorting the 2nd and 3rd pin of the serial port using a female pin wire. After that just verify if I can collect data by giving text input on gtk+ terminal and viewing it on QT gui terminal. But it's not working as expected.

                    Thanking you for bearing with patience.

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 21 Jan 2020, 11:36 last edited by
                    #9

                    @Shivam-Sharma Then please post your code where you read the data with Qt...

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

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 21 Jan 2020, 15:59 last edited by
                      #10

                      Hi
                      I had a quick look at the video and its just a simply get going with QSerial.

                      On your linux, use a other serial comm app like minicom or
                      moserial to verify that the cable actually works.

                      If it works then try with
                      https://doc.qt.io/qt-5/qtserialport-terminal-example.html
                      and see if that works. If not, it could be a Qt install issues.

                      S 1 Reply Last reply 22 Jan 2020, 05:04
                      4
                      • M mrjj
                        21 Jan 2020, 15:59

                        Hi
                        I had a quick look at the video and its just a simply get going with QSerial.

                        On your linux, use a other serial comm app like minicom or
                        moserial to verify that the cable actually works.

                        If it works then try with
                        https://doc.qt.io/qt-5/qtserialport-terminal-example.html
                        and see if that works. If not, it could be a Qt install issues.

                        S Offline
                        S Offline
                        Shivam Sharma
                        wrote on 22 Jan 2020, 05:04 last edited by
                        #11

                        @mrjj ok will try this.

                        1 Reply Last reply
                        0

                        2/11

                        21 Jan 2020, 06:24

                        topic:navigator.unread, 9
                        • Login

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