Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Made a mistake while using QSerialPort::setPortName(QString) . Please help.
Forum Updated to NodeBB v4.3 + New Features

Made a mistake while using QSerialPort::setPortName(QString) . Please help.

Scheduled Pinned Locked Moved Unsolved Qt 6
3 Posts 2 Posters 365 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.
  • O Offline
    O Offline
    OkLetsGiveItAShot
    wrote on last edited by
    #1

    37056293-867d-49f2-93ce-a77d95e143ea-image.png

    J.HilkJ 1 Reply Last reply
    0
    • O OkLetsGiveItAShot

      37056293-867d-49f2-93ce-a77d95e143ea-image.png

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @OkLetsGiveItAShot Seems like a typical case of:

      "Your serialport instance is not initialised"

      I hope you know how to fix that.

      also please do not post screen shots of your code, use the code tags ``` instead


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • O Offline
        O Offline
        OkLetsGiveItAShot
        wrote on last edited by
        #3

        yup just figured it out. serial = new QSerialPort(). Gave it a last attempt before sleeping . Thank you so much.

        1 Reply Last reply
        1

        • Login

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