Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.3k Posts
  • Qt BLE writeDescriptor error

    Solved qtconnectivity bluez5
    2
    0 Votes
    2 Posts
    777 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
  • Create chart in QT C++ and display it in QML

    Unsolved
    1
    0 Votes
    1 Posts
    287 Views
    No one has replied
  • How to use qbs create qt for android project?

    Unsolved
    1
    0 Votes
    1 Posts
    202 Views
    No one has replied
  • "Qt Quick Application - Empty" compile error

    Unsolved
    12
    0 Votes
    12 Posts
    2k Views
    SGaistS
    Check your Qt for Android Kit to see what compiler is selected and change to gcc
  • QMediaPlayer::ServiceMissingError

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    SGaistS
    Not knowing which version of Qt 5 you are using it's not possible to know whether you have the right version of GStreamer available. In any case, start your application with the QT_DEBUG_PLUGINS environment variable set to 1 and it should show you what's happening.
  • Qt 5.11.2(32 bit) w/ Qt for Python(2.7/32 bit) silent system halt

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    R
    Turns out it was this bug having to do with Intel Bay Trail CPUs: https://bugzilla.kernel.org/show_bug.cgi?id=109051
  • On tablet wrong angles from QRotationsensor regarding orientation

    Unsolved
    4
    0 Votes
    4 Posts
    553 Views
    PowerNowP
    hit @J.Hilk, thxs this was exactly I was looking for! QScreen *screen = QGuiApplication::screens().at(0); if(screen->nativeOrientation() == Qt::LandscapeOrientation) { } But now it's not possible (for devices with default LandscapeOrientation) to get the correct x,y rotation angles if keeping the device in landscape format. Why does AxesOrientation not works on my smartphones and tablets? This would be exactly what I needed. m_pQrs = new QRotationSensor(this); m_pQrs->setAxesOrientationMode(QSensor::UserOrientation); m_pQrs->setUserOrientation(90); qDebug() << "currentOrientation " << m_pQrs->currentOrientation(); // 0 qDebug() << "isFeatureSupported " << m_pQrs->isFeatureSupported(QSensor::AxesOrientation); // false Does there maybe exist some transformations, functions, links...?
  • How reliable is Qtimer in some of the older version?

    Unsolved
    2
    0 Votes
    2 Posts
    351 Views
    jsulmJ
    @JohnFrom Is everything else working properly when the time is not updated any-more? Does your app write any logs, so you can check whether onTimeout is called or any error/warning messages are there?
  • Bluetooth Classic with Android and iOS (Cross platform)

    Unsolved
    1
    0 Votes
    1 Posts
    244 Views
    No one has replied
  • Bluetooth Classic with IOS

    Solved
    6
    0 Votes
    6 Posts
    5k Views
    A
    Hello. I have the same problem, I need to create a cross platform app that communicates with a bluetooth device. It supports iap2 and spp. Can you maybe make your project as opensource? It will be very greatfull. Thanks.
  • QTest o Google Test

    Unsolved
    2
    0 Votes
    2 Posts
    402 Views
    SGaistS
    Hi and welcome to devnet, What exact errors are you getting ? What version of Qt are you using ? What platform are you running on ?
  • QUdpSocket multicast receiver timeout detection?

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    S
    I got it working just by changing the format of my timer like this: newtimer = new QTimer(this); newtimer->setInterval(3000); newtimer->setSingleShot(true); connect(newtimer, SIGNAL(timeout()), SLOT(nomsg())); newtimer->start(); and then calling newtimer to start or stop. I had to do this since you cannot start or stop SingleShot timer in this "QTimer::singleShot(200, this, SLOT(updateCaption()));" format.
  • This topic is deleted!

    Locked Unsolved
    2
    0 Votes
    2 Posts
    22 Views