Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.5k Posts
  • Get Keyboard height in android

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    A
    The height is in native scale. It is required to devide it by devicePixelRatio: Qt.inputMethod.keyboardRectangle.height / Screen.devicePixelRatio
  • Qt5 JNI error: java.lang.ClassNotFoundException: Didn't find class ..

    Unsolved
    15
    0 Votes
    15 Posts
    2k Views
    L
    @Ivelin like this install(FILES android/AndroidManifest.xml android/gradle/wrapper/gradle-wrapper.jar android/gradlew android/build.gradle android/gradlew.bat android/gradle/wrapper/gradle-wrapper.properties android/res/values/libs.xml android/src/com/example/ExtendsQtWithNative.java android/src/com/example/ExtendsQtWithJava.java DESTINATION . )
  • QTimer not work

    Unsolved
    11
    0 Votes
    11 Posts
    900 Views
    jsulmJ
    @Faust-Faust said in QTimer not work: I tried the code you suggested and it actually crashes Which proves that the timer is working. This was intended by @Axel-Spoerl , nothing absurd about it. Please read https://doc.qt.io/qt-5/qtglobal.html#qFatal - qFatal will terminate your app ("If you are using the default message handler this function will abort")
  • How to go about opening a PDF in iOS where the PDF is part of the App

    Unsolved
    4
    0 Votes
    4 Posts
    372 Views
    ekkescornerE
    have you tried QDesktopServices (https://doc.qt.io/qt-6/qdesktopservices.html) to open the pdf inside your app with Pdf app outside ?
  • Android: No signature found in package of version 2 or newer

    Unsolved
    3
    0 Votes
    3 Posts
    858 Views
    J.HilkJ
    That's actually independent from Qt version used. Android now requires a signed certificate for remote deployment. Previously you only needed that for deployment in the playstore, but that changed a while ago. I'm not sure if all builds require it, but release builds for sure! @adddeeee in Qt creator, click on project, in the section Build Steps expand the entry Build android APK First entry there should be Application Signature. If you already have a key, link it there and enter your password. If not click on create and follow the steps. [image: 1ba19b8a-32e3-48c8-9250-f468b87f3548.png]
  • how to pack translation file to android apk

    Unsolved
    4
    0 Votes
    4 Posts
    388 Views
    sierdzioS
    It is inside application binary. You can access it using qtc:/ or :/ paths (this will work only in Qt code, not in Java). More info: https://doc.qt.io/qt-6/resources.html
  • tabwidget not redraw well in adroid

    Unsolved
    4
    0 Votes
    4 Posts
    345 Views
    Axel SpoerlA
    That doesn’t help. Post a minimal reproducer please, without using designer.
  • Android app doesn't run

    Solved
    87
    0 Votes
    87 Posts
    23k Views
    KenAppleby 0K
    I have just discovered that you can trigger this problem simply by unchecking: Edit -> Preferences ... -> Build & Run -> "Always deploy project before running it" then making changes and rebuilding the project. Turning this option back on solves the problem - without having to use the sledgehammer of removing the AppData/Roaming/QtProject folder! It makes sense, I suppose, though I believe this was not the case in earlier versions of Qt. I am using QtCreator 14.0.1 on Qt6.7.2.
  • undefined reference to `sm3_digest'

    Unsolved
    26
    0 Votes
    26 Posts
    3k Views
    H
    @jsulm said in undefined reference to `sm3_digest': Are the missing functions part of the gmssl library? Yes, it is part of the library. And the library is constructed using the same compiler.
  • Camera example not working: The camera service is missing

    Unsolved
    1
    0 Votes
    1 Posts
    159 Views
    No one has replied
  • Using translations in boot2qt

    Unsolved
    1
    0 Votes
    1 Posts
    206 Views
    No one has replied
  • IOS: Get the device serial number

    Unsolved
    3
    0 Votes
    3 Posts
    404 Views
    aarelovichA
    @DerReisende said in IOS: Get the device serial number: https://forums.developer.apple.com/forums/thread/723418 Thank you for the information.
  • qt meta-toolchain for rzg2l

    Unsolved rgg2l cross-compiling toolchain yocto qt5
    1
    0 Votes
    1 Posts
    262 Views
    No one has replied
  • qt ui do not show in android

    Unsolved
    5
    0 Votes
    5 Posts
    361 Views
    O
    thanks. now it works
  • Qt 5.15.2 not building my QGround Control project on Android.

    Unsolved
    4
    0 Votes
    4 Posts
    405 Views
    Axel SpoerlA
    It looks like your Android configuration is broken from the start. As your screenshot says, command line tools, platform and essential packages are missing. There is plenty of documentation about how to set it up and it’s also available for Qt 5.15. Start here: https://doc.qt.io/qt-5/android-getting-started.html#android-sdk
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Issue with Running Qt 6.5 Application on ARM Architecture

    Unsolved
    1
    0 Votes
    1 Posts
    262 Views
    No one has replied
  • Video streaming seems not work in android qt6 qgc

    Unsolved
    1
    0 Votes
    1 Posts
    157 Views
    No one has replied
  • Qt Cross-Compilation for Jetson Orin Nx

    Unsolved
    1
    0 Votes
    1 Posts
    279 Views
    No one has replied
  • how to use libusb to detect usb ports in qt

    Unsolved
    3
    0 Votes
    3 Posts
    261 Views
    C
    @sierdzio thank you