Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Command line reader async example

    General and Desktop
    3
    9
    1586
    Loading More Posts
    • 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.
    • R
      RAVIKUMARJ last edited by

      Hello sir
      I have installed Qt 5.3.2 (GCC 4.6.1, 64 bit) on a linux platform.

      When I try to run the Command line reader async example it is not showing run icon. It is displaying the .pro file "creaderasync.pro" could not be parsed.

      Please anyone help me out to solve this. Its very important for me.

      Thanks in advance.

      Thanks & regards
      Ravikumar J

      1 Reply Last reply Reply Quote 0
      • K
        kuzulis Qt Champions 2020 last edited by

        try to re-open the project again

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          Hi and welcome to devnet,

          Are you by any chance using a Qt Creator version older than 3.0 ? If so you need to update it, since Qt 5.2 the minimum version required is 3.0

          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 Reply Quote 0
          • R
            RAVIKUMARJ last edited by

            @SGaist : Qt creator version is 3.2.1

            Basically my aim is to read serial port values asynchronously. But with the given example in example codes I m not able to run it.

            In General messages section it is giving
            *Project ERROR: Unknown module(s) in QT: serialport *

            Can you help me out please?

            Thanks & regards
            Ravikumar J

            1 Reply Last reply Reply Quote 0
            • R
              RAVIKUMARJ last edited by

              @kuzulis : Sir your suggestion didnt work

              Thanks & regards
              Ravikumar J

              1 Reply Last reply Reply Quote 0
              • R
                RAVIKUMARJ last edited by

                @ SGaist:
                The error message is
                Project ERROR: Unknown module(s) in QT: serialport
                22:53:39: The process "/usr/lib/x86_64-linux-gnu/qt5/bin/qmake" exited with code 3.
                Error while building/deploying project creaderasync (kit: Desktop)
                When executing step "qmake"

                Thanks & regards
                Ravikumar J

                1 Reply Last reply Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  The qtserialport module is part of Qt since a long time so you should check that you installed the corresponding packages on your system

                  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 Reply Quote 0
                  • R
                    RAVIKUMARJ last edited by

                    @SGaist: Sir I checked once again with settings, there was a problem now it is displaying run icon. But in the output message its showing like this
                    Qt5.3.2/Examples/Qt-5.3/serialport/build-creaderasync-Desktop_Qt_5_3_GCC_64bit-Debug/creaderasync exited with code 1

                    What does exited with code 1 means??

                    Thanks & regards
                    Ravikumar J

                    1 Reply Last reply Reply Quote 0
                    • SGaist
                      SGaist Lifetime Qt Champion last edited by

                      That something went wrong, the interesting part is above that line, you should re-read the build panel output to see where it failed exactly

                      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 Reply Quote 0
                      • First post
                        Last post