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. Unable to read from QSerialPort using MSVC compiler
QtWS25 Last Chance

Unable to read from QSerialPort using MSVC compiler

Scheduled Pinned Locked Moved Solved General and Desktop
qserialportmingwmsvcread serial
25 Posts 5 Posters 3.7k 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.
  • T Turi
    24 Nov 2021, 14:46

    @J-Hilk
    I'm using:

    • Qt Creator 4.9.0
    • Based on Qt 5.12.2 (MSVC 2017, 32 bit)
    • Windows 10 Enterprise

    Unfortunately I can't show more of my actually class due to the fact that is reserved code.

    J Offline
    J Offline
    jsulm
    Lifetime Qt Champion
    wrote on 24 Nov 2021, 14:48 last edited by
    #16

    @Turi said in Unable to read from QSerialPort using MSVC compiler:

    Based on Qt 5.12.2 (MSVC 2017, 32 bit)

    This is the Qt version which was used to build QtCreator.
    What Qt version do you use?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Turi
      wrote on 24 Nov 2021, 14:57 last edited by
      #17

      Qt 5.12.3
      MinGW 7.3.0 32-bit
      MSVC 2017 32-bit

      J 1 Reply Last reply 24 Nov 2021, 14:59
      0
      • T Turi
        24 Nov 2021, 14:57

        Qt 5.12.3
        MinGW 7.3.0 32-bit
        MSVC 2017 32-bit

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 24 Nov 2021, 14:59 last edited by
        #18

        @Turi Can you try with 5.15.2?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        T 1 Reply Last reply 24 Nov 2021, 15:10
        0
        • J jsulm
          24 Nov 2021, 14:59

          @Turi Can you try with 5.15.2?

          T Offline
          T Offline
          Turi
          wrote on 24 Nov 2021, 15:10 last edited by
          #19

          @jsulm
          Can you pass me a link where I can download this version?

          J 1 Reply Last reply 24 Nov 2021, 15:56
          0
          • T Offline
            T Offline
            Turi
            wrote on 24 Nov 2021, 15:53 last edited by
            #20

            I tried with Qt 5.12.2 but not work.

            J 1 Reply Last reply 24 Nov 2021, 15:56
            0
            • T Turi
              24 Nov 2021, 15:10

              @jsulm
              Can you pass me a link where I can download this version?

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 24 Nov 2021, 15:56 last edited by
              #21

              @Turi said in Unable to read from QSerialPort using MSVC compiler:

              Can you pass me a link where I can download this version?

              Use the Qt Maintenance Tool to add that Qt version to your installation.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • T Turi
                24 Nov 2021, 15:53

                I tried with Qt 5.12.2 but not work.

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 24 Nov 2021, 15:56 last edited by
                #22

                @Turi said in Unable to read from QSerialPort using MSVC compiler:

                I tried with Qt 5.12.2 but not work.

                I seggested 5.15.2, not 5.12.2

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                T 1 Reply Last reply 24 Nov 2021, 16:38
                0
                • J jsulm
                  24 Nov 2021, 15:56

                  @Turi said in Unable to read from QSerialPort using MSVC compiler:

                  I tried with Qt 5.12.2 but not work.

                  I seggested 5.15.2, not 5.12.2

                  T Offline
                  T Offline
                  Turi
                  wrote on 24 Nov 2021, 16:38 last edited by
                  #23

                  @jsulm Sorry, my bad. With Qt 5.15.2 my application works fine. Thank you.
                  So, is this a bug of older versions?

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 24 Nov 2021, 19:18 last edited by
                    #24

                    There was a bug with QSerialPort on Windows but IIRC it has been also fixed for the 5.12 series if you really need it. But you have to update to the latest release of that series.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    3
                    • C Offline
                      C Offline
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on 25 Nov 2021, 06:09 last edited by
                      #25

                      Here the bug report for this issue: https://bugreports.qt.io/browse/QTBUG-78086

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      1 Reply Last reply
                      3

                      25/25

                      25 Nov 2021, 06:09

                      • Login

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