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
  • Not able to start application

    Unsolved
    8
    0 Votes
    8 Posts
    746 Views
    jsulmJ
    @SachinBhat If your app crashes in release mode even in QtCreator you should first find out why before deploying. One reason could be that it tries to load debug libs. Another one can be a bug in your code which does not cause a crash in debug mode but in release mode.
  • 0 Votes
    2 Posts
    214 Views
    sierdzioS
    Nothing really serious comes to my mind, and I have worked on many desktop and mobile apps in QML. Just some general remarks, then: mobile UI often makes little sense on desktop. It looks weird, very different from other desktop apps, and very often does not take advantage of large screen space. Having separate UI for desktop and mobile (or phone and tabler+desktop) is often a good idea when on desktop, add scrollbars :-) On phones people know that lists are flickable. On desktops, it is not immediately obvious to many people, that a list can be scrolled remember that notifications are far less noticeable on desktops (just a small balloon in the corner of a screen, and it disappears quickly) than on mobiles (persistent entry in notification "log") remember about keyboard ;-) On desktops it is very useful to have keyboard focus, proper tab order etc.
  • Qt for MCU demo for I.MX RT1060-EVKB

    Solved
    2
    0 Votes
    2 Posts
    249 Views
    SGaistS
    Hi, Qt for MCU is a commercial licensed project, you should ask the Qt Company directly. This forum is more user oriented.
  • How does one make a mobile + desktop app using PyQt5?

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    enjoysmathE
    @SGaist thanks for your guidance. I have decided on C++ / QtQuick / QuickQanava (library).
  • Sharing Files (user selected) on Android from Qt App

    Unsolved
    2
    0 Votes
    2 Posts
    302 Views
    SGaistS
    Hi, From what I can see you need to use QFileDialog to get the file path and then call the ShareUtils::sendFile.
  • Cross compile Qt 5.12.5 for raspberry pi 4

    Unsolved
    7
    0 Votes
    7 Posts
    5k Views
    P
    Hello. I have exactly the same problem with gui not showing on the target device (Raspberry Pi 4). I followed the same tutorial and apps compile on the Pi and I can run them by double-clicking or from terminal but not from Qt Creator directly. I found here to try setting the DISPLAY environment variable in the RUN configuration in Qt Creator. I did as the author of the thread but with no success. The app deploys and runs, I can see it in the processes list but doesn't show on the screen. Has anyone found the solution for this? Thanks.
  • The new nvidia jetson xavier

    Unsolved
    4
    0 Votes
    4 Posts
    821 Views
    R_ramR
    @jsulm @qndn Hi, I'm trying to build an application for the Nvidia Xavier. I have not tried to build Qt from the source before. Is there any document available for building Qt for the NVIDIA Jetson Xavier platform? Please guide me to build from the source. Thanks in advance.
  • UIApplication.shared.canOpenURL implements in Qt

    Unsolved
    26
    0 Votes
    26 Posts
    3k Views
    SGaistS
    AppKit is a macOS only framework. Don't link to it when building for iOS.
  • No target architecture defined in json file using cmake compile for Android

    Unsolved
    3
    1 Votes
    3 Posts
    3k Views
    S
    I am currently having the same problem. This worked not too long ago though. Also interesting: When QtCreator runs the androiddeployqt executable, the error is a different one: "Cannot find application binary libTestApp.so" However, when I manually execute everything the way QtCreator does it (at least the way it shows it in [4 Compile Output]), I get the mentioned "No target architecture defined in json file" error.
  • Google requires change Development API in apps

    Unsolved
    2
    0 Votes
    2 Posts
    201 Views
    J
    You just need to Go to GCP, find your project, find Google Android Developer API and change the version there. Or you can just disable the API if you don't use it. For example, my GCP project was automatically named Google Play Android Developer so yours might probably be the same. I can't see an option on my console probably because they removed it for new projects, but if your project is already using an old version, you probably will have a warning there as well. you can visit here for full details https://stackoverflow.com/questions/56700332/what-is-we-ve-detected-that-your-app-is-using-an-old-version-of-the-google-play
  • Run Qt aplication on beaglebone black

    Unsolved
    1
    0 Votes
    1 Posts
    165 Views
    No one has replied
  • How to pass a Drawable to a QML element?

    Solved
    2
    0 Votes
    2 Posts
    359 Views
    a.burksA
    I have the solution. I was only a single line. Everything was correct. I just had to add the following line to for the button: icon.color: "transparent" Crazy.
  • How to ensure complete string is received over bluetooth?

    Unsolved
    9
    0 Votes
    9 Posts
    934 Views
    aha_1980A
    Hi @ahsan737, If you strictly receive ASCII, then it does not matter if you use QString::fromUtf8() or QString::fromLatin1(); both will give the same result. Regards
  • QBluetooth: can we define custom serial protocol?

    Unsolved
    7
    0 Votes
    7 Posts
    718 Views
    ahsan737A
    @mrdebug thank you so much. for the sake of clarification, I do not need to define baud rate, parity, start/stop bits in Qt.
  • 0 Votes
    4 Posts
    3k Views
    a.burksA
    Here is my solution: I have created a new app from the template of Qt Creator and compared it with the example project for Qt Android: I conclude, that I have to modify the .pro file. First of all I had to add the following line: ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources Then I had to replace DISTFILES, that is automatically added by Qt Creator, if I create a Java class: OTHER_FILES += \ main.qml \ android-sources/src/com/hello/android/Backend.java \ android-sources/AndroidManifest.xml Finally I had to edit the AndroidManifest.xml, that I have copied from the exmaple project, in the text editor mode: <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="com.hello.android.Backend" android:label="Hello Android" android:screenOrientation="unspecified"> The last step was not necessary in the project of my initial question.
  • Boot2Qt Toolchain for Windows

    Unsolved
    1
    0 Votes
    1 Posts
    362 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    4
    0 Votes
    4 Posts
    15 Views
  • 0 Votes
    10 Posts
    4k Views
    A
    @sierdzio Upvoting this 5 years later because it's such good advice!
  • Boot2Qt Custom Image Build Error

    Unsolved
    1
    0 Votes
    1 Posts
    99 Views
    No one has replied
  • Emitting multiple signals from the same onTriggered

    Solved
    7
    0 Votes
    7 Posts
    512 Views
    R
    Thanks, that is working Kind Regards