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
  • Internet Access for Android (Chat appp)

    Unsolved
    4
    0 Votes
    4 Posts
    336 Views
    S
    @jsulm Yes I did add the needed permission in the AndroidManifest.xml file but still didn't work
  • Linking Openssl isssue in Qt mac OSx

    Unsolved
    7
    0 Votes
    7 Posts
    624 Views
    SGaistS
    Just tested: OPENSSL_ROOT_DIR=/opt/homebrew/Cellar/openssl@3/3.3.2 /path_to_src/qt/qtbase/configure --openssl and it worked. Note that this is with a recent checkout of qtbase.
  • android intents: how to get them?

    Solved
    3
    0 Votes
    3 Posts
    474 Views
    TomZT
    OK, the solution seems to be: Create a Java class to inherit QtActivity. Reimplement onNewIntent there Use QJniEnvironment.registerNativeMethods() and Java 'native' methods to allow passing in the intent or the data from that intent to the C++ code. The documentation on the site is still far below general Qt level, but improving since 6.7 which I massively appreciate and I only managed to solve this by switching from the 6.5 docs to the 6.7 docs.
  • Yocto Qt6: Qt6QuickTools dependency missing

    Unsolved
    1
    0 Votes
    1 Posts
    277 Views
    No one has replied
  • Windows x86_64 -> aarch64 Qt toolchain built on Linux (no Yocto)

    Unsolved
    4
    0 Votes
    4 Posts
    601 Views
    N
    Yes, I'm trying that now, since Windows 11 seems to have better integration than Windows 10 did. Ideally I don't want to be dependent on that, though, especially since I know what I'm after is doable (and I have done it, but I forget how). This is an ongoing "project" at this point, and I haven't touched it since last year. What I'd like is for someone to be able to articulate how exactly the build works. I understand I need a "host build" initially. From that output I then build the device binaries -- but since Qt is not an "end product" but more of a middleware/development tool, I'm guessing there must be some extra toolchain that it builds as well for when I do actually build an application. So if I were to build on x86_64 Linux -> x86_64 mingw-w64, and then use the output of the mingw-w64 build to generate the device (aarch64 gnu) output...would that work? Or is that not how this operates?
  • Qt6 Raspberry Pi cross compliation error.

    Unsolved
    19
    0 Votes
    19 Posts
    7k Views
    N
    I'm aware this is ancient history but I was running into this problem as well (I've corrected it) and feel it necessary to add a bit more context and my analysis of what I think is happening. Tl;dr I was able to correct the aforementioned error by running the sysroot-relativesymlinks.py script mentioned above, re-running the configure, and rebuilding. As noted previously, symlinks doesn't quite fix everything and I also had to use the Python symlink script. What I noticed, though, after running symlinks the first time is that a few shared libraries (such as Dbus) were not being correctly re-linked. Specifically: aaron@AUSTIN:~$ ls -l rpi-sysroot/lib/aarch64-linux-gnu/libdbus* -rw-r--r-- 1 aaron aaron 785514 Sep 16 2023 rpi-sysroot/lib/aarch64-linux-gnu/libdbus-1.a lrwxrwxrwx 1 aaron aaron 42 Sep 16 2023 rpi-sysroot/lib/aarch64-linux-gnu/libdbus-1.so -> /lib/aarch64-linux-gnu/libdbus-1.so.3.32.4 lrwxrwxrwx 1 aaron aaron 19 Sep 16 2023 rpi-sysroot/lib/aarch64-linux-gnu/libdbus-1.so.3 -> libdbus-1.so.3.32.4 -rw-r--r-- 1 aaron aaron 395336 Sep 16 2023 rpi-sysroot/lib/aarch64-linux-gnu/libdbus-1.so.3.32.4 Notice how libdbus-1.so is still pointing to my system's (aarch64) version of libdbus, which also did not exist, since my system is x86_64 -- so the link itself was bad. So just a reminder to ensure that all of the links in your sysroot do not point to anything outside of that sysroot. Hopefully this helps any Googler in the future.
  • QCameraDevice::photoResolutions() empty output

    Unsolved
    3
    0 Votes
    3 Posts
    277 Views
    M
    @jsulm The cameras are detected but the Photo Resolution QLists are empty, this is the output: D libappQMediaDevices_Format_arm64-v8a.so: Camera: "QCameraDevice(name=Rear Camera: 0, id=0, position=BackFace)" , isDefault: false D libappQMediaDevices_Format_arm64-v8a.so: Photo Resolutions: QList() D libappQMediaDevices_Format_arm64-v8a.so: Camera: "QCameraDevice(name=Front Camera: 1, id=1, position=FrontFace)" , isDefault: false D libappQMediaDevices_Format_arm64-v8a.so: Photo Resolutions: QList()
  • combo box list keeps snapping to top

    Unsolved
    1
    0 Votes
    1 Posts
    144 Views
    No one has replied
  • Qt Creator 13.0.0 requires Android SDK Build-Tools and SDK Platforms for 31 and 33

    Unsolved
    2
    0 Votes
    2 Posts
    214 Views
    8Observer88
    I already have what I need: [image: 9f819669-3f95-4e6b-96ca-5a18d00ab953.png] [image: f07d07d1-28d3-42c4-b940-69744a414670.png] But Qt Creator requires additional packages. Can I disable showing the following message: [image: 2e15c12e-662c-4cca-9adf-b6193d74bb6f.png]
  • build fails for android

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    K
    OK I got it working. After that last post, I decided to enable signing the package. After doing that, I'm able to build and run my application. I wish Qt would remind me/force me to sign the package before I hit build if it's required for me to sign the package because this has tripped me up in the past (very cryptic error message). Anyway, thanks for all the help!
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    69 Views
    No one has replied
  • Duplicates modules error during Android release build

    Unsolved andriod kde qt 5.15.2 gradle
    1
    0 Votes
    1 Posts
    182 Views
    No one has replied
  • free trial expired

    Solved
    2
    0 Votes
    2 Posts
    237 Views
    A
    Hi I think you have to uninstall everything and reinstall the free version of maintenance tool, and thus everything else behind (creator, design studio, Qt versions etc etc ...), and unless you request Qt to transfer your account to a free account and wait for them to respond, you will have to create a new account.
  • Displaying rtsp stream with gstreamer on qt - android

    Unsolved
    2
    0 Votes
    2 Posts
    347 Views
    JoeCFDJ
    @kuroro-l First, your code has nothing to do with Qt. When you build it for Android, you need to pack gstreamer build(libs and plugins) for Android with your app. If you want to use Qt sink in your pipeline, try to make a Qt GUI and use qml or widget sink in your pipeline. There are quite some posts about how to do it in this forum and gstreamer forum.
  • 0 Votes
    1 Posts
    177 Views
    No one has replied
  • QTCP Failed to send data

    Unsolved
    4
    0 Votes
    4 Posts
    345 Views
    S
    The original MInGw compiler has not found this problem, because of code reasons to change to the MSVC compiler, this problem occurs frequently.This problem is not frequent.
  • App template

    Unsolved
    6
    1 Votes
    6 Posts
    585 Views
    J
    Thanks, this is great. While I agree that there is no one-size-fits-all, especially considering how much people want in the baseline (ci-cd, gui tests, etc), it still looks to me like the strength of Qt could be captured better - perhaps with more than one template. I will see if emericg has some bandwidth. Perhaps we can fund one that everyone can just pick up.
  • pull down gesture moves up the screen - how to Disable it

    Unsolved
    1
    0 Votes
    1 Posts
    117 Views
    No one has replied
  • How could I touch PushButton and Slider at the same time?

    4
    0 Votes
    4 Posts
    358 Views
    O
    I had a similar situation. I needed to control 4 sliders at the same time. I created a slider in a qml file. I added that qml file to the interface with 4 separate QQuickWidgets and I had 4 simultaneously controllable sliders. Cpp Ui adapt touch event to mouse event. Due to mouse behaviour, you cant click or slide two object at the same time. :D You should take a look : https://github.com/aaronsnoswell/QMLVirtualJoystick/tree/master
  • Qt6.8.1 Bluetooth lowenegryscanner

    Unsolved
    1
    0 Votes
    1 Posts
    135 Views
    No one has replied