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. Terminal Example doesn't showing any data.
Forum Updated to NodeBB v4.3 + New Features

Terminal Example doesn't showing any data.

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 531 Views 1 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.
  • M Offline
    M Offline
    Millyvolt
    wrote on last edited by
    #1

    Hello to all!
    When i run Terminal Example from Qt Creator it is connecting to COM port but there is no data in console, its empty.
    I can see data from this COM port in Putty or other terminal program, but not in Terminal Example delivered by Qt.

    Can you help me?
    Feel free to ask any questions))

    raven-worxR 1 Reply Last reply
    0
    • M Millyvolt

      Hello to all!
      When i run Terminal Example from Qt Creator it is connecting to COM port but there is no data in console, its empty.
      I can see data from this COM port in Putty or other terminal program, but not in Terminal Example delivered by Qt.

      Can you help me?
      Feel free to ask any questions))

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @millyvolt said in Terminal Example doesn't showing any data.:

      I can see data from this COM port in Putty or other terminal program, but not in Terminal Example delivered by Qt.

      are you trying to connect to a UNIX/LINUX terminal over a serial connection?
      That wont work, since the data sent by such terminals is way more complex than just bidirectional raw text.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      M 1 Reply Last reply
      1
      • raven-worxR raven-worx

        @millyvolt said in Terminal Example doesn't showing any data.:

        I can see data from this COM port in Putty or other terminal program, but not in Terminal Example delivered by Qt.

        are you trying to connect to a UNIX/LINUX terminal over a serial connection?
        That wont work, since the data sent by such terminals is way more complex than just bidirectional raw text.

        M Offline
        M Offline
        Millyvolt
        wrote on last edited by Millyvolt
        #3

        @raven-worx as i understand QSerialPort library is made for working with serial port, and i working with Qt on Windows so it must working with com port on windows PC.
        But it doesn't.
        I sending text messages from STM32 with UART-USB module to PC COM port, other terminals except Qt Terminal Example can read this text messages.
        Qt is powerful framework, what do i need to do to make it work with PC ports like a usual terminal program?)

        raven-worxR 1 Reply Last reply
        0
        • K Offline
          K Offline
          kuzulis
          Qt Champions 2020
          wrote on last edited by
          #4

          what do i need to do make it work with PC ports like a usual terminal program?)

          At least, read this: https://bugreports.qt.io/browse/QTBUG-78086

          1 Reply Last reply
          1
          • M Millyvolt

            @raven-worx as i understand QSerialPort library is made for working with serial port, and i working with Qt on Windows so it must working with com port on windows PC.
            But it doesn't.
            I sending text messages from STM32 with UART-USB module to PC COM port, other terminals except Qt Terminal Example can read this text messages.
            Qt is powerful framework, what do i need to do to make it work with PC ports like a usual terminal program?)

            raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by
            #5

            @millyvolt said in Terminal Example doesn't showing any data.:

            @raven-worx as i understand QSerialPort library is made for working with serial port, and i working with Qt on Windows so it must working with com port on windows PC.

            i never said that it wont work, i just said it wont work out of the box in case you are trying to connect to a terminal. its still not clear for me if you are trying to connect to a shell terminal or just want to communicate with "arbitrary" data sent over the port.

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            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