Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.5k Posts
  • How to show on Android "Erase back-left" character in QML

    Solved
    7
    0 Votes
    7 Posts
    705 Views
    J.HilkJ
    @Davronito you're welcome! Don't forget to use the topic tools to set the topic to solved 😉
  • Android Emulator starts but doesn't deploy app

    Unsolved
    1
    0 Votes
    1 Posts
    221 Views
    No one has replied
  • Android Kit error message

    Solved
    6
    0 Votes
    6 Posts
    629 Views
    G
    @J-Hilk Thank you. This solution worked.
  • eglfs rotation not reflected in screen geometry

    Solved
    2
    0 Votes
    2 Posts
    681 Views
    Q
    I'm able to mostly work around this issue by explicitly calling setSpacing(0); on my layout objects. Seems they inherit a property that is inconsistent between arm and x86 versions of the library. This still is not fixing this case: QFontMetrics metrix(label->font()); uint16_t width = metrix.boundingRect(label->text()).width(); if (width > maxWidth) QString clippedText = metrix.elidedText(text, Qt::ElideRight, maxWidth); where the clippedText returned is incorrect (much shorter than needed) on the arm arch version. But I can work around this one more issue for now.
  • Error: no viable overloaded '='

    Solved
    9
    0 Votes
    9 Posts
    9k Views
    J.HilkJ
    @Mohit-Tripathi that is correct, Like @jsulm said, QByteArray only accepts char as it lowest form. You have to assign the 1st index the high byte and the 2nd index (of the byte array) the Low byte (or flipped, depending on endianness ) That said, your previous int to hex string conversion is unneeded and probably wrong too.
  • ios access to photos and media files

    Unsolved
    2
    0 Votes
    2 Posts
    262 Views
    jsulmJ
    @SherifOmran You need to request access to media files, see https://doc.qt.io/qt-5/qtmultimedia-ios.html Use https://doc.qt.io/qt-5/qstandardpaths.html to get the directory containing the media files.
  • how to run in background on mobile

    Unsolved
    5
    0 Votes
    5 Posts
    619 Views
    SGaistS
    Not directly but you have this stack overflow answer that covers the iOS API in Objective-C and for Android, there's an example in the QtAndroidExtras module.
  • Android build: make: *** No rule to make target `install'. Stop.

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    K
    @hetalik Good to read that your problem has been solved. Please mark post as solved then. [edit:koahnig] Not sure if there is an issue with the forum. Possibly it is already marked as solved, but it is clearly shownb as unsolved for me. However, the entry under "Topic Tools" would allow only "Mark as Unsolved".
  • Quick Bluetooth Connectivity

    Unsolved
    3
    0 Votes
    3 Posts
    318 Views
    H
    Ah, I see what you are doing here. When does the user select the device: before or after the discovery? If it's before discovery, no need to do a discovery at all. Connect immediately. If during the discovery, no need to wait for finished() at all, connect as soon as user selects it (stop the discovery first) .
  • I can' compile for Android / No puedo compilar para Android

    Solved
    28
    0 Votes
    28 Posts
    11k Views
    E
    SOMETIMES, this will not be a configuration issue as mentioned in other answers. In my case, the problem was one file that happened to have been saved with a .CPP extension rather than .cpp. QMake (Qt5) was misidentifying the file and trying to compile it with the C compiler rather than the C++ compiler. The QMake from Qt4 was not exhibiting this issue. Renaming the file fixed the issue. My comment at the time was "Could this really be that f&%%& simple!!"
  • Bluetooth connectivity at weak signal

    Unsolved
    1
    0 Votes
    1 Posts
    125 Views
    No one has replied
  • Emoji low quality on android

    Unsolved
    2
    0 Votes
    2 Posts
    453 Views
    mmjvoxM
    the problem solved my phone display size setting was on smallest mode the emoji quality is fine only on normal display size (It should not be smaller or bigger) [image: 03a22be2-4996-455c-add8-4641780e4b4f.png] This means that anyone using my app must always have a standard display size and I have to force them to do that. But in AndroidStudio isn't like this
  • left corner swipe brings left nav. how?

    Unsolved android navigation swipe qtcreator 4.9.1
    2
    0 Votes
    2 Posts
    580 Views
    mrjjM
    Hi I dont know the answer but i was wondering if QWidgets or QML ?
  • Unable to run cross compiled GUI applications RPI

    Unsolved
    5
    0 Votes
    5 Posts
    462 Views
    O
    Some good news, I fixed the fonts by manually creating the font folder and transferring the fonts to the RPI. In regards to the touchscreen, I ended up observing that the touchscreen worked on the application for the most part. When I use the touchscreen on the app, the touch event occurs in a different location on the interface from where I touched. I want to think that it is a calibration issue but when I exit the application, touchscreen events work as intended. Could it be an issue with EGLFS? I am still wondering if I need EGLFS to run or if there is a second option that I can explore. Anyways, I am running v4.19.83-v7+
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • No video render on Raspberry 4

    Unsolved
    5
    0 Votes
    5 Posts
    433 Views
    SGaistS
    I'd install all of the GStreamer plugin packages.
  • 0 Votes
    4 Posts
    713 Views
    Pablo J. RoginaP
    @Surendar-Dharani as mentioned by @maxwell31 regarding libraries, you may want to take a look at step #15 from this guide (I know it's related to cross-compilation, but that step may apply to your issue).
  • 0 Votes
    7 Posts
    4k Views
    M
    try to add this to main.py import os os.environ["QT_IM_MODULE"] = "qtvirtualkeyboard"
  • Why only condition is working for "if" condition?

    Solved
    3
    0 Votes
    3 Posts
    311 Views
    KroMignonK
    @Mohit-Tripathi said in Why only condition is working for "if" condition?: Can I know why? This is simple Boolean algebra: False && False ==> False False && True ==> False True && False ==> False True && True ==> True False || False ==> False False || True ==> True True || False ==> True True || True ==> True
  • 0 Votes
    1 Posts
    346 Views
    No one has replied