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
  • Android use Mouse,qml MouseArea onReleaseed and onCliecked not work

    Unsolved
    1
    0 Votes
    1 Posts
    94 Views
    No one has replied
  • About Qt License in Mobile

    Unsolved license android ios
    6
    0 Votes
    6 Posts
    670 Views
    JoeCFDJ
    https://www.youtube.com/watch?v=m7etOQfrMiM
  • Qt project CMake settings when using Swift-CPP interoperability for iOS. How?

    Solved
    2
    0 Votes
    2 Posts
    201 Views
    B
    This exact issue haven't solved yet. But found solution to run Swift-CPP interoperability in iOS application with Qt 6 and CMake - it's using static library developed in XCode project where interoperability functionality switched on: -- Create static library for iOS and choose base language Objective-C in settings -- When project created delete all of Objective-C templates -- Switch on C++/Objective-C functionality in build settings -- Add Swift and C++ code, if needed embed all used frameworks -- Build *.a for any platform you need -- Add to Qt 6 CMake project with includes Code samples published here https://github.com/ArboreusSystems/arboreus_examples/tree/master/qt6/CMake/UsingCPPSwiftInterop/UsingCPPSwiftInterop_v2 The recorded video of this sample here https://youtu.be/dZOchNsASHA Happy coding everyone!
  • How to set icon for Qt Android app in CMake?

    Solved
    27
    0 Votes
    27 Posts
    7k Views
    L
    @Fest I would honestly love to understand how you came up with that. I'm still too new to understand what's going on in CMakeLists.
  • Swift 5 version and CPP interoperability in Qt application. How?

    Unsolved
    1
    0 Votes
    1 Posts
    111 Views
    No one has replied
  • Unable to compile QGC 4.2.6 with Qt 5.15.2 on Windows for Android

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    A
    Hi, I was able to change the NDK root and it compiled all the way till the Generating Android Package step. The next issue i think is a gradle version mismatch. I have the latest gradle version installed and on my system path, but it downloads 5.6.4 during the build and uses that I think which is not compatible with JDK 17: [image: 2de3ed71-c12a-4618-aa8a-53a643fbb7a6.png] [image: c06861ab-255a-425c-8b27-fefb96f21562.png] Any workarounds to that would be highly appreciated
  • armeabi-v7a fails to build with Qt6.8.1

    Unsolved
    2
    0 Votes
    2 Posts
    964 Views
    NaLogoN
    This is a known issue with Qt 6.8.1 Here's the issue in the Qt Bugtracker The comments describe a workaround: copy the androiddeployqt binary from Qt 6.8.0 to the appropriate folder for Qt 6.8.1
  • Accessing Google Play Services from C++

    Unsolved
    1
    0 Votes
    1 Posts
    557 Views
    No one has replied
  • cmake equivalent for qmake's ANDROID_EXTRA_LIBS

    Solved
    3
    0 Votes
    3 Posts
    542 Views
    F
    I've found the solution! (Qt doc is wrong) set_target_properties(SamsungRC PROPERTIES QT_ANDROID_EXTRA_LIBS "${CMAKE_CURRENT_SOURCE_DIR}/ssl/android/${ANDROID_ABI}/libcrypto_3.so;${CMAKE_CURRENT_SOURCE_DIR}/ssl/android/${ANDROID_ABI}/libssl_3.so" ) The values in QT_ANDROID_EXTRA_LIBS need to be separated by a semicolon.
  • how to change API level ?

    Unsolved
    6
    0 Votes
    6 Posts
    3k Views
    M
    Have you set the target SDK level and build tools? I have this for my app targeting API level 34 set_target_properties(appskywalker PROPERTIES QT_ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/android QT_ANDROID_TARGET_SDK_VERSION 34 QT_ANDROID_SDK_BUILD_TOOLS_REVISION 34.0.0 QT_ANDROID_VERSION_NAME ${APP_VERSION} QT_ANDROID_VERSION_CODE ${VERSION_CODE})
  • Wrong fullscreen size in Android

    Unsolved
    2
    0 Votes
    2 Posts
    223 Views
    M
    I use ApplcationWindow instead of Window in my Android app. That one is automatically full screen on Android.
  • Emoji do not show on Google Pixel phones

    Solved
    2
    0 Votes
    2 Posts
    198 Views
    M
    This is not a Pixel issue, but an Android 15 issue. Seems QML does not properly render emoji on Android 15. Started a new topic for that.
  • Precompiling QML / Recommended resources for Cmake and QML projects

    Unsolved
    3
    0 Votes
    3 Posts
    319 Views
    KoryK
    Oh right, thanks for letting me know. At least I know it's not something I've done wrong
  • QmlSink Gstreamer Structures Delay Problem

    Unsolved
    1
    0 Votes
    1 Posts
    124 Views
    No one has replied
  • unable to use qt virtual keyboard

    Unsolved
    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • Boot2Qt and CAN or SPI communication

    Solved
    8
    0 Votes
    8 Posts
    697 Views
    D
    @jsulm @mrdebug I probably found appropriate knowledge about approach to programming STM32MP1. The STM32MP1 series is based on Cortex-A7 and Cortex-M4 cores architecture. First Way: First of those (Cortex-A7) is required to create GUI (ex. Boot2Qt) . But second one (Cortex-M4) is required to communicate with STM32 peripheral (ex. by STM32CubeProgrammer). Data processed in Cortex-M4 can be send to GUI (Cortex-M7) over the “Inter processor Communications” (IPC) virtual UART. Second Way: All programing by userspace Linux . In case OpenSTLinux ad STM32MP157f-DK2 , necessery is to turn on CAN0 by editind device tree. Device tree is generated by STM32CubeMX. Just make sure to install the appropriate version of the STM32Cube* tools - supplied with the Ecosystem version you are using.
  • Android 15 new page size memory 16KB

    Unsolved
    3
    0 Votes
    3 Posts
    933 Views
    piervalliP
    I thought it is transparent for us. in this section https://developer.android.com/guide/practices/page-sizes?hl=en ... If your app uses any native code, then you should rebuild your app with support for 16 KB devices. If you are unsure if your app uses native code, you can use the APK Analyzer to identify whether any native code is present and then check the alignment of ELF segments for any shared libraries that you find. .. But I don't understand if it is mandary where devices are page size 16KB.
  • Custom QML Plugin deployment for Android

    Unsolved
    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • Cant Interact with QDialog in Qt 6.8.0 ARM64-v8a Android

    Unsolved
    4
    0 Votes
    4 Posts
    411 Views
    O
    @Aaron-Liao Check this: https://bugreports.qt.io/browse/QTBUG-130576 I have created a bug report for this issue.
  • Qt6.7.2 and Android bad scrolling/movement

    Solved
    2
    0 Votes
    2 Posts
    318 Views
    M
    Fixed in 6.7.3