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
  • [SOLVED] Problem reading simulated touch events from /dev/input/event1

    4
    0 Votes
    4 Posts
    6k Views
    E
    @aekam Hi, I'm working with uinput to simulate a touch driver using embedded linux on sama board. I set TSLIB_TSDEVICE=/dev/input/event0, but QT seems not working. I can see event by cat /dev/input/event0 but application doesn't get any. My question is: why do you have a release event? My code is emit(fd, EV_KEY, BTN_TOUCH, 1); emit(fd, EV_ABS, ABS_X, point.x); emit(fd, EV_ABS, ABS_Y, point.y); emit(fd, EV_SYN, SYN_REPORT, 0); where emit is defined void emit(int fd, int type, int code, int val) { struct input_event ie; ie.type = type; ie.code = code; ie.value = val; write(fd, &ie, sizeof(ie)); } Any help is greatly appreciated. Thanks
  • cannot find crt1.o /crti.o /libpthread.so.0 after Raspi cross compiled

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    M
    my sysroot was wrong, I fix it and problem solved
  • How to get cross compile to include qtserialport

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    J
    Ahh gotcha! Thanks very much! Regards, James
  • Qt Purchasing+subscriptions

    Unsolved
    2
    1 Votes
    2 Posts
    475 Views
    V
    Did you find something about that ? I'm also interested by subscriptions in Qt Purchasing
  • Does the Qt Purchasing supports Subscriptions on Android?

    Unsolved android purchasing qt5
    2
    1 Votes
    2 Posts
    729 Views
    V
    Did you find something about that ? I'm also interested by subscriptions in Qt Purchasing
  • QT5 How do qt automatically fix the window,text and button size to anyother screen size

    Unsolved
    2
    0 Votes
    2 Posts
    378 Views
    jsulmJ
    @Yen_Chou http://doc.qt.io/qt-5/layout.html
  • Is this Possible to use MATLab shared library in QT5 in UBUNTU

    Unsolved
    4
    0 Votes
    4 Posts
    853 Views
    Cleiton BuenoC
    You do not need to use MatLab, you can do it directly in C++, or translate from MatLab to C++. Example EGC in Qt5: https://github.com/glasgowneuro/attys-ecg Cleiton Bueno Blog | Linkedin | B2Open
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    26 Views
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • touchscreen not working with qml app (intel nuc)

    Unsolved
    1
    0 Votes
    1 Posts
    407 Views
    No one has replied
  • cmake generate IOS project : Undefined symbols for architecture arm64

    Unsolved
    2
    0 Votes
    2 Posts
    736 Views
    G
    ![0_1539691617886_2629dbb8-68eb-4456-80a2-6264b8c8c296-image.png](Uploading 100%) sreencut of xcode build is below: [image: 70]
  • How do not show black screen with app name on int on app startup?

    Unsolved
    2
    0 Votes
    2 Posts
    464 Views
    sierdzioS
    He's a complete guide from the amazing @benlau
  • Qt BLE writeDescriptor error

    Solved qtconnectivity bluez5
    2
    0 Votes
    2 Posts
    920 Views
    KutyusK
    Ok, I have a mistake, in descriptorwitten signal I checked it new value, and if it is 0000, I disconnect from device. But I checked the 1 index byte (the second), not the 0 index byte (first), and the second is always zero. This is my byte order mistake.
  • Cannot debug calqatr on Android

    Unsolved
    13
    0 Votes
    13 Posts
    4k Views
    T
    Hi guys, I'm a a bit late to the party, but I was having the exact same issue and just spent few hours working this out. Running Qt Creator 4.7.1 What you probably figured out is that gdb fails to load the debug symbols. First tricky thing, Qt Creator doesn't raise any error about it, you have to dig down the gdb logs: dINFERIOR STARTUP: BINARY NOT FOUND sReading debug information failed: s/home/flr03/Workspace/ethan-qt-epg-app/build-epg-ui-EPG_Android_for_armeabi_v7a_GCC_4_9_Qt_5_10_1_5_10_1_AndroidQt-Debug/app_process: No such file or directory. So from this, I checked if the deploy step does its job properly, second surprise Qt Creator tries indeed to pull app_process but doesn't complain about anything, however the file is not pulled properly (others needed files seem to be pulled properly though). As I can pull manually app_process from the terminal with adb, I work around the issue by adding a custom deploy step (Project/Run settings) doing that for me. Et voilĂ . Hope maybe this can help someone else being blocked with the same issue.
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    45 Views
  • Qt on Mac for Android app: failed to parse default search paths from compiler output

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    ekkescornerE
    to test Qt 5.12 Beta 1 on Android AFIK using NDK 16b works.
  • ChartView & AreaSeries

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    AndySA
    @kshegunov said in ChartView & AreaSeries: @AndyS said in ChartView & AreaSeries: So the only way to do that would be to modify Qt Charts. From my point of view, this is pretty much futile as it'd mean hacking at the Qt's sources. QtCharts does not provide for means to extend or modify the behavior, drawing or even adding chart types. Everything is buried in the private classes and the only thing one could override is a couple of setters. I meant that you would need to modify the sources directly, not by subclassing. I agree the only way is to override a couple of setters. Thinking about it, in theory, it might be possible to try and get access to the item used directly (since it likely a QGraphicsItem) so you might be able to call setBrush() on it directly. But I didn't mean that you can do this by subclassing at least, Qt Charts does not provide a means in that regard.
  • Android service

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, I haven't work with QtRemoteObjects yet but some things you should do: Check the return value of connectToNode Connect the error signal to at least print something if it's called Check lastError if the connection failed
  • This topic is deleted!

    Unsolved
    49
    0 Votes
    49 Posts
    663 Views
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    34 Views