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 and STM32F769i - DISCO (PROBLEM)

    Unsolved
    5
    0 Votes
    5 Posts
    625 Views
    A
    @bagumka said in QT and STM32F769i - DISCO (PROBLEM): SMT32MP1 Hello, I've done the same thing 3 times on the webinar and I still have the same error, I've tried all python versions from 2.7.0 to 2.7.8 and nothing further is the same error, I don't know what I can do, I'm also curious when the producer Qt will introduce STM32F769 support as a standard greetings
  • How to catch the shell command information?

    Unsolved
    4
    0 Votes
    4 Posts
    371 Views
    jsulmJ
    @Yen_Chou With that amount of information nobody will be able to tell you what is wrong. Please tell us what you did, best would be to show the code. Also, you should use https://doc.qt.io/qt-5/qprocess.html#readyReadStandardOutput signal and call readAllStandardOutput in the slot connected to that signal. And you should read the readAllStandardError() (here also connect slot to https://doc.qt.io/qt-5/qprocess.html#readyReadStandardError)
  • PrintSupport missing on IOS

    Solved
    3
    0 Votes
    3 Posts
    531 Views
    D
    Thank You for quick answer.
  • ADD Digital Clock to my GUI

    Unsolved
    2
    0 Votes
    2 Posts
    462 Views
    jsulmJ
    @Mijaz You can copy the code as long as you don't violate the license. The example is licensed as commercial and BSD, see https://code.qt.io/cgit/qt/qtbase.git/tree/examples/widgets/widgets/digitalclock/digitalclock.h?h=5.13 BSD license is quite liberal, but I don't know your requirements.
  • Intent AudioManager.ACTION_AUDIO_BECOMING_NOISY not working

    Unsolved
    1
    0 Votes
    1 Posts
    180 Views
    No one has replied
  • Connecting to wifi in raspberry pi

    Unsolved network wifi connection raspberry pi 3 raspbian linux
    1
    0 Votes
    1 Posts
    787 Views
    No one has replied
  • 0 Votes
    5 Posts
    3k Views
    JoseCastroJ
    I eventually found out that those changes mentioned in the links in the last post require you to set "QT_IM_MODULE=compose" but even then composing didn't work. That being the case, I've reported a bug: https://bugreports.qt.io/browse/QTBUG-79097 I'm keeping this as unanswered until there is a workaround or a fix, but if you do not need dead keys or composition, just setting the XKB_DEFAULT vars and ensuring you are using libinput/xkbcommon should be enough to get your keyboard layout "working".
  • Notification that popup window is closed on IOS

    Solved
    2
    0 Votes
    2 Posts
    306 Views
    D
    I just overwritten the class defintion and gained access to private methods.
  • 0 Votes
    1 Posts
    252 Views
    No one has replied
  • Cross-Compile 5.7.1 for BeagleBoneBlack

    Solved
    4
    0 Votes
    4 Posts
    813 Views
    A
    @While_e Hi, please specify the ./configure line(which parameters you used)...
  • What is the function to know if the screen is pressed or not

    Unsolved
    6
    0 Votes
    6 Posts
    799 Views
    sierdzioS
    @NGV_Maxime said in What is the function to know if the screen is pressed or not: It's an app for Android. The event "released" is not activated in this case, the button remains visually pressed. My idea was to check in real time if a finger is pressed on the screen so as to disable the pressed button Can you help me ? OK so QtWidgets, right? Which Qt version are you using? I think there was a similar bug that was fixed quite recently. So if you are using some older version, please check with newest (5.12.4 or 5.13.1). You can see all mouse events that come into your app by installing a custom event filter https://doc.qt.io/qt-5/qobject.html#installEventFilter
  • Deployment failed. The settings in the Devices window of Xcode might be incorrect.

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    T
    Better solution for Qt Projects: Open Project .pro File and Add this line: Version = 1.0.0.0
  • Installing new module

    Unsolved ubuntu 16.04 raspberry pi 3 cross compile serial port new module
    26
    0 Votes
    26 Posts
    8k Views
    jsulmJ
    @vishbynature It's config.log file located in the same directory from which you called configure. It is a text file, nothing special. Look for compile errors in that file related to to what you need.
  • Raspberry pi 3B+, QMultimedia problem with playing 4 streams

    Unsolved
    3
    0 Votes
    3 Posts
    561 Views
    K
    Hi Thank You for Your answer and sorry for the late answer. I am trying to play 4 streams from Dahua DVR H264 MPEG-4 AVC streams using rtsp, resolution is 352x288 What memory I am consiming? because I have made some statistics and I can see a lot of free ram memory. Also I have tryied to run some statistics and I can see that my app has consumed 380 megs of virtual memory and 45 megs of resident memory. I have turned on zRAM and it is not using any zRAM pages. Moving from Raspi 3b+ to Raspi 4 with 4GB may help?
  • Run on Android thread

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    V
    @Pablo-J-Rogina Yes, I know how to implement it. It is in the guide. I'm just wondering when I have to use this approach and when not. @mvuori Thank you. In Qt it is quite clear for me what is UI and what not. If my application isn't in foreground, I don't touch the QML part. In Android it isn't that clear. If you check the guide, it describes how to set SD card (un)mount listener. I would say this has nothing to do with the UI. I'm wondering if my approach to show foreground service is correct or not. Currently I use this method to show it: public class MuzikaServiceOld extends QtService { private Handler handler; @Override public void onCreate() { super.onCreate(); handler = new Handler(); } public void showNotification(String text) { runOnUiThread(new MyNotification(this, text)); } private void runOnUiThread(Runnable runnable) { handler.post(runnable); } } The class MyNotification in the run() method creates and shows the notification. The question is, if this is a correct solution, because I create a new instance of the notification each time I change it. The second possibility is this: public class MuzikaServiceOld extends QtService { NotificationManager mNotificationManager; @Override public void onCreate() { super.onCreate(); mNotificationManager = new MyNotification(this); } public void showNotification(String text) { mNotificationManager.update(text); } } This works too but in this case I'm not showing and updating the notification from Android UI thread. But I don't create a new instance on every change. So the question is, which of these two solutions is better and which can lead to some problems. I hope this example explains better my question.
  • How do I prompt the launch of an Android Service in the background (Qt5.7)?

    Unsolved 5.7 android service
    12
    0 Votes
    12 Posts
    10k Views
    D
    @eiriham Were you able to get this question answered? My application is using QAndroidService and I would like to run code from Qt/c++? Thanks
  • Screen.orientation does not update on Android

    Unsolved
    1
    0 Votes
    1 Posts
    154 Views
    No one has replied
  • Qt Android and MediaBrowser Service

    Unsolved
    2
    0 Votes
    2 Posts
    560 Views
    V
    I've just run into the same problem. Have you found any solution for it?
  • QAndroidBinder vs AIDL

    Unsolved
    1
    0 Votes
    1 Posts
    516 Views
    No one has replied
  • QPushButton stay pressed after released finger

    Unsolved
    4
    0 Votes
    4 Posts
    780 Views
    N
    Hi, Has anyone ever encountered this problem? Is there a function to see if the smartphone screen is pressed or touched? I could possibly check every 100ms for example if the screen is touched or not to disable the key screen is not touched. What do you think ? thanks