Qt Forum

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

    Unsolved unknown modules serialport android 5.12

    Mobile and Embedded
    5
    8
    769
    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.
    • B
      behopibraun last edited by

      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.Hilk 1 Reply Last reply Reply Quote 0
      • J.Hilk
        J.Hilk Moderators @behopibraun last edited by J.Hilk

        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

        Qt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121


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

        1 Reply Last reply Reply Quote 3
        • B
          behopibraun last edited by behopibraun

          Thank you for you reply.

          J.Hilk 1 Reply Last reply Reply Quote 0
          • J.Hilk
            J.Hilk Moderators @behopibraun last edited by J.Hilk

            @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

            Qt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121


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

            1 Reply Last reply Reply Quote 0
            • aha_1980
              aha_1980 Lifetime Qt Champion last edited by 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.

              Qt has to stay free or it will die.

              B 1 Reply Last reply Reply Quote 3
              • B
                behopibraun @aha_1980 last edited by

                @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 Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  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 Reply Quote 2
                  • N
                    namduc last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post