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
  • 0 Votes
    1 Posts
    101 Views
    No one has replied
  • sdk cant be found in qt

    Unsolved
    4
    0 Votes
    4 Posts
    283 Views
    ekkescornerE
    easiest way is to use an empty folder for 'Android SDK Location' and hit 'Set Up SDK'. QtCreator will download all what's needed
  • Qt 5.15.2 on iOS no longer builds

    Unsolved
    3
    0 Votes
    3 Posts
    341 Views
    J
    @Axel-Spoerl Thanks, this is very helpful. I have been putting off the upgrade to 6, so time to just get it done.
  • QtMultimedia backend setup

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    SGaistS
    One other option is to rebuild the ffmpeg backend (just it) with your system provided librairies.
  • 2D performance hit when upgrading runtime environment from 5.8 to 5.15

    Unsolved yocto performance imx6
    8
    0 Votes
    8 Posts
    973 Views
    Axel SpoerlA
    There is nothing general in the docs, that would say: This is faster, because…. Qt 6 follows a general trend: Use more caching for the sake of speed. There were some optimisations in container classes and string views. We fixed a mem leak in the Quick pixmap cache. The downside of more caching, in other words higher memory consumption, is that older memory constrained setups (mainly embedded) need to swap out and actually become slower. But I guess that’s not a Qt specific phenomenon. All frameworks and other tools I use on a daily basis, have increased their appetite for memory as RAM becomes cheaper and larger.
  • catch Android back button from navigation bar

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    S
    Solution found... in android manifest, in <application> i must deactivate enableOnBackInvokedCallback, so correct is: android:enableOnBackInvokedCallback="false" from this point, all works as expected seems as new thing from android 13 according to google search
  • The latest version of QT6 has a bug

    Unsolved
    4
    0 Votes
    4 Posts
    365 Views
    Axel SpoerlA
    Before you file a bug report: Can you boil this down to a simple reproducer? I am asking, because I can't help the feeling that the issue is caused by the application. The crash happens, when the input connection dies, before the delayed restart is executed. That shouldn't be the case under normal circumstances. => Is there a Qt version where this didn't happen? Even if there is, a small change in event processing can uncover this issue.
  • no popups when Virtual Keyboard is included on RPI4

    Unsolved
    2
    0 Votes
    2 Posts
    326 Views
    R
    Hello, I ran into the same log error messages, when handling a ComboBox in a Qt program running on a custom Compositor. @ulmstefan any outcome to this?
  • Error in "install_target" when cross compiling Qt 5.15.14 for Android on Windows 11

    Unsolved
    1
    0 Votes
    1 Posts
    149 Views
    No one has replied
  • FireBase and Qt6

    Unsolved
    27
    0 Votes
    27 Posts
    3k Views
    J
    After doing some research, I was able to integrate QtFirebase into my Qt Android application, but I am encountering the RunTime issue below. I have tried various solutions, but the issue still persists. I am encountering a runtime issue with my Android project using Qt and Firebase. Upon attempting to launch the app, it crashes with the following error: `W Zygote : Unable to open libbeluga.so: dlopen failed: library "libbeluga.so" not found. E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.croyance.messenger/com.croyance.messenger.Main}: java.lang.ClassNotFoundException: Didn't find class "com.croyance.messenger.Main" on path: DexPathList... The full logs can be found below. It seems that both the libbeluga.so native library and the Main activity are missing from the APK, which causes the application to fail at runtime. Additionally, there are several warnings related to Firebase initialization and some ANR (Application Not Responding) logs, which may be relevant. `W Zygote : Unable to open libbeluga.so: dlopen failed: library "libbeluga.so" not found. I libc : SetHeapTaggingLevel: tag level set to 0 I yance.messenge: Late-enabling -Xcheck:jni I yance.messenge: Unquickening 21 vdex files! E yance.messenge: Unknown bits set in runtime_flags: 0x40000000 E RefClass: java.lang.reflect.InvocationTargetException I OneTrace: Mark active for pid=25278? true E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.croyance.messenger.Main" on path: DexPathList[[zip file "/data/app/~~AaqN-4a0auFr8HV_MJwQ3g==/com.croyance.messenger-itiNKy_Da7NGfGLvDCWqRw==/base.apk"],nativeLibraryDirectories=[/data/app/~~AaqN-4a0auFr8HV_MJwQ3g==/com.croyance.messenger-itiNKy_Da7NGfGLvDCWqRw==/lib/arm64... I have correctly configured the AndroidManifest.xml file with the following activity declaration for Main: <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:name=".Main" android:label="FireBaseQTVersion1" android:screenOrientation="unspecified" android:launchMode="singleTop"> </activity> I have followed the setup guidelines for Android in the QtFirebase documentation, specifically as outlined in the Setup. Environment: Qt Version: 5.15.2 Firebase C++ SDK Version: 6.7.0 Android NDK Version: 21.3.6528147 Gradle Version: 5.6.4 Operating System: Linux
  • Boot2qt - how to exclude Qt packages / features

    Unsolved
    3
    0 Votes
    3 Posts
    292 Views
    J
    firstly thanks Axel for noticing. I'm very new to boot2qt & yocto and laying at beginning of the learning curve. I've followed not so complete documentation of Boot2Qt and created my own layer trying to set my own build. The truth is I don't know which variables nor arguments to use. I'm familiar with Windows desktop builds and so far i've tried the same approach passing a "-skip qtdecalarative" to EXTRA_QMAKEVARS_PRE variable, which is incorrect. Any help welcome and highly appreciated.
  • Exception while running QtQuick Controls Gallery example for android development

    Unsolved
    2
    0 Votes
    2 Posts
    161 Views
    Axel SpoerlA
    Which Android SDK/NDK Version is installed on the desktop?
  • Qt Quick for Android, font customisation

    Unsolved
    2
    0 Votes
    2 Posts
    191 Views
    B
    embedded this code into main.cpp to see, would it change behavior or not int fontId = QFontDatabase::addApplicationFont("qrc:/assets/fonts/Expansiva.otf"); QStringList availableFonts = QFontDatabase::families(); if (fontId == -1) { qDebug() << "Error: Failed to load custom font from resource."; } else { QStringList fontFamilies = QFontDatabase::applicationFontFamilies(fontId); if (fontFamilies.isEmpty()) { qDebug() << "Error: No font families loaded."; } else { qDebug() << "Font family loaded successfully: " << fontFamilies.first(); // Step 2: Set the font style (font family, size, and optional weight or style) QFont customFont; customFont.setFamily(fontFamilies.first()); // Use the loaded font's family name customFont.setPointSize(12); // Set desired font size customFont.setBold(true); // Make the font bold (optional) customFont.setItalic(false); // Set italic (optional) // Step 3: Apply the custom font globally app.setFont(customFont); } } this address does not provide access to font file: "qrc:/assets/fonts/Expansiva.otf" this, yes: ``` "calc_salary/fonts/Expansiva.otf" resource.qrc looks like <RCC> <qresource prefix="/assets"> <file>fonts/Expansiva.otf</file> <file>fonts/ExpansivaBold.otf</file> <file>fonts/ExpansivaBoldItalic.otf</file> <file>fonts/ExpansivaItalic.otf</file> <file>fonts/ArtsyNight.otf</file> <file>fonts/ROSEMERO.ttf</file> </qresource> </RCC> is it right or not, smart people has to estimate it
  • Cross Compilation

    Unsolved
    2
    0 Votes
    2 Posts
    274 Views
    jsulmJ
    @rohan136 Start here: https://doc.qt.io/qt-6/android.html
  • How to Send Rotary Encoder Signals Only to Visible QML Components?

    Unsolved
    4
    0 Votes
    4 Posts
    396 Views
    GrecKoG
    @Yaldiz said in How to Send Rotary Encoder Signals Only to Visible QML Components?: The problem is that components inside a StackView do not have their visible property set to false even when they are not displayed on the screen. They do.
  • 0 Votes
    2 Posts
    141 Views
    Z
    @zhulinhai Can't the Bluetooth module of Qt6.5.3 search for Bluetooth 5.0 protocol? I saw that you can search for native Android
  • regarding the Bluetooth permission issue in iOS 18

    Unsolved
    1
    0 Votes
    1 Posts
    314 Views
    No one has replied
  • Cross-compile Qt5 for aarch64 CMakelists.txt

    Unsolved
    1
    0 Votes
    1 Posts
    188 Views
    No one has replied
  • Android: Build failed with exception. Could not determine Java version from '11.0.10'

    Unsolved
    15
    0 Votes
    15 Posts
    5k Views
    L
    @morte This solution helped me. I downgraded to 8 and everything compiled.
  • Linux boot to Application and Touchscreen Issue

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