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 wont detecte my new Tablet

QT wont detecte my new Tablet

Scheduled Pinned Locked Moved Solved Mobile and Embedded
15 Posts 3 Posters 1.4k 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.
  • K Offline
    K Offline
    Kris Revi
    wrote on last edited by
    #1

    i just bought a Samsung Galaxy Tab A7 tablet but Qt does not find it... (i have set the tablet in dev mode)

    alt text

    anything i need to install?

    alt text

    Pl45m4P 1 Reply Last reply
    0
    • K Kris Revi

      i just bought a Samsung Galaxy Tab A7 tablet but Qt does not find it... (i have set the tablet in dev mode)

      alt text

      anything i need to install?

      alt text

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @Kris-Revi

      It seems that you have installed Qt for Android(ARM) but your Galaxy Tab 3 is x86 - based (check device specs).


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      K 2 Replies Last reply
      0
      • Pl45m4P Pl45m4

        @Kris-Revi

        It seems that you have installed Qt for Android(ARM) but your Galaxy Tab 3 is x86 - based (check device specs).

        K Offline
        K Offline
        Kris Revi
        wrote on last edited by
        #3

        @Pl45m4 ignore the SamsungGalaxyTab3 ! it's a virtual i made!!! the device im looking for is Samsung Galaxy Tab A7

        1 Reply Last reply
        0
        • Pl45m4P Pl45m4

          @Kris-Revi

          It seems that you have installed Qt for Android(ARM) but your Galaxy Tab 3 is x86 - based (check device specs).

          K Offline
          K Offline
          Kris Revi
          wrote on last edited by
          #4

          @Pl45m4 this is the specs https://www.gizmochina.com/product/samsung-galaxy-tab-a7-10-4-2020/

          PROCESSOR: Qualcomm SM6115 Snapdragon 662
          RAM: 3 GB
          STORAGE: 32 GB, 64 GB
          DISPLAY: 10.4 inches
          CAMERA: 8 MP
          BATTERY: Li-Po 7040 mAh

          J.HilkJ 1 Reply Last reply
          0
          • K Kris Revi

            @Pl45m4 this is the specs https://www.gizmochina.com/product/samsung-galaxy-tab-a7-10-4-2020/

            PROCESSOR: Qualcomm SM6115 Snapdragon 662
            RAM: 3 GB
            STORAGE: 32 GB, 64 GB
            DISPLAY: 10.4 inches
            CAMERA: 8 MP
            BATTERY: Li-Po 7040 mAh

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

            @Kris-Revi can you access it via windows directly? as in, is it shown as a device? What permission did you set to the USB connection (on android)

            also be aware, that Samsung devices are notorious for not working well with QtCreator, from my experience.
            Especially live debugging(Debugger attached from QtCreator) may very well not be possible at all


            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.

            K 1 Reply Last reply
            1
            • J.HilkJ J.Hilk

              @Kris-Revi can you access it via windows directly? as in, is it shown as a device? What permission did you set to the USB connection (on android)

              also be aware, that Samsung devices are notorious for not working well with QtCreator, from my experience.
              Especially live debugging(Debugger attached from QtCreator) may very well not be possible at all

              K Offline
              K Offline
              Kris Revi
              wrote on last edited by
              #6

              @J-Hilk it shows up fine in windows! the settings on the tablet are

              USB Controlled By :

              • Connected Device
              • This Device (this is selected)

              Use USB For :

              • Transferring Files (this is selected)
              • USB Tethering
              • MIDI
              • Transferring Images
              • Charging Phone Only
              J.HilkJ 1 Reply Last reply
              0
              • K Kris Revi

                @J-Hilk it shows up fine in windows! the settings on the tablet are

                USB Controlled By :

                • Connected Device
                • This Device (this is selected)

                Use USB For :

                • Transferring Files (this is selected)
                • USB Tethering
                • MIDI
                • Transferring Images
                • Charging Phone Only
                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                @Kris-Revi ok, so far so good.

                Just to make sure, in developer options, USB-Debugging is enabled ?

                Have you selected the correct (fitting) kit in QtCreator?

                What android version is running on your tablet?

                Do you have something else open, that good hook the connection to the device ? Like Android Studio

                try a different USB-Cable and/or port (I'm stretching it here, but it was the case for me recently)


                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.

                K 1 Reply Last reply
                0
                • J.HilkJ J.Hilk

                  @Kris-Revi ok, so far so good.

                  Just to make sure, in developer options, USB-Debugging is enabled ?

                  Have you selected the correct (fitting) kit in QtCreator?

                  What android version is running on your tablet?

                  Do you have something else open, that good hook the connection to the device ? Like Android Studio

                  try a different USB-Cable and/or port (I'm stretching it here, but it was the case for me recently)

                  K Offline
                  K Offline
                  Kris Revi
                  wrote on last edited by
                  #8

                  @J-Hilk

                  • USB-Debugging is enabled!
                  • kit used is (Android Qt 6.2.0 Clang x86)
                  • Tablet running Knox 3.7
                  • i only have Qt Open! i opted to only install the The Android Command-line SDK Tools and install everything needed!
                  • i've only tested the 1 free USB i have xD
                  J.HilkJ 1 Reply Last reply
                  0
                  • K Kris Revi

                    @J-Hilk

                    • USB-Debugging is enabled!
                    • kit used is (Android Qt 6.2.0 Clang x86)
                    • Tablet running Knox 3.7
                    • i only have Qt Open! i opted to only install the The Android Command-line SDK Tools and install everything needed!
                    • i've only tested the 1 free USB i have xD
                    J.HilkJ Offline
                    J.HilkJ Offline
                    J.Hilk
                    Moderators
                    wrote on last edited by J.Hilk
                    #9

                    @Kris-Revi

                    • kit used is (Android Qt 6.2.0 Clang x86)

                    this could be the problem, I think its armv7 what you need to install and use, but using Multi-Abi should work no matter what

                    • Tablet running Knox 3.7

                    Correct me, if I'm wrong here, but Knox is a layer on top of android, designed by Samsung for "Company Security" stuff, right ? maybe it doesn't allow usb developing ?

                    I have no idea :(


                    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.

                    K 1 Reply Last reply
                    1
                    • J.HilkJ J.Hilk

                      @Kris-Revi

                      • kit used is (Android Qt 6.2.0 Clang x86)

                      this could be the problem, I think its armv7 what you need to install and use, but using Multi-Abi should work no matter what

                      • Tablet running Knox 3.7

                      Correct me, if I'm wrong here, but Knox is a layer on top of android, designed by Samsung for "Company Security" stuff, right ? maybe it doesn't allow usb developing ?

                      I have no idea :(

                      K Offline
                      K Offline
                      Kris Revi
                      wrote on last edited by
                      #10

                      @J-Hilk got it "working" :S with this error

                      724367c1-a900-4eaf-8842-9cae225bfb3e-image.png

                      J.HilkJ 1 Reply Last reply
                      0
                      • K Kris Revi

                        @J-Hilk got it "working" :S with this error

                        724367c1-a900-4eaf-8842-9cae225bfb3e-image.png

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

                        @Kris-Revi try compiling anyway,
                        for what every reason my code model is also completely messed up when I compile for android, with errors and warnings etc

                        but it still compiles fine 🤷‍♂️


                        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.

                        K 1 Reply Last reply
                        0
                        • J.HilkJ J.Hilk

                          @Kris-Revi try compiling anyway,
                          for what every reason my code model is also completely messed up when I compile for android, with errors and warnings etc

                          but it still compiles fine 🤷‍♂️

                          K Offline
                          K Offline
                          Kris Revi
                          wrote on last edited by
                          #12

                          @J-Hilk erh i got an annoying error

                          so i re-installed windows and qt and now my code wont compile

                          im using this -> https://github.com/romixlab/qmsgpack

                          and in my .pro file i have this

                          win32: LIBS += -LC:/QMsgPack/build/src/Release/ -lqmsgpack
                          
                          INCLUDEPATH += C:/QMsgPack/build/src/Release
                          DEPENDPATH += C:/QMsgPack/build/src/Release
                          

                          i get this error
                          alt text

                          other then that it seems to work, i see my tablet in Qt now and can select it! but this error is unknown to me :S

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            Kris Revi
                            wrote on last edited by
                            #13

                            just wanted to say that i got it working perfectly now! :)

                            J.HilkJ 1 Reply Last reply
                            1
                            • K Kris Revi

                              just wanted to say that i got it working perfectly now! :)

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

                              @Kris-Revi Hey congratulations!

                              Do you mind, telling us, what the problem was, so that other users that have similar problems can also solve it :D


                              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.

                              K 1 Reply Last reply
                              1
                              • J.HilkJ J.Hilk

                                @Kris-Revi Hey congratulations!

                                Do you mind, telling us, what the problem was, so that other users that have similar problems can also solve it :D

                                K Offline
                                K Offline
                                Kris Revi
                                wrote on last edited by Kris Revi
                                #15

                                @J-Hilk i removed everything from "Android Studio" and followed this tutorial -> https://doc.qt.io/qt-5/android-getting-started.html

                                and it worked like a charm!

                                currently using Qt Creator 5.0.0 Beta1 and using kit Android 6.2.0 Clang arm64-v8a

                                EDIT:
                                i also followed a tip from another tutorial where they stated that DONT install the android SDK in the default location in the installer! move it to somwhere Qt can find it! so i installed it at C:\AndroidSDK and i also have C:\Qt

                                1 Reply Last reply
                                2

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved