Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.0k Topics 62.1k Posts
  • 0 Votes
    1 Posts
    59 Views
    No one has replied
  • About Qt License in Mobile

    Unsolved
    6
    0 Votes
    6 Posts
    263 Views
    JoeCFDJ

    https://www.youtube.com/watch?v=m7etOQfrMiM

  • 0 Votes
    2 Posts
    116 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
    5k 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.

  • 0 Votes
    1 Posts
    85 Views
    No one has replied
  • 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:

    7d0cb23c-1b18-4fbb-af2a-0664e6fe459d-image.png

    9f5e0144-a8c6-47c3-8398-e088d6c1620c-image.png

    Any workarounds to that would be highly appreciated

  • armeabi-v7a fails to build with Qt6.8.1

    Unsolved
    2
    0 Votes
    2 Posts
    845 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
    523 Views
    No one has replied
  • cmake equivalent for qmake's ANDROID_EXTRA_LIBS

    Solved
    3
    0 Votes
    3 Posts
    284 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
    2k 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
    140 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
    130 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.

  • 0 Votes
    3 Posts
    172 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
    84 Views
    No one has replied
  • 1 Votes
    2 Posts
    245 Views
    M

    Interesting. I have the same issue when I try to run my own app on the emulator, i.e. it looks very similar to your screen shots.,
    I could not find a solution.

  • unable to use qt virtual keyboard

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

    Solved
    8
    0 Votes
    8 Posts
    423 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.

  • Help for Qt for iOS with AdMob implementation

    Solved
    10
    0 Votes
    10 Posts
    565 Views
    A

    Does anyone know how to implement Firebase Core and Firebase Analytics for both Android and iOS using CMakeLists.txt in Qt ?

  • Android 15 new page size memory 16KB

    Unsolved
    3
    0 Votes
    3 Posts
    483 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
    117 Views
    No one has replied