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. QT & QML Compass
Forum Updated to NodeBB v4.3 + New Features

QT & QML Compass

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 3 Posters 1.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.
  • B Offline
    B Offline
    BTSTOnline
    wrote on last edited by
    #1

    I have been trying to include an AR view in my application for iOS and Android. When using at QT or QML compass component, I get very good readings from an iOS device. However, on Android, I get readings that appear to be updating at about 100hz, and/or I get negative readings.

    Anyone using Compass on Android? If so, how do you have it working?

    --Sam

    raven-worxR 1 Reply Last reply
    0
    • M Offline
      M Offline
      Miky
      wrote on last edited by
      #2

      How did you solved it ? Any code snipptes?

      1 Reply Last reply
      0
      • B BTSTOnline

        I have been trying to include an AR view in my application for iOS and Android. When using at QT or QML compass component, I get very good readings from an iOS device. However, on Android, I get readings that appear to be updating at about 100hz, and/or I get negative readings.

        Anyone using Compass on Android? If so, how do you have it working?

        --Sam

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by raven-worx
        #3

        @BTSTOnline
        what Qt version are you using?
        also see this: https://www.kdab.com/qt-sensors-just-got-better-on-android/

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • B Offline
          B Offline
          BTSTOnline
          wrote on last edited by
          #4

          QT Creator 4.9.1
          - Qt 5.12.3 (Clang 10.0 (Apple), 64 bit)
          0_1562586024878_Screen Shot 2019-07-08 at 6.39.19 AM.png

          raven-worxR 1 Reply Last reply
          0
          • B BTSTOnline

            QT Creator 4.9.1
            - Qt 5.12.3 (Clang 10.0 (Apple), 64 bit)
            0_1562586024878_Screen Shot 2019-07-08 at 6.39.19 AM.png

            raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by
            #5

            @BTSTOnline
            that is the Qt version QtCreator was built with, not the Qt kit you are using in your application.

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            0
            • B Offline
              B Offline
              BTSTOnline
              wrote on last edited by
              #6

              Apologies, @raven-worx. I'm a bit confused about what info you exactly want. Does this help?

              0_1562591569430_Screen Shot 2019-07-08 at 8.12.38 AM.png

              raven-worxR 1 Reply Last reply
              0
              • B BTSTOnline

                Apologies, @raven-worx. I'm a bit confused about what info you exactly want. Does this help?

                0_1562591569430_Screen Shot 2019-07-08 at 8.12.38 AM.png

                raven-worxR Offline
                raven-worxR Offline
                raven-worx
                Moderators
                wrote on last edited by
                #7

                @BTSTOnline
                yes thats the info i requested.
                But anyway you should try with Qt 5.14 since the QtSensors backend was rewritten as in the link stated i've posted

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                1
                • B Offline
                  B Offline
                  BTSTOnline
                  wrote on last edited by
                  #8

                  Will do. Looks like the Beta1 won't be released until mid-September.
                  Thanks for the info.

                  raven-worxR 1 Reply Last reply
                  0
                  • B BTSTOnline

                    Will do. Looks like the Beta1 won't be released until mid-September.
                    Thanks for the info.

                    raven-worxR Offline
                    raven-worxR Offline
                    raven-worx
                    Moderators
                    wrote on last edited by raven-worx
                    #9

                    @BTSTOnline
                    yes, you would have to build Qt for android yourself from the sources if you want to test it now

                    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                    If you have a question please use the forum so others can benefit from the solution in the future

                    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