Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. BT on Windows Desktop
Forum Updated to NodeBB v4.3 + New Features

BT on Windows Desktop

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 3 Posters 1.0k Views 2 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.
  • sierdzioS sierdzio

    You need MSVC (Visual Studio) installed.

    S Offline
    S Offline
    Stefanoxjx
    wrote on last edited by
    #5

    If I wanted to develop for android, is this class mature enough?
    Exist an updated guide to configure QtCreator for Android?
    I tried various guide, but all old.
    Thanks.

    Stefano

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #6

      Yes Qt and Bluetooth (also BLE) work on Android. Various phones have their quirks, but most of the time it works.

      Guide: there were recently some changes in Qt Creator so I'm not sure what't the best/ suggested approach.

      But in general, do this:

      • use Qt 5.15 (or 5.14 as a minimum)
      • install newest Android Studio
      • in Android SDK settings, download newest Android NDK
      • open Qt creator and point it to where your Android SDK and NDK are located
      • also point it to your Java installation
      • it should work :-)

      (Z(:^

      1 Reply Last reply
      3
      • S Offline
        S Offline
        Stefanoxjx
        wrote on last edited by Stefanoxjx
        #7

        Hi, now I'm in this situation:
        c9b92eeb-a0bc-4fd4-8db1-38fdcefd1743-image.png
        What am I missing to be able to compile for android?
        Thanks.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #8

          That looks weird. It says that config is OK, but does not provide SDK version nor NDK version. Make sure your SDK location and NDK location are correct.

          (Z(:^

          1 Reply Last reply
          1
          • S Offline
            S Offline
            Stefanoxjx
            wrote on last edited by
            #9

            I'm sorry if I didn't answered you.
            It is that I have not yet found the time to deepen this theme.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Stefanoxjx
              wrote on last edited by
              #10

              Now I'm in this situation:
              1d63e5d6-e5e2-4b17-8e58-1babf1a35186-image.png

              What can I do?

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #11

                Is the SDK manager tab active (bottom of the screen)? You can probably use it to download missing packages.

                (Z(:^

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Stefanoxjx
                  wrote on last edited by
                  #12

                  Yesssss, almost there.
                  Now I've this screen:
                  15c87f64-6368-4527-9f3a-e4e01086bac7-image.png

                  Developer mode and debug USB in smartphone are active.
                  What missing?

                  J.HilkJ 1 Reply Last reply
                  0
                  • S Stefanoxjx

                    Yesssss, almost there.
                    Now I've this screen:
                    15c87f64-6368-4527-9f3a-e4e01086bac7-image.png

                    Developer mode and debug USB in smartphone are active.
                    What missing?

                    J.HilkJ Online
                    J.HilkJ Online
                    J.Hilk
                    Moderators
                    wrote on last edited by
                    #13

                    @Stefanoxjx are the drivers installed? do you see it in windows explorer as a drive?

                    And what device is it, there are where debugging is not possible!


                    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
                    • S Offline
                      S Offline
                      Stefanoxjx
                      wrote on last edited by
                      #14

                      I'm using linux.
                      If I select "Charge only", in system message I see:

                      [27344.312950] usb 1-6.3: new high-speed USB device number 14 using xhci_hcd
                      [27344.413664] usb 1-6.3: New USB device found, idVendor=12d1, idProduct=107e, bcdDevice= 2.99
                      [27344.413669] usb 1-6.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                      [27344.413671] usb 1-6.3: Product: WAS-LX1A
                      [27344.413674] usb 1-6.3: Manufacturer: HUAWEI
                      [27344.413676] usb 1-6.3: SerialNumber: 2XJDU17829010731
                      [27344.422881] usb-storage 1-6.3:1.1: USB Mass Storage device detected
                      [27344.423396] scsi host6: usb-storage 1-6.3:1.1
                      [27345.453849] scsi 6:0:0:0: CD-ROM            Linux    File-CD Gadget   0404 PQ: 0 ANSI: 2
                      [27345.456329] sr 6:0:0:0: Power-on or device reset occurred
                      [27345.457413] sr 6:0:0:0: [sr1] scsi-1 drive
                      [27345.481527] sr 6:0:0:0: Attached scsi CD-ROM sr1
                      [27345.481790] sr 6:0:0:0: Attached scsi generic sg5 type 5
                      
                      

                      If I select "File Transfer", i see:

                      [27427.007868] usb 1-6.4: new high-speed USB device number 15 using xhci_hcd
                      [27427.109052] usb 1-6.4: New USB device found, idVendor=12d1, idProduct=107e, bcdDevice= 2.99
                      [27427.109057] usb 1-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                      [27427.109060] usb 1-6.4: Product: WAS-LX1A
                      [27427.109063] usb 1-6.4: Manufacturer: HUAWEI
                      [27427.109065] usb 1-6.4: SerialNumber: 2XJDU17829010731
                      [27427.118244] usb-storage 1-6.4:1.1: USB Mass Storage device detected
                      [27427.118678] scsi host6: usb-storage 1-6.4:1.1
                      [27428.140662] scsi 6:0:0:0: CD-ROM            Linux    File-CD Gadget   0404 PQ: 0 ANSI: 2
                      [27428.141512] sr 6:0:0:0: Power-on or device reset occurred
                      [27428.142294] sr 6:0:0:0: [sr1] scsi-1 drive
                      [27428.156111] sr 6:0:0:0: Attached scsi CD-ROM sr1
                      [27428.156221] sr 6:0:0:0: Attached scsi generic sg5 type 5
                      [27429.531820] usb 1-6.4: USB disconnect, device number 15
                      [27429.875838] usb 1-6.4: new high-speed USB device number 16 using xhci_hcd
                      [27429.977136] usb 1-6.4: New USB device found, idVendor=12d1, idProduct=107e, bcdDevice= 2.99
                      [27429.977141] usb 1-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                      [27429.977145] usb 1-6.4: Product: WAS-LX1A
                      [27429.977147] usb 1-6.4: Manufacturer: HUAWEI
                      [27429.977149] usb 1-6.4: SerialNumber: 2XJDU17829010731
                      [27429.986290] usb-storage 1-6.4:1.1: USB Mass Storage device detected
                      [27429.986744] scsi host6: usb-storage 1-6.4:1.1
                      [27430.988763] scsi 6:0:0:0: CD-ROM            Linux    File-CD Gadget   0404 PQ: 0 ANSI: 2
                      [27430.989606] sr 6:0:0:0: Power-on or device reset occurred
                      [27430.990087] sr 6:0:0:0: [sr1] scsi-1 drive
                      [27431.004077] sr 6:0:0:0: Attached scsi CD-ROM sr1
                      [27431.004193] sr 6:0:0:0: Attached scsi generic sg5 type 5
                      
                      
                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Stefanoxjx
                        wrote on last edited by
                        #15

                        No idea?
                        I tried with Shaomi mi9t too but result is the same :(

                        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