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
  • Qt Android activity creation problem on Java update

    Unsolved java activity androidqt qt5.12.x gradle
    2
    0 Votes
    2 Posts
    885 Views
    M
    Newer versions of Android are able to read native libs directly from the apk without extracting them if they are stored uncompressed in the apk. This is done to save disk space on the device, and the new default during apk creation, but Qt 5.12 does not handle this. To compress native libs again add android:extractNativeLibs="true" in AndroidManifest.xml to the application tag.
  • Button over QVideoWidget

    Solved
    24
    0 Votes
    24 Posts
    8k Views
    QtFriend2024Q
    One Solution Without QML I've figured a way to get the QVideoWidget to stack behind QPushButton and QLabel in a Widgets application without using QML - the camera has to be started before the stacking order is set. Otherwise, the QVideoWidget gets forced to the front no matter what you do. This worked for me.
  • QML Android Layout Artifacts on Orientation Change - Intermittent Issues

    Unsolved
    1
    0 Votes
    1 Posts
    197 Views
    No one has replied
  • qt.bluetooth.windows: Could not await descriptor read result

    Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • Qt6.8 for Android,Unable to create the template

    Unsolved
    10
    0 Votes
    10 Posts
    1k Views
    L
    When creating a project, selecting "Qt Quick Application (compat)" to generate a .pro-based project allows normal template creation under the "Build Android APK" option. However, choosing "Qt Quick Application" with CMake (generating CMakeLists.txt) causes the issue. This suggests the problem relates to legacy .pro (qmake) vs modern CMake build systems in Qt Android packaging.
  • Yocto and patches. How are they applied? Can I patch a patch?

    Unsolved
    1
    0 Votes
    1 Posts
    309 Views
    No one has replied
  • 1 Votes
    2 Posts
    495 Views
    A
    Found out this is a known bug: https://bugreports.qt.io/browse/QTBUG-136493
  • iOS -ObjC link option leads to "duplicate symbol" for QtCore.framework

    Solved
    2
    0 Votes
    2 Posts
    467 Views
    M
    I actually found a solution to my problem :DDD In fact this was a bug in Qt since 6.7.3: https://bugreports.qt.io/browse/QTBUG-135978?gerritReviewStatus=Open which now seems to be fixed https://codereview.qt-project.org/c/qt/qtbase/+/643588 A workaround for now suggest here https://bugreports.qt.io/browse/QTBUG-132412 is to Configure with cmake 3.29+ and the extra -DQT_FORCE_CMP0156_TO_NEW=ON option. which I did by setting the policy in my root project cmake file right before find_package: # Enable CMP0156 explicitly to prevent duplicate symbol errors when using -ObjC linker flag if (POLICY CMP0156) message(STATUS "Setting CMP0156 policy to NEW...") set(QT_FORCE_CMP0156_TO_NEW ON CACHE BOOL "Force CMake policy CMP0156 to NEW behavior for Qt6") elseif () message(ERROR "CMP0156 policy not available! Please switch to cmake 3.29+ and Qt6.9") endif ()
  • Android app icon does not fit the icon frame on Android device

    Unsolved
    3
    0 Votes
    3 Posts
    441 Views
    J.HilkJ
    Usually this happens when the Icon itself has white space. Usually people try to accommodate round corners to match the other Icons on the phone. But the round corners come from the OS itself, so the Icon has to be "fullscreen"
  • Android App via debugger cashes updateNativeActivity() not found

    Unsolved
    6
    0 Votes
    6 Posts
    3k Views
    M
    Can you try to use 6.8 instead of 6.9.0 ?
  • Andrioid Emulator no Widget GUI updates

    Unsolved
    4
    0 Votes
    4 Posts
    595 Views
    Andy314A
    I found a global solution for it (resp. ChatGPT :-) and will share it here. class AndroidApplication : public QApplication { public: AndroidApplication(int &argc, char **argv) : QApplication(argc, argv) {} bool notify(QObject *receiver, QEvent *e) override { // Erstmal normal weiterleiten bool ok = QApplication::notify(receiver, e); // Bei jedem UpdateRequest-Event erzwingen wir einen Frame-Swap if (e->type() == QEvent::UpdateRequest) { // Prüfen, ob das Ziel ein QWidget ist if (auto w = qobject_cast<QWidget*>(receiver)) { if (auto wh = w->window()->windowHandle()) { wh->requestUpdate(); // sofortigen Flush anstoßen } } } return ok; } }; It works ! Is this ok in general and for performance issues ?
  • Andriod Runtime-Error: E/OpenGLRenderer: Unable to match the desired swap behavior.

    Solved
    2
    0 Votes
    2 Posts
    864 Views
    Andy314A
    I found a solution for me hw.gpu.enabled = yes hw.gpu.mode = angle ... what ever it means
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Get rounded corners on android

    Unsolved
    13
    0 Votes
    13 Posts
    1k Views
    F
    Are you sure? This seems pretty nonprofessional. I have no better explanation, though. I would assume, that this affects every fullscreen app... I write a media player, for example. They recently implemented this: https://www.qt.io/blog/expanded-client-areas-and-safe-areas-in-qt-6.9 Which seems to me quite similar. Yes, as a workaround, i use the height of the hidden status bar... Producing wasted space on old phones without rounded corners.
  • Tumbler on android not working

    Unsolved
    2
    0 Votes
    2 Posts
    286 Views
    F
    It's already reported as a bug. https://bugreports.qt.io/browse/QTBUG-133228 And i found a workaround: TapHandler, HoverHandler and MouseArea are not affected.
  • Andriod not availabe for Qt 5.15.2

    Solved
    8
    0 Votes
    8 Posts
    997 Views
    Andy314A
    Thank you for the help. I was a little bit stupid and forgot the feature.
  • 0 Votes
    10 Posts
    2k Views
    F
    It's not worked also with any popup Widgets, Dialogs, Menus, Popups, etc. Also issue persist in the latest 6.8.3 and 6.9.0 and caused by this changes - https://codereview.qt-project.org/c/qt/qtbase/+/568225 (https://bugreports.qt.io/browse/QTBUG-135253) A created a separate issue, with steps how to reproduce it with the latest Qt version - https://bugreports.qt.io/browse/QTBUG-135253
  • Mimer SQL Qt 6.6

    Unsolved
    2
    0 Votes
    2 Posts
    403 Views
    M
    I'm sorry that I am so late to the party… 😁 I have worked a lot with Mimer SQL, both in Android and elsewhere. I wonder if there is anything in particular that you were thinking about and that I perhaps can help you with?
  • Help: TLS 1.3 Support in Qt 5.12.12 for iOS

    Unsolved
    2
    0 Votes
    2 Posts
    401 Views
    jeremy_kJ
    Qt 5 on macOS didn't support TLS 1.3 in the prebuilt QtNetwork.framework. The underlying platform facility, secure transport, stopped development with TLS 1.2. This could be worked around by rebuilding Qt to use OpenSSL instead. I haven't used Qt on iOS, or even examined the source. My mostly unfounded guess is that a similar if not identical situation applies.
  • software engineering/design services

    Locked Solved
    6
    0 Votes
    6 Posts
    732 Views
    SGaistS
    @KH-219Design correct ! Viking Software are also skilled people. Cythe Studio also came back to memory.