Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.2k Posts
QtWS25 Last Chance
  • I don't know what language I should use to develop my social network application

    Unsolved
    8
    0 Votes
    8 Posts
    575 Views
    T
    @Clems_79 To be more specific, languages serve different purposes. Different languages have different frameworks, libraries, use-cases, etc. You need to first decide what features you'll have in your application to help decide which programming language is useful for you. Qt is a framework built on C++. It has loads of functionality. Basically, it provides an easy way to implement lots of different aspects of devices into nearly any application. You would first have to know C++ to use Qt. With that being said, Qt for Mobile does require a few things to work probably with mobile devices, which you can look up online. Normally, Android applications are written in Java/Kotlin and iOS application are written in Objective-C/Swift. You could also use Javascript and take the browser approach, but I'm not the one to ask about Javascript.
  • Qt 4.8.7 crashes on Cortex A9 with QDeclarativeView

    Solved
    2
    0 Votes
    2 Posts
    248 Views
    M
    I found the solution. The problem was gcc 9 and foreach implementation in qt 4. If anyone encounters this problem you need to apply cxx11 and gcc9-qforeach patches from this link and compile qt without -std=gnu++98 flag http://git.pld-linux.org/gitweb.cgi?p=packages/qt4.git;a=commitdiff;h=b42b0c7fae8860fc46b9a9f4d937f4d8066f2daf#patch1
  • Camera stops NFC from working (QML, QT5.12.6)

    Unsolved
    5
    0 Votes
    5 Posts
    373 Views
    SGaistS
    Hi, I would say this warrants a bug report if there's not one already.
  • Qt Android Puchasing Validation

    Unsolved
    2
    0 Votes
    2 Posts
    191 Views
    J
    Hello @NullByte. Unfortunately at this time QtPurchasing doesn't expose the purchaseToken to the user.
  • Add a service in an Android Qt app

    Solved
    12
    0 Votes
    12 Posts
    1k Views
    piervalliP
    @Darude-0 , as tricks I use "ANDROID_EXTRA_LIBS" to copy library into apk. for (abi, ANDROID_ABIS): { message(The LibCore will be installed in $${abi}) ANDROID_EXTRA_LIBS += $$OUT_PWD/../LibCore/libLibCore_$${abi}.so LIBS += -L$$OUT_PWD/../LibCore/ -lLibCore_$${abi} }
  • Hazy camera video on Android

    Solved camera android
    2
    0 Votes
    2 Posts
    442 Views
    A
    Never mind. I had to set the surface format version to 3.0 in main, at the top. int main(int argc, char *argv[]) { QSurfaceFormat f; f.setVersion(3,0); QGuiApplication app(argc, argv); //... }
  • How on Ot6 compile for Android

    Solved
    23
    0 Votes
    23 Posts
    2k Views
    R
    I might not know from the description the exact problem, but you could try this. Select in Qt Creator your project (if not already selected). E.g. select Edit on left, then Projects, select your project, right-click on top of it and select "Set [your project] as active project" Then go on the bottom-left corner where you see the icons: Hammer (Build project [your project]), Green arrow with a bug (Start debugging of startup..), Green arrow (Run) and Android phone with a green dot/ball - left-click the last one with mouse Now you see Device (top-left) and on it's right some device name (the device to run the applications on) and on far right Manage button Left-click the Device and select the "else phone" i.e no "SM-N9810" but the phone you had connected with USB cable Or Left-click Manage and it opens up Devices, you can see Device, select it and select the "else phone" i.e. the phone you had connected with USB cable and like to use Press Apply on the bottom-right and check is the Current state a green ball & Ready to use - if yes press OK After above try to use green arrow (Run) to deploy the project to target and execute on it.
  • How to deal with touch delay on Android screen?

    Solved
    4
    0 Votes
    4 Posts
    433 Views
    SeeLookS
    @Rampe , thank You for the answer. But it is not exactly I was asking about. This is not about how to implement press animation. The problem is that such the animation - this code snippet You gave is great example - is not visible on Android device... In "normal" way - I mean when one just tap quickly the button - It appears only when a finger remains on the button a bit longer, or if it is a second finger as I wrote in the first post. But I found a culprit... It is a screen protection glass/film which causes delay in a touch. Without that thingy it works as intended. So this solves my issue. Anyway, native Android animations for button pressing have kinda workaround, that the animation is shown even after delay. So I come up with the hack: (it applies to @Rampe code as well) property bool innerPress: pressAnim.running || pressed onPressed: pressAnim.start() PauseAnimation { id: pressAnim; duration: 100 } // then color: innerPress ? "red" : "blue"
  • Qt 5.15 QML Application latency problem on Jetson Nano

    Unsolved
    1
    0 Votes
    1 Posts
    392 Views
    No one has replied
  • Get phone number

    Unsolved
    5
    0 Votes
    5 Posts
    467 Views
    SGaistS
    Yes, using the JNI related classes.
  • Opensource license for Embedded devices

    Unsolved
    2
    0 Votes
    2 Posts
    187 Views
    SGaistS
    Hi and welcome to devnet, WARNING: I am not a lawyer. That's a question you shall bring to the Qt Company and or a lawyer. The GPL state that you have to provide your code on demand. The LGPL state that you can keep your own code to yourself but you have to publish any and all modifications you may have done to the LGPL dependencies you use. Then your device users shall be able to switch out the libraries you used to replace with their own if they want to.
  • Unable to generate an apk api target level 30

    Solved
    2
    0 Votes
    2 Posts
    230 Views
    mrdebugM
    Seems to be solved by deleting Qt and QtProject folders .config
  • Android clang won't show up

    Solved
    2
    0 Votes
    2 Posts
    519 Views
    K
    OK I think I figured it out. For whatever reason, QT does not automatically detect the clang install. So I went to options > kits > compilers and selected add compiler. I then clicked browse next to "compiler path" and navigated to <QT path>\Tools\QtCreator\bin\clang\bin and selected clang.exe. After that, both the C and C++ compilers showed up and I now have kits available for android devices.
  • Build for Android failed after update on Qt 5.15.8. How to fix it?

    Solved
    3
    0 Votes
    3 Posts
    974 Views
    B
    Issue closed. Opened bug report https://bugreports.qt.io/browse/QTBUG-100807
  • Qt 5.12 fat apk

    Locked Unsolved
    9
    0 Votes
    9 Posts
    720 Views
    sierdzioS
    @sanctiondecision A good first step is to ask a question ;-)
  • QMediaPlayer -> Can´t get it to play

    Unsolved
    4
    0 Votes
    4 Posts
    275 Views
    Flaming MoeF
    @Flaming-Moe said in QMediaPlayer -> Can´t get it to play: fromLocalFile May be it´s the difference in "fromLocalFile"
  • BLE slow for write characteristique.

    Solved
    2
    0 Votes
    2 Posts
    239 Views
    S
    I have found i need use QLowEnergyService::WriteWithoutResponse
  • Making your own Application Manager (Linux / Wayland)

    Unsolved
    5
    0 Votes
    5 Posts
    794 Views
    R
    The question is a bit vague (because I don't really know how to put a very specific question, being new in this domain). Hopefully the picture below does a better job explaining what I'm trying to achieve. So on en embedded system - not sure yet which specific Linux, but it will be pretty "bare bones"- I have a bunch of small stand-alone applications. With a window/UI (fixed size). That could be anything really, a calculator, the weather forecast, and so on - I don't know (I won't be writing them). Since the embedded system doesn't have any visual desktop by itself, I would like to create one. One with 2 or 4 sections (see picture), so multiple programs can run side-to-side. [image: 68af2a82-c6c9-47b0-909d-532b23e9519d.png] Just using QProcess to launch whatever app is probably not doing the trick though. As far as I know, you can't simply set the XY/width/height of a window. At least not on this embedded device, using Wayland. Also, if you want to do some fancy tricks like dragging/dropping APPs, there are some things to be done by this "Manager". I believe you can create your own Compositor for exactly these kind of purposes, but from what I read, you're supposed to use QML (which I'm not sure of if these APPs will).
  • SSH to boot2qt stopped working

    Unsolved
    6
    0 Votes
    6 Posts
    775 Views
    SGaistS
    Did you check the addresses ? Are you accessing it using username/password of ssh keys ? Do you have a firewall ?
  • Qt Android Purchase (Subscription)

    Unsolved
    3
    0 Votes
    3 Posts
    181 Views
    SGaistS
    Hi, I remember seeing something related to that on the interest mailing list. You should check it.