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
  • QMouseEvent not working.

    Unsolved
    2
    0 Votes
    2 Posts
    207 Views
    jsulmJ
    @ahsan737 said in QMouseEvent not working.: is not working In what way it is not working?
  • Qt linux application

    Unsolved qt - linux base qt for low leve
    4
    0 Votes
    4 Posts
    443 Views
    aha_1980A
    @i-Srinu these libs are part of the BSP you got from your board vendor. UART can most likely be handled by QSerialPort, though. Regards
  • Build .apk without Qt Creator?

    Unsolved
    6
    0 Votes
    6 Posts
    532 Views
    SGaistS
    Yes it is. That's what Qt Creator uses.
  • What is best way Mobile Application and website for online store?

    Solved
    2
    0 Votes
    2 Posts
    203 Views
    SGaistS
    Hi, You should start by designing your website (and ensure you have a proper REST API) and then your mobile application. You have projects like cutelyst that can help get the low level stuff up and running. As for building a shopping cart, you should search for what is already existing. There's no real use re-implementing the wheel.
  • How to install additional libraries for Android development?

    Solved
    3
    0 Votes
    3 Posts
    885 Views
    a.burksA
    With the help of a colleague I found the problem. The problem was an outdated version in the qpm repository. Here are the steps for a kind of hello world project with androidnative: Create a new project with Qt Creator and choose Qt Quick app template, that supports Android, with an empty window. Build and run this template to check you project and create useful Android sources, that you need later. Install the androidnative library in the root directory of the created project with qpm install android.native.pri as described in the installation tutorial of the library. Go to a sub-directory cd vendor/android/native/pri and update the code with git checkout masterand git pull Go back to the root directory of your project and add a sub-directory android-sources Copy the AndroidManifext.xml file from the build directory of your project, that was created in step 2, to the new android-sources directory. Copy the build.grandle file from the build directory of your project, that was created in step 2, to the new android-sources directory. Add the following lines to this build.granle file: apply from: "androidnative.gradle" setAndroidNativePath("/../vendor/android/native/pri") Copy the androidnative.grandle file to the android-source directory. Add the AndroidManifest.xml and build.grandle to your project with the contextual menu for adding existing files in the file tree of your project in Qt Creator. Add these lines to your project's .pro file: include(vendor/vendor.pri) android { ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources } Now edit your main.cpp file and add the import statements and the following code snipped: #ifdef Q_OS_ANDROID #include "AndroidNative/systemdispatcher.h" #include "AndroidNative/environment.h" #include "AndroidNative/debug.h" #include "AndroidNative/mediascannerconnection.h" #include <QtAndroidExtras/QAndroidJniObject> #include <QtAndroidExtras/QAndroidJniEnvironment> JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void*) { Q_UNUSED(vm); qDebug("NativeInterface::JNI_OnLoad()"); // It must call this function within JNI_OnLoad to enable System Dispatcher AndroidNative::SystemDispatcher::registerNatives(); return JNI_VERSION_1_6; } #endif Finally you can add some code for a simple hello world example. Firs the Import statement. import QtQuick.Controls 2.0 import AndroidNative 1.0 as AN Then some QML code inside the Window element: title: qsTr("Hello World") AN.Share { id: an } Button { text: "Share" onClicked: { an.shareContent( { // leave it empty for a stupid example } ); } } You find more instructions here at Github.
  • Qt for MCU build as library

    Unsolved
    2
    0 Votes
    2 Posts
    251 Views
    SGaistS
    Hi, Qt for MCU being a commercial offering you should ask these questions directly to the Qt Company.
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    16 Views
  • java.lang.UnsatisfiedLinkError on Android 9 and 10

    Unsolved android sdk compatibility
    3
    2 Votes
    3 Posts
    2k Views
    H
    Check out the bug report. The only solution so far is to upload APK instead of ABB.
  • Unexpected U-Boot behavior when building Boot2Qt distro with Yocto

    Unsolved boot2qt u-boot yocto 5.13 thud
    1
    0 Votes
    1 Posts
    584 Views
    No one has replied
  • Problem with QMagnetometer et QAccelerometer under Qt 5.14.1 and Android

    Unsolved
    1
    0 Votes
    1 Posts
    271 Views
    No one has replied
  • QML Video not rendered

    Unsolved embedded linux qml gstreamer
    5
    1 Votes
    5 Posts
    1k Views
    SGaistS
    @sierdzio thanks for the example, I think the resolution type is a bit misleading with regard to the reason the bug was closed.
  • Cross-compiling for Altera SoC (DE1-SoC-MTL2) issue: "Unknown Module(s) in QT: quick"

    Unsolved
    2
    0 Votes
    2 Posts
    459 Views
    jsulmJ
    @tommyboy Does your cross compiled Qt also contain QtCharts module? Because the error you get says exactly this: QtCharts is not available. Cross compile QtCharts first.
  • QT Camera example

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    SGaistS
    As shown in the documentation I linked, you need a video sink named qtvideosink.
  • Open source mobile apps made with Qt?

    3
    0 Votes
    3 Posts
    771 Views
    K
    In fact, I have a few more, in addition to MagicPhotos, which is also mine: https://github.com/pocketpiglet https://github.com/christmas-tree-mobile https://github.com/longcat-mobile https://github.com/vkgeo Most of them are for Android and iOS, but some of them are Android-only or iOS-only (although porting to another OS should be trivial).
  • Building Qt for MCU Evaluation

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    O
    Hi MMMartin, It does look like you need to install the desktop MSVC2017 64 bit kit in order for the QT for MCU kit to compile. It would have helped if the install instructions in getting started with Qt for MCU video would have identified what components of Qt need to be installed if only Qt for MCU is desired, and not the entire Qt software, which is a huge install. The need for this is shown in the video at 13:00. Hope this helps, -onlyMCU
  • Embedding Android Activity in to QML window using the JNI

    Unsolved
    1
    0 Votes
    1 Posts
    168 Views
    No one has replied
  • QtQuick.Controls items error in iOS

    Unsolved
    6
    0 Votes
    6 Posts
    531 Views
    mmjvoxM
    compile QtQuick.Controls 2 from source solve this problem?
  • Setting up the android tool chain

    Solved
    4
    0 Votes
    4 Posts
    628 Views
    S
    Thanks, ( I have installed Qt5.14.1 and changed the Sdk to 26.x.x)
  • Error: Running app on Android

    Unsolved
    1
    0 Votes
    1 Posts
    271 Views
    No one has replied
  • Boot2Qt for Congatec Boards

    Unsolved
    2
    0 Votes
    2 Posts
    254 Views
    Pablo J. RoginaP
    @JoeF Hi, given that Boot2Qt is now Qt for Device Creation, and that component needs a commercial license, wouldn't you get better support from Qt directly? This is a community-driven forum