Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.2k Topics 62.7k Posts
  • Swift 5 version and CPP interoperability in Qt application. How?

    Unsolved
    1
    0 Votes
    1 Posts
    143 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
    3k 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
    1k 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
    585 Views
    No one has replied
  • cmake equivalent for qmake's ANDROID_EXTRA_LIBS

    Solved
    3
    0 Votes
    3 Posts
    691 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
    276 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
    268 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
    400 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
    137 Views
    No one has replied
  • unable to use qt virtual keyboard

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

    Solved
    8
    0 Votes
    8 Posts
    803 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.
  • Custom QML Plugin deployment for Android

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

    Unsolved
    4
    0 Votes
    4 Posts
    477 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
    371 Views
    M
    Fixed in 6.7.3
  • Android auto uppercase broken in Qt6.7.2

    Solved
    2
    0 Votes
    2 Posts
    267 Views
    M
    FIxes in 6.7.3
  • Android Return key hides keyboard bug

    Solved
    9
    1 Votes
    9 Posts
    1k Views
    M
    Keyboard hide on RETURN seems to be solved in Qt6.7.3
  • DPMS on Raspi Os Bookworm and Qt 6.8.1

    Solved
    2
    0 Votes
    2 Posts
    256 Views
    M
    I understand that only with Qt we can control DRM properties because it is the master and DRM can accepts only one master. But I don't need to implement any other drm interface, but I have to use qtplatform library, because they are speaking with drm. So, investigating inside the code I have found a solution, but it use QPlatformScreen that is a Private Api: add to cmake: target_include_directories(appeturnix-qt6 PRIVATE ${qt_include_path}/QtGui/6.8.1/QtGui ) and then you can use QPlatformScreen that is a private library...so... QPlatformScreen *pScreen = screen->handle(); pScreen->setPowerState(QPlatformScreen::PowerStateOff);
  • How to grab whole window without monitor or HDMI dummy plug?

    Unsolved
    5
    0 Votes
    5 Posts
    467 Views
    Ronel_qtmasterR
    @harlan56 Hi, have you tried QApplication::desktop()->grab(); function?
  • Events after Object destruction

    Unsolved
    23
    0 Votes
    23 Posts
    7k Views
    J
    Hello, Have you figured it out what was the problem? I'm having a similar issue.