QT wont detecte my new Tablet
-
i just bought a Samsung Galaxy Tab A7 tablet but Qt does not find it... (i have set the tablet in dev mode)
anything i need to install?
It seems that you have installed Qt for Android(ARM) but your Galaxy Tab 3 is x86 - based (check device specs).
-
It seems that you have installed Qt for Android(ARM) but your Galaxy Tab 3 is x86 - based (check device specs).
-
It seems that you have installed Qt for Android(ARM) but your Galaxy Tab 3 is x86 - based (check device specs).
-
@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@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 -
@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 -
@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
@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)
-
@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)
@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-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
- 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 :(
-
- 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 :(
-
@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 etcbut it still compiles fine 🤷♂️
-
@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 etcbut it still compiles fine 🤷♂️
@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 thiswin32: LIBS += -LC:/QMsgPack/build/src/Release/ -lqmsgpack INCLUDEPATH += C:/QMsgPack/build/src/Release DEPENDPATH += C:/QMsgPack/build/src/Release
i get this error
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
-
@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
-
@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
@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 kitAndroid 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 atC:\AndroidSDK
and i also haveC:\Qt