All Questions
129
questions
1
vote
0
answers
45
views
How to get absolute path in qml with Android
I am trying to get path of image in qml with Android.
ApplicationWindow {
visible: true
width: 640
height: 480
title: "Android QML App"
Image {
id: name
...
0
votes
0
answers
29
views
Creating single WearOS package with app+widget from Qt5
I'm considering building a WearOS app (for Samsung Galaxy Watch 6). There will be the core app, as well as a widget (accessible by spinning the bezel on the watch)
This was easy on the Tizen ...
-2
votes
1
answer
364
views
Could not determine java version from "N". QT
I wanted to start android developing with QT, but ran into a problem.
Qt version is 5.12.12
Installed offline, didnt turn off anything in installation.
Im running standart project, hello world, here ...
2
votes
3
answers
4k
views
WSL2 - AOSP 11 emulator failed to start because no Qt platform plugin could be initialized (xcb)
I'm trying to build AOSP for android 11 on WSL2 Ubuntu 20 on my x86-64 machine (Intel cpu), the build (for aosp_arm64-eng) was successfull but the emulator won't run on my WSL2.
I've tried applying ...
0
votes
0
answers
569
views
Qt/QML: How to get mobule device battery remaining percentage
Is there a way to get battery remaining percentage value on a mobile device (Android and Linux OSs) with Qt5/QML? Or only via system API? Thanks!
0
votes
0
answers
79
views
Add activity class from subprojects in android
I am building an android project using Qt.
The project consists of several subprojects which handle specific functions.
The subproject do not have android files because the android related files like ...
0
votes
1
answer
217
views
How to turn off predictive text in QLineEdit on Android?
I'm trying to build an app for both android and linux using Qt 5.12. It's necessary to read the current text in QLineEdit every time a character is typed in. On Android 6 device the current text part ...
1
vote
1
answer
405
views
Qt Build for android-19
I'm using Qt 5.15 for creating an application.
The kit for android exists and is set to android-29 and everything works fine. But I have a old device that is running android 4.4.4 so I need to use ...
0
votes
2
answers
103
views
ANDROID: Opening virtual keyboard only when doubleclicked?
Currently, when clicking into TextField or similar where manual input is requred the android virual keyboard pops up automaticaly, is there a way to prevent it and set it only when i manualy double ...
0
votes
1
answer
268
views
QT HID Barcode reader different keystrokes inside textinput then Keys.onPressed
So in summary, I have a barcode reader MC3300 (not relevant) where I have my barcode reading app, and some characters it reads not as they are inside the barcode, its these:
ascii 41 it reads as 32
...
2
votes
1
answer
744
views
QT + Android unable to debug Error: Unable to find dynamic linker breakpoint function
Totally running out of ideas, the situation is depicted along with lots of logs over here: https://forum.qt.io/topic/121687/breakpoints-not-hit-on-android/5
The only reasonable error message within ...
0
votes
1
answer
627
views
QML android application using QtQuick.Shapes, module not found
I have a Qt 5.12.9 qml android application. It works well but I have to "import QtQuick.Shapes 1.12" in a file and with it, at execution I get:
module "QtQuick.Shapes" plugin "...
1
vote
0
answers
962
views
Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK
I am trying to install the mqtt module to android_armv7. To do this, I create a folder named build and run this: ~/Qt/5.12.4/android_armv7/bin/qmake qmake -r ... Unfortunately I recieve this error:
...
0
votes
0
answers
119
views
QtCreator is unable to use the Android kit
I installed android sdk , ndk and emulator in Kubuntu 18.04 and added the following configurations for Android device :
And there were no errors.
Then I added a kit with the following configuration (...
1
vote
0
answers
258
views
Android- Qt - Protobuf: Compiling protobuf with ndk's prebuilt toolchains
I'm currently porting an application written in Qt5 to Android.
I have installed Qt5 through its official installer, along with the AndroidSdk through Android Studio.
I can compile, deploy and ...