Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.6k Posts
  • Qt5.12.2 QMessageBox can't be showed on IOS18.2

    Unsolved
    6
    0 Votes
    6 Posts
    503 Views
    I
    @jsulm Yes,I am preparing to upgrade my APP to use Qt6.8. But I met the issue: https://forum.qt.io/topic/161366/qt6-8-2-qwidget-can-t-show-on-ios18-2
  • Qt 6.9 Android Multi Abi Build Failed

    Unsolved
    3
    0 Votes
    3 Posts
    477 Views
    M
    I had this problem in Qt6.8.2 and have this work around: # Work around to fix build issue in Qt6.8.2 # See https://bugreports.qt.io/browse/QTBUG-131707 set(QT_NO_GLOBAL_APK_TARGET_PART_OF_ALL OFF)
  • Compile ffmpeg for iOS

    Unsolved
    2
    0 Votes
    2 Posts
    371 Views
    jsulmJ
    @alemio Build instructions are here: https://github.com/wang-bin/QtAV/wiki/Build-QtAV Simply use qmake from your Qt for iOS installation.
  • Qt6.8.2 QWidget can't show on IOS18.2

    Unsolved
    2
    0 Votes
    2 Posts
    292 Views
    jsulmJ
    @iamnotsad Set QT_DEBUG_PLUGINS env variable to 1 in run settings before running the app and check the console output. See https://doc.qt.io/qt-6/debug.html
  • Google auth on mobile

    Unsolved
    3
    0 Votes
    3 Posts
    525 Views
    H
    Ok solved. To enable AppLinks (in format https://your-website.com/yourcallback) besides setting up intent filters in AndroidManifest.xml you also need to configure them on google play console and deploy a json file to your website. https://developer.android.com/training/app-links#add-app-links
  • how to create and open pdf in qt using stm32mp157d-dk1

    Unsolved
    2
    0 Votes
    2 Posts
    290 Views
    jsulmJ
    @sharan16k Start here: https://doc.qt.io/qt-6/qtpdf-index.html
  • DNS lookup not supported on Android?

    Solved
    6
    0 Votes
    6 Posts
    487 Views
    SGaistS
    AFAIK, Qt would use the C++ api for that task.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • Using QtCore based IOS Framework in IOS Project

    Solved
    8
    0 Votes
    8 Posts
    549 Views
    F
    Solved. There is a difference in file extensions between objective-c and objective-c++ one is *.m other is *.mm I was calling C++ from a .m file. and that caused the error.
  • Build Qt Based Prjoect Qxmpp for Android 35

    Solved
    2
    0 Votes
    2 Posts
    237 Views
    F
    Answered my question here: https://github.com/qxmpp-project/qxmpp/issues/689 One viable option is to use Craft automated build tool. https://develop.kde.org/docs/packaging/android/building_applications/ As Linus pointed out. Tried it out. Seems to have worked.
  • Issues with Motorola phone

    Unsolved
    5
    0 Votes
    5 Posts
    400 Views
    M
    That is a good question. I should have shown :-) It's a social media app for Bluesky, so I don't know the actual content in this case. But here is a screenshot from my test account: [image: a3f4cf40-01a8-4875-90a1-53f999cf5384.jpg] I doubt it is missing fonts. I use the default font on Android and dynamically download Noto Color Emoji font for emoji. I don't think this user has another Qt version locally. Is that even possible on Android? I build an aab package for release. That should contain the Qt6.8.2 libraries to be used. What happens if there are multiple QML apps using different versions of Qt on a single phone? It seems Motorola is not a very stable brand. On my Google dashboard I have statistics of crashes. Quite some come from Motorola phones. The stack dumps make no sense to me.
  • Loading busyindicator on android at startupp

    Solved
    10
    0 Votes
    10 Posts
    729 Views
    T
    I finally got it to work by creating a qml file 'HeavyComponents.qml' "// HeavyComponents.qml (Main Entry Point) import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Controls.Material 2.15 ApplicationWindow { id: loadingWindow visible: true width: 200 height: 460 title: "Loading with Busy Indicator" color: "white" opacity: 1.0 // Initial opacity // Busy Indicator to show while loading BusyIndicator { id: busyIndicator anchors.centerIn: parent running: true visible: true width: 100 height: 100 } // Loader element to asynchronously load the heavy components Loader { id: loader source: "qrc:/main.qml" // Load main.qml asynchronously asynchronous: true visible: false // Initially hidden onLoaded: { busyIndicator.running = false; // Hide the busy indicator console.log("Loading complete!"); loader.visible = true; // Start the fade-out animation fadeOut.start(); } } Component.onCompleted: { // Start loading the heavy components console.log("Starting to load heavy components..."); loader.visible = true; } // NumberAnimation to fade out the loading window NumberAnimation { id: fadeOut target: loadingWindow property: "opacity" to: 0 duration: 3000 // 3 seconds onStopped: { loadingWindow.visible=false } } } " which is loaded in "main.cpp" and it uses a loader to load main.qml
  • Is there a way to reduce the size of the Android installation package?

    Unsolved
    1
    0 Votes
    1 Posts
    108 Views
    No one has replied
  • QQmlApplicationEngine failed to load component

    Solved
    4
    0 Votes
    4 Posts
    394 Views
    H
    Issue solved It turned out to be a single line missing in main.cpp engine.addImportPath(":/"); Exactly why this line is needed, when the program is running on an embedded linux and not on the desktop, I am not sure, but I guess that ":/" tells the program to find the Main.qml in the same root folder as program is running from.
  • QLineEdit in Android - no text visual

    Unsolved
    9
    1 Votes
    9 Posts
    1k Views
    ademmlerA
    I found at least a workaround. I do a full update, each time the Text has changed. For my small application this works. At least it is a workaround ... void MyTalker::on_plainTextEdit_cursorPositionChanged() { this->update(); } Maybe this is helpful for others with such issues ...
  • iOS / CMake problems including launch screen

    Unsolved
    1
    0 Votes
    1 Posts
    170 Views
    No one has replied
  • QGCS error for Android

    Unsolved
    21
    0 Votes
    21 Posts
    2k Views
    I
    @jsulm yes sir I am asking about QGCS project please help me for this
  • How to configure QT6 static?

    Unsolved
    15
    0 Votes
    15 Posts
    4k Views
    R
    the cause was a bad format in module-definition (.def file) which, for unknown reasons, generated that error when linking ... Now Qt 6.8.2 works fine, thank you for help.
  • Qt Tools for Android Studio: NDK Location not found

    Unsolved
    3
    0 Votes
    3 Posts
    243 Views
    S
    Hello thanks for the reply, I think I was using Felgo with Qt 6.4.1 and thats why the error was coming. I switched to installing Felgo with the Qt Installer for Qt 6.8.0 and it prompted me to install NDK 26.1.10909125 which I did and now I am getting the common error: "By not providing "FindFelgo.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Felgo", but CMake did not find one." problem is that on 6.8.0 all Felgo examples are using .pro not cmake and so Im staring at my screen asking myself what to try next
  • How to call camera and file selector with qml webview on android ?

    Solved
    2
    0 Votes
    2 Posts
    213 Views
    L
    It requires rewriting WebChromeClient in Java or Kotlin, but there is no way to set it for QML webview. It seems that you can only use JNI to start the Android activity as the webview view.