Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. "Supported" solution to enumerate and use serial ports
QtWS25 Last Chance

"Supported" solution to enumerate and use serial ports

Scheduled Pinned Locked Moved 3rd Party Software
9 Posts 4 Posters 7.6k 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.
  • R Offline
    R Offline
    RazZziel
    wrote on last edited by
    #1

    Hello, I'm using Qt for industrial applications, and serial port communications are one of the most important parts of our software.

    Qt4 doesn't seem to have an "official" or "supported" library for this, so I resorted to qextserialport (http://code.google.com/p/qextserialport/), which seems to work fairly well so far. However, the project seems stalled (Last commit was in Frebruary 2010) and it starts so show some age: i.e. it fails to compile out of the box on Windows when using a Qt library installed from one of the new QtSDK packages, as qextserialport uses internal Qt4 headers, and the source directory has changed in the QtSDK packages.

    I'm also worried about the portability of QtSDK. Will it work on all the platforms Qt4 supports? I'm planning ports of our software for Linux Embedded and WindowsCE, and finding qextserialport doesn't work there would be a huge issue.

    In short: are there plans to merge qextserialport into mainstream Qt4, and/or is there any "supported" alternative that will work anywhere Qt4 does?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      morinehtar0
      wrote on last edited by
      #2

      I can confirm it works absolutely fine on linux-embedded, although I am using an older version of QExtSerialPort.

      And of course you could always use the source-code...

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RazZziel
        wrote on last edited by
        #3

        Cool, I think now I can rest at ease :)

        BTW, has anyone tried it on Windows CE? And why not, QNX?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          I have used a real old version on Windows CE 5. Unfortunately, there are major differences for the API between the implementation for CE and desktop windows.

          I am not aware if the updated versions have addressed these issues.

          Vote the answer(s) that helped you to solve your issue(s)

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

            Hi all.

            I have good news for people who need a library that supports the serial ports.
            I recently suggested that the library QSerialDevice 2.0:
            https://gitorious.org/qserialdevice/qserialdevice/trees/2.0
            as a supplement (addon) to Qt. Programmers from Nokia has kindly agreed to take it.
            Of course, if all goes well, and Nokia will not forget about my suggestion - that the library will be part of Qt. :)

            Of course, much will have to modify and hold a deep refactoring. Currently it supports Windows, WinCE, GNU / Linux, MacOSX, other * nix, partialy Symbian.

            We need help to develop. So who is interested - please help the project. At the moment, an urgent need for implementation for Symbian.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              RazZziel
              wrote on last edited by
              #6

              That's awesome :D

              1 Reply Last reply
              0
              • K Offline
                K Offline
                koahnig
                wrote on last edited by
                #7

                [quote author="kuzulis" date="1323697198"]Hi all.

                I have good news for people who need a library that supports the serial ports.
                I recently suggested that the library QSerialDevice 2.0:
                https://gitorious.org/qserialdevice/qserialdevice/trees/2.0
                as a supplement (addon) to Qt. Programmers from Nokia has kindly agreed to take it.
                Of course, if all goes well, and Nokia will not forget about my suggestion - that the library will be part of Qt. :)

                Of course, much will have to modify and hold a deep refactoring. Currently it supports Windows, WinCE, GNU / Linux, MacOSX, other * nix, partialy Symbian.

                We need help to develop. So who is interested - please help the project. At the moment, an urgent need for implementation for Symbian.

                [/quote]

                Possibly you shall have a look to this "thread ":http://developer.qt.nokia.com/forums/viewthread/11683/
                There are a couple of issues not completely understood.

                Vote the answer(s) that helped you to solve your issue(s)

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

                  [quote]
                  Possibly you shall have a look to this thread [developer.qt.nokia.com]
                  There are a couple of issues not completely understood.
                  [/quote]
                  I saw this topic.
                  And I'm the man answered the mail, so he checked in debugger. I do not have these problems, not reproduce.

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

                    Hi All.

                    At last!
                    The Nokia cloning repository QSerialDevice 2.0 to codereview.qt-project.org

                    Now the whole development will be there.

                    Developers can get a clone of this:
                    $ git clone ssh://codereview.qt-project.org:29418/playground/qtserialport.git

                    We ask all interested to take part in the development of the project.

                    More
                    "this":http://wiki.qt-project.org/Code_Reviews
                    and
                    "this":http://wiki.qt-project.org/Setting_up_Gerrit

                    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