Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
13.9k Topics 61.7k Posts
  • Qml Video not GPU accelerated on Raspberry Pi CM4

    Unsolved
    2
    0 Votes
    2 Posts
    110 Views
    JoeCFDJ

    @Farias I guess Qt5 uses gstreamer and might have only a playbin in it. It may not handle hardware acceleration. Maybe try Qt6 for luck. Or write your own pipeline to make HW acceleration.

  • Get Keyboard height in android

    Unsolved
    6
    0 Votes
    6 Posts
    952 Views
    A

    The height is in native scale. It is required to devide it by devicePixelRatio:

    Qt.inputMethod.keyboardRectangle.height / Screen.devicePixelRatio
  • 0 Votes
    15 Posts
    1k 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
    437 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")

  • 0 Votes
    4 Posts
    153 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 ?

  • QLineEdit in Android - no text visual

    Unsolved
    7
    1 Votes
    7 Posts
    331 Views
    Axel SpoerlA

    Please boil it down to a simple reproducer that has no more than a few lines.

    The reproducer is missing in the ticket.
    Please add an archive, that can be downloaded, compiled, deployed and run out of the box.

  • Android: No signature found in package of version 2 or newer

    Unsolved
    3
    0 Votes
    3 Posts
    348 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.png

  • how to pack translation file to android apk

    Unsolved
    4
    0 Votes
    4 Posts
    163 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
    156 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
    13k 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
    1k 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
    67 Views
    No one has replied
  • Using translations in boot2qt

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

    Unsolved
    3
    0 Votes
    3 Posts
    146 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
    1
    0 Votes
    1 Posts
    110 Views
    No one has replied
  • qt ui do not show in android

    Unsolved
    5
    0 Votes
    5 Posts
    183 Views
    O

    thanks. now it works

  • 0 Votes
    4 Posts
    196 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
    122 Views
    No one has replied
  • Video streaming seems not work in android qt6 qgc

    Unsolved
    1
    0 Votes
    1 Posts
    85 Views
    No one has replied