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
Forum Updated to NodeBB v4.3 + New Features

Send Data from GTK+ to QT Gui

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 4 Posters 878 Views 3 Watching
  • 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 Shivam Sharma

    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.

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on 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 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

      jsulmJ 1 Reply Last reply
      0
      • S Shivam Sharma

        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

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on 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
        1
        • jsulmJ jsulm

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

          jsulmJ 1 Reply Last reply
          0
          • S Shivam Sharma

            @jsulm

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

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on 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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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
              2
              • SGaistS SGaist

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

                jsulmJ 1 Reply Last reply
                0
                • S Shivam Sharma

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

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 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
                  • mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 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
                    4
                    • mrjjM mrjj

                      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 last edited by
                      #11

                      @mrjj ok will try this.

                      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