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. unknown modules serialport android 5.12
Forum Updated to NodeBB v4.3 + New Features

unknown modules serialport android 5.12

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
8 Posts 5 Posters 1.3k 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.
  • B Offline
    B Offline
    behopibraun
    wrote on last edited by
    #1

    Hello.

    I have an application that uses QtSerialPort module. It was working on framework version 5.11.3 but, with 5.12, QtSerialPort is not present (checked both framework folders and on folder /opt/Qt/5.11.3/android_armv7/include there is a folder QtSerialPort and on folder /opt/Qt/5.12.0/android_armv7/include/ no QtSerialPort folder found).

    Why was it removed from 5.12?

    Will it be available again in 5.12.1?

    How can I make it work again with 5.12?

    Thank you for your time.

    J.HilkJ 1 Reply Last reply
    0
    • B behopibraun

      Hello.

      I have an application that uses QtSerialPort module. It was working on framework version 5.11.3 but, with 5.12, QtSerialPort is not present (checked both framework folders and on folder /opt/Qt/5.11.3/android_armv7/include there is a folder QtSerialPort and on folder /opt/Qt/5.12.0/android_armv7/include/ no QtSerialPort folder found).

      Why was it removed from 5.12?

      Will it be available again in 5.12.1?

      How can I make it work again with 5.12?

      Thank you for your time.

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by J.Hilk
      #2

      hi @behopibraun and welcome,

      To be honest, I'm surprised it was included in 5.11 in the first place.

      Officially the Qt Serial Port model is not supported for android and iOS:

      doc.qt.io/qt-5/qtmodules.html

      This is something you should rather take to the mailing list
      https://lists.qt-project.org

      that's where you'll find people actively working on the framework, this is a more of a user orientated forum


      or the bugreport-dashboard, that's not only for bug reports but also for feature requests.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      3
      • B Offline
        B Offline
        behopibraun
        wrote on last edited by behopibraun
        #3

        Thank you for you reply.

        J.HilkJ 1 Reply Last reply
        0
        • B behopibraun

          Thank you for you reply.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by J.Hilk
          #4

          @behopibraun
          sorry, that was a copy and paste error,
          I fixed the links


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0
          • aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by aha_1980
            #5
            commit 25651536583ec4a138df2efb825b6a61969c4993
            Author: Tony Sarajärvi <tony.sarajarvi@qt.io>
            Date:   Thu Aug 2 14:26:58 2018 +0300
            
                Skip qtserialport in Android builds
                
                Qtserialport won't work without rooted Androids anyways.
                
                Task-number: QTBUG-69727
                Change-Id: I9a14a8e880d8e238a7f75ce12ca805c5af476407
                Reviewed-by: BogDan Vatra <bogdan@kdab.com>
            

            https://bugreports.qt.io/browse/QTBUG-69727

            Unfortunately, this was not noted in the ChangeLog.

            Qt has to stay free or it will die.

            B 1 Reply Last reply
            3
            • aha_1980A aha_1980
              commit 25651536583ec4a138df2efb825b6a61969c4993
              Author: Tony Sarajärvi <tony.sarajarvi@qt.io>
              Date:   Thu Aug 2 14:26:58 2018 +0300
              
                  Skip qtserialport in Android builds
                  
                  Qtserialport won't work without rooted Androids anyways.
                  
                  Task-number: QTBUG-69727
                  Change-Id: I9a14a8e880d8e238a7f75ce12ca805c5af476407
                  Reviewed-by: BogDan Vatra <bogdan@kdab.com>
              

              https://bugreports.qt.io/browse/QTBUG-69727

              Unfortunately, this was not noted in the ChangeLog.

              B Offline
              B Offline
              behopibraun
              wrote on last edited by
              #6

              @aha_1980 Thank you.

              Can I compile this specific module and include it to my project? If yes, how? I'm using linux.

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

                Hi,

                If you really want to do that, then revert what that patch did. However, as already noted, it is mandatory to have a rooted device for the serial port to work.

                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
                2
                • N Offline
                  N Offline
                  namduc
                  wrote on last edited by
                  #8

                  Hi everyone!
                  I am also having the same problem, does anyone have a solution for this problem?
                  Thanks for all!!!

                  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