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
  • Rpi4 Qt5 Qml drmModeGetResources failed error

    Unsolved
    1
    0 Votes
    1 Posts
    809 Views
    No one has replied
  • Root access on Android

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    S
    @KroMignon @jsulm Yes, I have the following permissions in the manifest file <uses-permission android:name="android.permission.USB_PERMISSION"/> <uses-permission android:name="android.permission.BLUETOOTH"/> <uses-permission android:name="android.permission.CAMERA"/> <uses-permission android:name="com.google.android.things.permission.USE_PERIPHERAL_IO" /> Then I catch usb attaching event: <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/> </intent-filter> And filter devices by PID and VID: <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" android:resource="@xml/device_filter" /> It works, when I attach my serial convertor with OTG, popup is opened and I can chose my program to be opened. But I don't really know, where my devices is mounted. Now I looking for any information with dmesg on my tablet. Thank you for your link, I will try it out.
  • Making my yocto image able to compile my qt project

    Solved yocto imx8 embedded qt
    19
    0 Votes
    19 Posts
    6k Views
    K
    @SGaist I don't think so but in the meantime I don't see any package which could do it. My board support OpenGl ES2 so I tried some stuff like adding "PACKAGE CONFIG += "gles2" " to my qtbase bb file but nothing has changed ... Also tried to add PACKAGECONFIG_append_pn-qtbase = "gles2" in my local.conf but no change. After some googling, I found that the error was printed by this code : https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/xcb/qxcbbackingstore.cpp?h=dev (line 371) Edit: Closing this issue, it was a problem of platform (by default it was using x11 which is not the one used by my embedded device) . Thanks a lot for your help again !
  • 2 Votes
    4 Posts
    2k Views
    B
    Not appearing on Qt 5.15.1. Issue closed.
  • 0 Votes
    2 Posts
    407 Views
    SGaistS
    Hi, Based on your configuration I would guess that the OpenSSL headers are not found. If so, you need to add the corresponding path to your configure call.
  • RGB BGR colors issue on my linux target

    Unsolved linuxfb embedded color change rgb bgr qimage
    9
    0 Votes
    9 Posts
    7k Views
    S
    i am facing same problem how to resolve this
  • Cannot resolve error: "eglCreateContext: EGL_BAD_CONFIG: no ES 3.1 support"

    Unsolved
    1
    0 Votes
    1 Posts
    453 Views
    No one has replied
  • Boot2Qt EGLFS does not work

    Unsolved
    1
    0 Votes
    1 Posts
    275 Views
    No one has replied
  • QML: The menu icon will does not show up correctly

    Unsolved
    1
    0 Votes
    1 Posts
    303 Views
    No one has replied
  • Qt 5.15 undefined symbol

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    M
    @sitter thank you for your info, I still have the same problem, Couls you define the steps how did u achieve it
  • Libjpeg conflict while building qt

    Unsolved embedded linux building qt libjpeg configure ubuntu 18.04
    12
    0 Votes
    12 Posts
    3k Views
    SGaistS
    So everything looks correct... How are you loading your image in your application ?
  • QT UDP RECEIVE

    Unsolved
    20
    0 Votes
    20 Posts
    2k Views
    jsulmJ
    @swansorter So what? Ping does not cause same load as sending bigger amount of data... As already suggested: use TCP if you need to make sure all packets arrive...
  • Android/Windows: cannot find deployment-settings.json

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    D
    Hello, I have the same issue, did you fix this?
  • 0 Votes
    3 Posts
    734 Views
    L
    I ran into the same problem using GCC 8.3 as a cross compiler with the latest (as of 3-10-2020) raspbian. I guess that previously PATH_MAX was leaked by another header, hiding this bug. I fixed it by simply replacing the macro PATH_MAX with a constant (1024). That should be plenty of space to hold the 20 or so bytes that are copied into buf, which isn't a real path anyway. diff --git a/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp b/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp index d59fdcd675..56cd753bb5 100644 --- a/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp +++ b/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp @@ -74,7 +74,7 @@ static int memfdForUsage(size_t bytes, OSAllocator::Usage usage) break; } - char buf[PATH_MAX]; + char buf[1024 /* PATH_MAX */]; strcpy(buf, type); strcat(buf, "QtQml"); The actual fix is to either include linux/limits.h or fix memfdForUsage() to not allocate such a huge stack buffer for no reason at all.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    16 Views
    No one has replied
  • Resize QML Screen or any other component. How?

    Unsolved
    1
    0 Votes
    1 Posts
    187 Views
    No one has replied
  • Android: Qt Core needs permission WRITE_EXTERNAL_STORAGE?

    Unsolved
    2
    0 Votes
    2 Posts
    445 Views
    raven-worxR
    @andrewagr said in Android: Qt Core needs permission WRITE_EXTERNAL_STORAGE?: Because if this is true than Qt core is started at launch and I should ask the permission at runtime in the app launch certain features in QtCore need the permission. I guess QSettings for example. Just test your app without the permission and check if all works for your needs. If not check ifpermissions are needed and request them.
  • 0 Votes
    6 Posts
    2k Views
    JonBJ
    @Marek-Stocki Wait, wait! You absolutely do not want to move a Python3 application back to Python2! Trust me :) Even 26 seconds startup is quite unacceptable. Start up should be like ~1 second!! There is something wrong.....
  • Two questions App orientation, Face ID

    Moved Unsolved
    7
    0 Votes
    7 Posts
    731 Views
    M
    @artwaw Hi I'm looking for some tool to move to Mobile and Embedded but don;t see any. Can Admin please move this topic ?
  • Cannot compile QML application for Android on 5.14.*

    Unsolved
    4
    0 Votes
    4 Posts
    552 Views
    S
    @jsulm Yes, I have checked it firstly, project is located in /home directory, lib file that is generated received the following permissions: -rwxrwxr-x . Now I have reinstalled sdk, ndk and so on. It's the following message, when I try to build release: :-1: error: [Makefile:745: build/release/libVision2GoApp_armeabi-v7a.so] Error 127 But this file is existed and has permissions mentioned above. It is strange, but debug mode is being built okay.