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
  • Expose multiple context objects to QML

    2
    0 Votes
    2 Posts
    633 Views
    H
    Or the proper way to do it is to aggregate multiple objects into one "master" and expose it? Well, on the second thought, I can register a new qml type...
  • [Solved]Compile Qt with tslib

    11
    0 Votes
    11 Posts
    11k Views
    T
    Sir please provided me a complete steps to compile tslib with Qt5 already Qt5 is running on my host and raspberry pi machine. now i want to compile tslib for my egalax touchscreen please post the steps to compile it.
  • MediaPlayer to play source more than once

    5
    0 Votes
    5 Posts
    1k Views
    H
    Ok, thx!
  • Unable to get the Image Data from the canvas in Qml

    1
    0 Votes
    1 Posts
    600 Views
    No one has replied
  • Need help with QT 5.1 / xcb

    6
    0 Votes
    6 Posts
    3k Views
    N
    Hi, I'm working on Qt5 on a custom board around s5pv210. I have the same problem as yours. Could you manage to solve your problem? I think I don't have DRI driver in kernel. (i'm using linux 2.6.35.7) any help would be most welcomed! EDIT: there is no problem when I use "-platform linuxfb" . but when I use "-platform eglfs" , there is an error message: gbm_create_device: invalid fd: -1 Could not initialize egl display EGL error Aborted when I use strace, I can see (among others): ... access("/usr/lib/egl/egl_gallium.so", F_OK) = -1 ENOENT (No such file or directory) open("/dev/dri/card0", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory) write(2, "gbm_create_device: invalid fd: -"..., 34gbm_create_device: invalid fd: -1 ) = 34 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0 mmap2(NULL, 64, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40021000 close(5) = 0 open("/lib/libGL.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/libGL.so", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\340!\1\0004\0\0\0"..., 512) = 512 fstat64(5, {st_mode=S_IFREG|0755, st_size=342684, ...}) = 0 mmap2(NULL, 375552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x415f0000 mprotect(0x41642000, 32768, PROT_NONE) = 0 mmap2(0x4164a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x52000) = 0x4164a000 close(5) = 0 open("/lib/libXext.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/libXext.so.6", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\364)\0\0004\0\0\0"..., 512) = 512 fstat64(5, {st_mode=S_IFREG|0755, st_size=52836, ...}) = 0 mmap2(NULL, 84564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4164c000 mprotect(0x41659000, 28672, PROT_NONE) = 0 mmap2(0x41660000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xc000) = 0x41660000 close(5) = 0 open("/lib/libXdamage.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/libXdamage.so.1", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\364\t\0\0004\0\0\0"..., 512) = 512 fstat64(5, {st_mode=S_IFREG|0755, st_size=6936, ...}) = 0 mmap2(NULL, 38452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x41661000 mprotect(0x41663000, 28672, PROT_NONE) = 0 mmap2(0x4166a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1000) = 0x4166a000 close(5) = 0 open("/lib/libXfixes.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/libXfixes.so.3", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0 \21\0\0004\0\0\0"..., 512) = 512 fstat64(5, {st_mode=S_IFREG|0755, st_size=14928, ...}) = 0 mmap2(NULL, 46492, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4166b000 mprotect(0x4166f000, 28672, PROT_NONE) = 0 mmap2(0x41676000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x3000) = 0x41676000 close(5) = 0 open("/lib/libxcb-glx.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/libxcb-glx.so.0", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\10\200\0\0004\0\0\0"..., 512) = 512 fstat64(5, {st_mode=S_IFREG|0755, st_size=61400, ...}) = 0 mmap2(NULL, 92848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x41677000 mprotect(0x41685000, 32768, PROT_NONE) = 0 mmap2(0x4168d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xe000) = 0x4168d000 close(5) = 0 munmap(0x40021000, 64) = 0 write(2, "Could not initialize egl display"..., 34Could not initialize egl display ) = 34 write(2, "EGL error\n", 10EGL error ) = 10 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(1292, 1292, SIGABRT) = 0 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=1292, si_uid=0} --- +++ killed by SIGABRT +++ Aborted I'm ready to give you any other info about the problem. Thank you
  • Publishin an app on ios

    2
    0 Votes
    2 Posts
    927 Views
    GianlucaG
    It's not a question related to Qt. You have to follow the documentation about iOS development on the Apple Developer portal. Everything is written there.
  • QAudioOutput notify() on Android doesn't work

    2
    0 Votes
    2 Posts
    946 Views
    GianlucaG
    Humm, If on Linux it works, and on Android not I suppose you find out a bug. Try to file a bug report on https://bugreports.qt-project.org
  • Building 5.2 (stable) with libc++ for c++11 support?

    14
    0 Votes
    14 Posts
    7k Views
    SGaistS
    You have that "wiki entry":http://qt-project.org/wiki/Building-Qt-Package that explains how. I don't understand your last question. Since 5.2, they do use libc++
  • Building Qt 5.3.1 for OpenSSL in Android

    9
    0 Votes
    9 Posts
    4k Views
    SGaistS
    There's already the "Adding OpenSSL Support" chapter in Qt's documentation but there's room for improvement
  • Qt5 (eglfs): cannot access mouse & keyboard on embedded Debian Linux

    2
    0 Votes
    2 Posts
    3k Views
    M
    Which is the owner and which is the name of the group of /dev/input/event1? You can change the permission of /dev/input/event temporary and check if you can start your app as user. If this works then you have to find out if the input node are static or dynamically created. If dynamically created you have to find who and where the nodes are created. change the permissions there. Best regards Juergen
  • Bluetooth LE

    2
    0 Votes
    2 Posts
    970 Views
    SGaistS
    Hi and welcome to devnet, For such a question, you should rather go to the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)
  • Dnsapi.dll/.lib for Qt5, Win CE, Armv4i

    3
    0 Votes
    3 Posts
    2k Views
    M
    Building 5.3.1 to work on Win CE 6 with a custom SDK and have got stuck on the same dnsapi missing error. I've included the output of the build below. Interested if anyone came across any different solutions to this problem. @icrosoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makef ile.Debug install Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. link /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB /DLL /SAFESEH:NO /VERSION:5.31 /OUT:....\lib\Qt5Networkd.dll @C :\Users\MARKSH~1\AppData\Local\Temp\nmF753.tmp LINK : fatal error LNK1181: cannot open input file 'dnsapi.lib' NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\ce \bin\x86_arm\link.EXE"' : return code '0x49d' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.@ Thanks in advance!! Mark
  • Rendering images on Android using QML image type performance issues

    2
    0 Votes
    2 Posts
    1k Views
    C
    Have you tried using the "sourceSize":http://qt-project.org/doc/qt-5/qml-qtquick-image.html#sourceSize-prop property of the QML image element? If I'm remembering what I've done correctly, and I'm reading the documentation right, it should improve things by not loading the image at full resolution (which could be huge!), but at a scaled down resolution. Compiling it in to the resources file, rather than loading it remotely or from disk, should also help quite a bit. If I recall correctly, disk I/O on Android in cases like this is really slow, but a compiled-in resource is fast (this usually comes up with reading/loading the qml files themselves, but could be applicable here).
  • Qt Bluetooth - Device connection / disconnection

    1
    0 Votes
    1 Posts
    708 Views
    No one has replied
  • Bluetooth, discovering devices' services never ends.

    15
    0 Votes
    15 Posts
    6k Views
    A
    I posted a small toy example in the other thread. Mind you threads won't help as the Bluetooth classes are not thread safe unless. You can use them in different threads but you have to build a lot of guards around them. This would make the code more complicated than it should be.
  • [solved] Exclude androidextras from desktop builds

    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    You could have a base object that does nothing and a derived class for android where you will do the stuff you need. So in QML you don't have to change the code.
  • Qt WIreless Communication for Android

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Multiple GUI´s for Android

    2
    0 Votes
    2 Posts
    822 Views
    SGaistS
    Hi and welcome to devnet, First thing you should do is to get a look at the tutorials and examples in Qt's documentation. Also have a look at "the qml book":http://qmlbook.org/ to get you started
  • [solved] Timer in android doesn't trigger with screen turned off

    3
    0 Votes
    3 Posts
    2k Views
    H
    I have added PARTIAL_WAKE_LOCK management using androidextras and it works now.
  • Problem Cross compiling QT for BeagleBone Black running Debian

    2
    0 Votes
    2 Posts
    5k Views
    W
    Hi, Have you read these links already: http://qt-project.org/forums/viewthread/35542/ http://qt-project.org/forums/viewthread/33765/ I haven't tried with Beaglebone Black, or Qt4.x to be exact, but so far on the embedded devices I have managed to cross-compile Qt5, the cross-compilation setup requires the image for the embedded board to be present. Then, when cross-compiling Qt, the host system (your X86 Kubuntu 12.04 for example) will get a qmake binary and support files, x86 arch - and the mounted image for your embedded device will receive the cross-compiled Qt libraries (arm, mips, whatever). That same image should be loaded to your embedded board. The x86 qmake will always look for the cross-compiled libraries in the host system, in order to help build your embedded apps - along with the embedded gcc which should also be available. So in the end, Qt Creator will combine these 3 elements, plus the actual device to which the apps will be deployed: embedded gcc qmake built of the dev host arch cross-compiled Qt libraries accessible where qmake expects them to be, on the mounted embedded image. This may not be the only functional method for a cross-compiled development environment on embedded devices, but usually this is how it goes. In any case, maybe the Beaglebone Black specific links above will help you.