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. Command line reader async example
Qt 6.11 is out! See what's new in the release blog

Command line reader async example

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 3.4k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by
      #2

      try to re-open the project again

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          @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?

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @kuzulis : Sir your suggestion didnt work

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              @ 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"

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                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
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  @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??

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    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
                    0

                    • Login

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