Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] Can i use QSerialPort in android?
Forum Updated to NodeBB v4.3 + New Features

[Solved] Can i use QSerialPort in android?

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 4 Posters 2.0k 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.
  • S Offline
    S Offline
    Spike89
    wrote on last edited by
    #1

    When i try to include QSerialport or QtSerialPort i get this error message:

    QtSerialPort: No such file or directory

    If i change Deploy to desktop the errore msg don't show up.
    Pls help what am i doing wrong?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      s.frings74
      wrote on last edited by
      #2

      This class is not implemented for Android, it's simply not supported. But this is on the wishlist for future releases.

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

        This class is currently implemented but root rights are needed, however an alternative implementation using java and jni is currently being explored

        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
        • S Offline
          S Offline
          s.frings74
          wrote on last edited by
          #4

          Oh, thanks for correcting me.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Spike89
            wrote on last edited by
            #5

            Thanks for the info.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              modjo
              wrote on last edited by
              #6

              I have the same problem with qt5.4, if i'm trying to use QT += serialport in my .pro i got :

              @
              erreur : Unknown module(s) in QT: serialport
              @

              in Qt creator when i'm trying to deploy on android. If i choose to deploy on desktop i have no error and i can compile ! Do you have an idea to resolve this ! For information i use qt5.4 32 bits and i'm under ubuntu 14.04 LTS 32.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                modjo
                wrote on last edited by
                #7

                I have the same problem with qt5.4, if i'm trying to use QT += serialport in my .pro i got :

                @
                erreur : Unknown module(s) in QT: serialport
                @

                in Qt creator when i'm trying to deploy on android. If i choose to deploy on desktop i have no error and i can compile ! Do you have an idea to resolve this ! For information i use qt5.4 32 bits and i'm under ubuntu 14.04 LTS 32.

                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