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
  • qt.qpa.input: X-less xkbcommon not available, not performing key mapping

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    E
    Just solved it after reading through the embedded linux section of qt again. setting QT_QPA_FB_DISABLE_INPUT=1 did the trick and now I am able to make clicks on the application via the touchscreen.
  • Qt, implementing an SFTP client

    Unsolved
    25
    0 Votes
    25 Posts
    8k Views
    JonBJ
    @splatten I am suggesting your sftp client will not work to prompt for a password if you do not run it from a terminal. It will not work when you try redirection from a parent process like Qt. The man page for my sftp under Ubuntu at least is pretty explicit about requiring either an "interactive" session for authentication, or must use ssh facilities for non-password authentication. Does your system have man sftp for you to read through?
  • Qt Widgets for Mobile development. Is it OK?

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    B
    @sierdzio Oh-yeeees! All that I might say about Qt Developing we are always turning "bad" into "good" and "bugs" into "features" :-)))))
  • Qt::concurent::run inside a loop how can we use a waiting line

    Solved
    3
    0 Votes
    3 Posts
    708 Views
    B
    thanks for your respond i'll try what you said, so i think i should use a setfuture to watch my future, and then capture the signal and do the same thing again until i don't have any think to copy , i think i should use another thread that will allow me to calculate the number of file i copied until now or i can use like a global variable that will decrement inside thread each time i have a finished signal... thanks again, best regards
  • How to get a screenshot in Android?

    Unsolved
    29
    0 Votes
    29 Posts
    3k Views
    M
    it's work https://doc.qt.io/qt-5/qml-qtquick-item.html#grabToImage-method
  • Get the height of the statusBar of Android

    Moved Solved
    5
    0 Votes
    5 Posts
    3k Views
    J.HilkJ
    @tham said in Get the height of the statusBar of Android: Hi, this is a commercial project, so I can't share it, sorry about that. Awhe, to bad πŸ˜₯ QML, using components from Felgo too Great, my Projects are usually also QML based. Never used Felgo and don't plan on using it πŸ˜‹ do you paint below the statusbar a custom background? Yes, it it just a rectangle with the same color as the icon So may I ask, how did you make your app full screen, and make it, that it's painted below the status bar. All I manage is either a black background behind the Statusbar(app doesn't reach that far up), or the App is painted over the Statusbar all together. How does it behave, when you force a notch/cutout from the developer settings Not sure what is this mean, if you mean the statusBarHeight function, it works very well. I actually meant this setting: https://developer.android.com/guide/topics/display-cutout You can simulate one in the developer settings of any android device.
  • In QML how to set Image bytearray in Android?

    Solved
    15
    0 Votes
    15 Posts
    2k Views
    M
    @kromignon said in In QML how to set Image bytearray in Android?: o your real problem is not showing PNG but taking a screenshot? right? Yes
  • Why can't the libraries from qt-everywhere-src-5.13.0 be found on my BeagleBoard?

    Unsolved
    5
    0 Votes
    5 Posts
    425 Views
    B
    @jsulm I built the executable in QtCreater on my host machine. I set a kit for my target device. If no Qt library is used, it can work on my target device. I am trying to check information such as the followings . -rw-r--r-- 1 root root 767 Jul 30 2019 libQt5Widgets.la -rw-r--r-- 1 root root 1149 Jul 30 2019 libQt5Widgets.prl lrwxrwxrwx 1 root root 23 Jul 30 2019 libQt5Widgets.so -> libQt5Widgets.so.5.13.0 lrwxrwxrwx 1 root root 23 Jul 30 2019 libQt5Widgets.so.5 -> libQt5Widgets.so.5.13.0 lrwxrwxrwx 1 root root 23 Jul 30 2019 libQt5Widgets.so.5.13 -> libQt5Widgets.so.5.13.0 -rwxr-xr-x 1 root root 5550140 Jul 30 2019 libQt5Widgets.so.5.13.0 I have not found something strange yet, but I don't know much about this.
  • Why I can't get any touch event on ARM-Linux

    Unsolved
    3
    0 Votes
    3 Posts
    354 Views
    MihanM
    I can get touch event ,but the gesture event still without any type but pinchGesture, I want to use panGesture to control the graphicsView and pinchGesture to zoom in/out. How to do that?
  • Android dns resolve crash

    Solved
    17
    0 Votes
    17 Posts
    2k Views
    W
    I solved this problem by export thread safe __res_init #if (QT_VERSION == QT_VERSION_CHECK(5,12,4)) #include "resolv.h" #include "QMutex" static QMutex mut; int __res_init(void) { QMutexLocker lck(&mut); return res_init(); } #endif Thanks every one.
  • QFontDatabase::addApplicationFont() very slow... Qt5 v5.6.3 vs. v5.9.8.

    Unsolved
    2
    0 Votes
    2 Posts
    409 Views
    SGaistS
    Hi, Sounds like a regression. Did you already check the bug report system ?
  • Qt5 GUI and RF24 lib

    Solved
    14
    0 Votes
    14 Posts
    2k Views
    Pablo J. RoginaP
    @csaba911 said in Qt5 GUI and RF24 lib: don’t add lib to librf24 Well, you said before you're good on other waters... That feature is a common practice since a long ago, see GCC documentation for instance: -llibrary ... Some targets also support shared libraries, which typically have names like liblibrary.so. It's even used in the Makefiles of the RF24 project you use LIBS+= -llittlewire-spi Anyway, glad you have it working. And please don't forget to mark this post as solved, it might help other users. Thanks
  • QT4 – Font rendering problem when using QBitmap

    Unsolved
    2
    0 Votes
    2 Posts
    462 Views
    M
    Of course your QPixmap looks good - it is a grayscale image which has many bits per pixel allowing nice antialiasing of the letters. That is not possible with a 1 bit bitmap. Convert the QPixmap to a bitmap and you'll see similar result. The thing to do is to find a font that works well (or at least better) on 1 bit screens.
  • armeabi-v7a crashes when ndk,abiFilters contains arm64-v8a value

    Unsolved
    2
    0 Votes
    2 Posts
    891 Views
    J.HilkJ
    @montjet take a look here: https://forum.qt.io/topic/104388/qt-5-12-4-armv7-application-not-working-if-arm64-libs-are-present It may help
  • Firebase and Qt 5.13.0 - 'Color types not allowed...'

    Solved
    2
    0 Votes
    2 Posts
    456 Views
    M
    Fixed - gradle version was too old
  • How to record a database in Android

    Solved
    11
    0 Votes
    11 Posts
    839 Views
    M
    I posted working code and marked the topic solved. If anyone needs it, they can have my code. More in it to understand it is not necessary.
  • problem for text inputs and edits when selecting text then pressing backspace

    Unsolved
    4
    0 Votes
    4 Posts
    599 Views
    jsulmJ
    @developer-123-0 said in problem for text inputs and edits when selecting text then pressing backspace: did you also see the same problem No, but I don't do anything on Android currently. You can check Qt bug tracker.
  • Anchor/shift qml window under the top bar of the mobile phone

    Unsolved
    4
    0 Votes
    4 Posts
    412 Views
    thamT
    Nevermind, I found a solution, you can check this post, if possible please help me move it, I post at the wrong place, thanks
  • Open GL error on raspbian Buster with Pi4 when starting application

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    K
    Hello Markus, I'm not sure if what I offer is a solution to what you problem or just yet another long winded ramble, but for another angle besides what you have tried so far, you could try adding "-no-feature-opengles3" to your configure statement. It is my understanding that the RPi when using the GPU firmware support OpenGLES v2 . Since your using the device option "linux-rasp-pi3-g++" that means you want to use the binary bcm BLOB(firmware) that controls the GPU, which is the default for that qt device option, but not the default for the pi4's firmware. But that's another issue. I have compiled both the raspi-pi3-g++ and the pi3-vc4 one and they both work with my projects when using the option: "-no-feature-opengles3" #I have binaries here built on buster raspbian at sf: https://sourceforge.net/projects/qt-5-9-8-eglfs-emb-rpipi2-plus/ and https://sourceforge.net/projects/qt-5-9-8-eglfs-gbm-emb-pi3-vc4/ If you check qtdiag after a good build you can see what your opengles setup is. Here is the important info from my rpi3 "GPU blob enabled" build, the same type of one your building. LibGLES Vendor: Broadcom Renderer: VideoCore IV HW Version: OpenGL ES 2.0 Shading language: OpenGL ES GLSL ES 1.00 Format: Version: 2.0 Profile: 0 Swap behavior: 0 Buffer size (RGB): 5,6,5 and then Here is the important info from my rpi3 " mesa VC4 enabled" build, obv NOT same type of one your building in your example here, but given anyway for comparison. Even though I do add this option (-no-feature-opengles3) with the vc4 build too it does not break my builds so far (YMMV). The rpi3-vc4 qt "-device" version supports a higher version of es2 from mesa, but I think the hardware is still limited to 2.0 That being said the "Shader language statement below still says it can do 3.0 in my -no-feature-opengles3 configured vc4 build :) Symantics. LibGLES Vendor: Broadcom Renderer: V3D 4.2 Version: OpenGL ES 3.0 Mesa 19.1.0-devel Shading language: OpenGL ES GLSL ES 3.00 Format: Version: 3.0 Profile: 0 Swap behavior: 0 Buffer size (RGB): 8,8,8 Just in the unlikely case you havent seen it. A long discussion about about the vc4 , see next link. Some of that, I think says , how it's default setup DOES NOT use the GPU binary when on the Pi4. Not a quote but thats what I got from it. https://www.raspberrypi.org/forums/viewtopic.php?f=67&t=243564&p=1508457&hilit=vc4#p1508457 or https://www.raspberrypi.org/forums/viewtopic.php?t=216804 and https://www.raspberrypi.org/forums/viewtopic.php?t=244519 and https://www.raspberrypi.org/forums/viewtopic.php?f=67&t=243507&p=1508172&hilit=vc4#p1508172 Good luck. *note my examples are with 5.9.8, but still applies as I have built up to 12.4 same way, but I dont use the latest with mine because I have unresolved mysql/mariadb issues in >5.9.8 , but thats just me.
  • QT Application development with 2 touch screen displays

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    I am don't remember such a document. There is Qt for Embedded Linux Pointer Handling, but I don't think it will answer your question. You can have multiple type of inputs used at the same time but I don't remember if you can have multiple device of the same type at the same time. However, I do remember that you may have one device that output all the outputs generated by the other input devices. Do you have something like that in your /dev ?