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. How to create your own streams
Forum Updated to NodeBB v4.3 + New Features

How to create your own streams

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 915 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #1

    lets say that i have a function that ricieves input stream void get_data(istream & in){}
    and i want to create a stream to read from
    serial port and that stream calls one function "read_serial()" suppose read_serial() already defined
    and another one to read only from one specific array array like int x[50];

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Please, do use some punctuation. It's almost impossible to understand you right now.

      You can communicate with serial ports using QtSerialPort module. It's built into Qt 5.1, and can be easily installed for earlier versions (Qt 4 > 4.7, all Qt5 releases to date).

      (Z(:^

      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