BT on Windows Desktop
-
You need MSVC (Visual Studio) installed.
-
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
-
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 :-)
-
Hi, now I'm in this situation:
What am I missing to be able to compile for android?
Thanks. -
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.
-
I'm sorry if I didn't answered you.
It is that I have not yet found the time to deepen this theme. -
Now I'm in this situation:
What can I do?
-
Is the SDK manager tab active (bottom of the screen)? You can probably use it to download missing packages.
-
Yesssss, almost there.
Now I've this screen:
Developer mode and debug USB in smartphone are active.
What missing? -
@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!
-
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
-
No idea?
I tried with Shaomi mi9t too but result is the same :(