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
  • correct Android SDK and NDK to be used with Qt 5.12.1?

    Unsolved
    15
    0 Votes
    15 Posts
    8k Views
    A
    Note that this has been documented properly in the patch in https://bugreports.qt.io/browse/QTBUG-81752. Mainly: Qt 5.11 and below use NDK r10e with GCC toolchain. Qt 5.12.0 to 5.12.5 and Qt 5.13.0 to 5.13.1, use NDK r19c with android-clang toolchain Qt 5.14+, Qt 5.13.2+ and Qt 5.12.6+ use NDK r20b or r21 with android-clang toolchain Also, NDK selection should be automatic starting from Qt Creator 4.12, so you won't need to worry about this then.
  • WinCE build with Qt4.8 and VS2008

    Unsolved
    4
    0 Votes
    4 Posts
    330 Views
    SGaistS
    Go to the kit page and check if there's a warning or error signal before your kit.
  • Troubles with QtAndroidTools

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    DoohamD
    @Dooham Ok I found the trouble. You have to add the following lines to the build.graddle: aaptOptions { noCompress 'rcc' } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/license.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/notice.txt' exclude 'META-INF/ASL2.0' } Almost every trouble that I had was related with this file, I let you the final build.gradle that I use and it seems works: buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.0' } } repositories { google() jcenter() } apply plugin: 'com.android.application' dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) implementation 'com.android.support:support-v4:26.+' implementation 'com.google.android.gms:play-services-ads:16.+' implementation 'com.google.android.gms:play-services-auth:16.+' implementation 'com.google.http-client:google-http-client-gson:1.26.0' implementation('com.google.api-client:google-api-client-android:1.26.0') { exclude group: 'org.apache.httpcomponents' } implementation ('com.google.apis:google-api-services-drive:v3-rev173-1.25.0') { exclude group: 'org.apache.httpcomponents' } } android { /******************************************************* * The following variables: * - androidBuildToolsVersion, * - androidCompileSdkVersion * - qt5AndroidDir - holds the path to qt android files * needed to build any Qt application * on Android. * * are defined in gradle.properties file. This file is * updated by QtCreator and androiddeployqt tools. * Changing them manually might break the compilation! *******************************************************/ compileSdkVersion androidCompileSdkVersion.toInteger() buildToolsVersion androidBuildToolsVersion sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java'] aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl'] res.srcDirs = [qt5AndroidDir + '/res', 'res'] resources.srcDirs = ['src'] renderscript.srcDirs = ['src'] assets.srcDirs = ['assets'] jniLibs.srcDirs = ['libs'] } } lintOptions { abortOnError false } aaptOptions { noCompress 'rcc' } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/license.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/notice.txt' exclude 'META-INF/ASL2.0' } }
  • Android OpenSSL .so

    Solved
    2
    0 Votes
    2 Posts
    609 Views
    KutyusK
    Ok, I use wrong version .so-s, I replaced them to libssl_1_1.so and libcrypto_1_1.so, and working.
  • How to run qt application on embedded linux target

    Unsolved
    2
    0 Votes
    2 Posts
    514 Views
    Y
    QT_PLUGIN_PATH QT_QPA_PLATFORM_PLUGIN_PATH You can try to set the QT_PLUGIN_PATH and QT_QPA_PLATFORM_PLUGIN_PATH environment variable.
  • Font corruption using OpenGL rendering

    Unsolved
    5
    0 Votes
    5 Posts
    741 Views
    P
    @kshegunov thank you for reply! Just FYI, the link to the bug: https://bugreports.qt.io/browse/QTBUG-82703
  • Locals and Expressions window is blank

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    M
    Hi, I've already solved it. I have installed gdb-multiarch on my development host (Ubuntu): sudo apt-get install gdb-multiarch Then in the Debuggers tab of QtCreator I have added a new manual entry: Name: Multiarch GDB Path: /usr/bin/gdb-multiarch And in the target Kit tab of QtCreator I have selected Multiarch GDB as my Debugger. Thanks.
  • Run QT application on boot using Android boot complete intent

    Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    jsulmJ
    @namduc What I meant was that there should be already kiosk mode in Android in recent versions, so no need to implement it. My guess is that you need to activate it on the device.
  • Android Qt Widgets rendering black background in some times

    Unsolved
    3
    0 Votes
    3 Posts
    419 Views
    M
    I don't know, but as your Android is very old, it could be that older versions of Android SDK and NDK could work better... And as for Qt, the latest versions for Android seem to be full of bugs for Android, so I'd try an older version for that too (which would mean Android tools for that version). There could of course be issues with the device. I'd try changing its GPU & related settings even if they would in theory have no role here.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • [SOLVED] How to store a qimage to iOS Camera Roll (Photo Album) ?

    11
    0 Votes
    11 Posts
    6k Views
    CharbyC
    @SGaist I will as soon as the new offering will be available. Thanks
  • Android gestures

    Unsolved
    3
    0 Votes
    3 Posts
    438 Views
    M
    I've never read anyone succeed in this and if you don't get events for the other finger, it might be impossible.
  • How to draw UTM coordination as 2D on QGraphicsView? Help me guys...

    Unsolved
    2
    0 Votes
    2 Posts
    191 Views
    SGaistS
    Hi, See this thread.
  • Can't Receive Data from Desktop (Qt C++) to android (java)

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

    Unsolved
    2
    0 Votes
    2 Posts
    9 Views
  • How to add a ios-framework to qt-project ?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    D
    @Kegin (and anybody else who stumbles on this), see this comment and mine following it: https://bugreports.qt.io/browse/QTBUG-51951?focusedCommentId=457045&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-457045 Summarized, you need to spec the framework in QMAKE_BUNDLE_DATA and then add a linker switch to make sure the executable can find it at run time.
  • 0 Votes
    4 Posts
    1k Views
    SGaistS
    Then one way would be to use QWebChannel.
  • Buggy before resize and AndroidManifest.xml ignored

    Solved
    1
    0 Votes
    1 Posts
    138 Views
    No one has replied
  • QML swipeview setting length of swipe

    Unsolved
    1
    0 Votes
    1 Posts
    241 Views
    No one has replied
  • Raspberry pi 4 two monitors

    Unsolved
    4
    0 Votes
    4 Posts
    474 Views
    SGaistS
    Then AFAIK, no, I would recommend taking a look at the QtWayland module for that kind of setup.