Send Data from GTK+ to QT Gui
-
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.
@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. -
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 -
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@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?
-
@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?
This video is all that I'm trying to do. Have a look.
https://www.youtube.com/watch?v=UD78xyKbrfk -
This video is all that I'm trying to do. Have a look.
https://www.youtube.com/watch?v=UD78xyKbrfk@Shivam-Sharma Sorry, I will not watch a video...
-
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 ?
-
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 ?
@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.
-
@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.
@Shivam-Sharma Then please post your code where you read the data with Qt...
-
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. -
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.@mrjj ok will try this.