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
  • Does a qt5 virtual framebuffer exist?

    12
    0 Votes
    12 Posts
    6k Views
    L
    @neha9 I had the same problem: Failed to mmap framebuffer (Invalid argument) linuxfb: Failed to initialize screen Segmentation fault Have you solved it yet?
  • 0 Votes
    3 Posts
    1k Views
    M
    Ok I have solved the problem. I was already using: source /opt/b2qt/2.5.3/environment-setup-aarch64-poky-linux to setup the environment before I launched Clion, but apparently there were some sub scripts that run making an alias of cmake with: alias cmake="cmake -DCMAKE_TOOLCHAIN_FILE=$OECORE_NATIVE_SYSROOT/usr/share/cmake/OEToolchainConfig.cmake" Clion ignores this alias, so I had to add those flags to the cmake options area in Clion under Build, Execution, Deployment -> Cmake -> Cmake options, I also had to fill in the variable $OECORE_NATIVE_SYSROOT, as clion could not resolve that. Here is what I added: -DCMAKE_TOOLCHAIN_FILE=/opt/b2qt/2.5.3/sysroots/x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake After that everything was compiling perfectly fine.
  • QtCreator and qmake for Android - producing Makefiles that do not work on Windows

    Unsolved
    1
    0 Votes
    1 Posts
    240 Views
    No one has replied
  • Qt Android exit sleep mode freeze gui

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    J.HilkJ
    @elpidamachairidou do you use a recent (preferably LTS) version of Qt, because there was one older one, where there were problems similar to what you describe
  • 0 Votes
    4 Posts
    1k Views
    jsulmJ
    @ishi Visual Studio is of no interest here as you cannot use it to cross compile to ARM Linux as far as I know. If your app is using OpenCV you will either need to install it on your RPi (including the -dev package) and sync the sysroot, or cross-compile it.
  • Mysterious QBluetoothLowEnergy service error

    Unsolved
    1
    0 Votes
    1 Posts
    171 Views
    No one has replied
  • QtMqtt subscription problem

    Unsolved
    4
    0 Votes
    4 Posts
    492 Views
    SGaistS
    Because you are then subscribing which will trigger network connection which might fail for some reasons that might be explained through that property.
  • 0 Votes
    19 Posts
    13k Views
    ekkescornerE
    @lukas_kosinski would also be great to have more codes - esp Code39 and EAN-Barcodes are essential for my apps
  • QT FILE OPERATION

    Solved
    19
    0 Votes
    19 Posts
    2k Views
    S
    @KroMignon thank you sir for your information
  • Console: Setting framebuffer size is only available with DRM atomic API

    Unsolved
    1
    0 Votes
    1 Posts
    864 Views
    No one has replied
  • Force QML to release memory used by Audio (Android error -19)

    Solved
    2
    0 Votes
    2 Posts
    719 Views
    ocgltdO
    @ocgltd Well I solved it - for anyone else experiencing this here is the solution. It (appears) that QML will not release audio players, so every one you create is held forever. The solution is to create a single audio player, in a singleton, and then use that to play (non-overlapping) audio files; changing the source each time.
  • QtSerialPort on Android (Qt.5.12.x)

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    D
    @md2012 Hi! Did you solve it? I have same problem. help me :)
  • Qt Creator unable to do remote GUI app debug

    Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • Rotate the screen after app starts

    Unsolved
    1
    0 Votes
    1 Posts
    165 Views
    No one has replied
  • Copy directory structure to deployment folder

    Solved
    6
    0 Votes
    6 Posts
    783 Views
    SGaistS
    IIRCR there's one "Resources" folder that is one the same level as the folder containing the executable (or maybe one above) where you can put the various bits and pieces that are not Framework and plugins. Then all that would be required for you is to have a "prefix" that you configure using an ifdef and use it when needing to load these files.
  • Can IOS executable play audio files in qrc yet

    Unsolved
    2
    0 Votes
    2 Posts
    217 Views
    SGaistS
    Hi, Good question, the easiest would be to try. If still not, you have two options: make them part of your bundle copy the file from the resources to a temporary path and play them from there.
  • QML and Video streaming

    Unsolved
    7
    0 Votes
    7 Posts
    813 Views
    B
    Thanks for the info.
  • IOS launch image no longer support from Info.plist

    Unsolved
    5
    0 Votes
    5 Posts
    539 Views
    ocgltdO
    I see on apple site that size is limited to 25MB, so I'm already well within that range (each file is < 1MB). So that's not it. I deleted build folders, couldn't find any qmake.stash, cleaned and rebuilt. Still same error. I include only 2 launch images now (ignore ipad in plist) and error remains.... Perhaps I should give up on this approach. From what I read online Apple has already deprecated launchimage inside plist. Are there any Qt friendly steps for building/using a storyboard with launch images?
  • Gradle error 14 - no explanation of what is wrong

    Solved
    2
    0 Votes
    2 Posts
    656 Views
    ocgltdO
    SOLVED - there is a known issue regarding permissions when running gradle with files stored on an SMB share. I moved my server files to an NFS share and all works great. (I would give the link but already lost it)
  • Qt how connect to an existing SQLlite file in iOS ?

    Unsolved
    10
    0 Votes
    10 Posts
    857 Views
    SGaistS
    You're welcome ! Do you got it to work ?