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
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    23 Views
    No one has replied
  • Merging My Standard Makefile with a Qmake-generated Makefile?

    qmake makefile
    5
    0 Votes
    5 Posts
    3k Views
    V
    Is there a way to specify a custom Makefile file name inside the .pro file itself, so that it doesn't need to be provided externally on the command line?
  • Qt 5.14.2: Android application crashed. Why?

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    M
    Haha I think I did it :D After just changing <meta-data android:name="android.app.extract_android_style" android:value="default"/> to <meta-data android:name="android.app.extract_android_style" android:value="none"/> in my AndroidManifest.xml the issues seems to be gone :D
  • QPushButton not loading next screen

    Unsolved
    15
    0 Votes
    15 Posts
    1k Views
    Axel SpoerlA
    Just to manage expectations: The loggers will tell you what happened, not why it happened. If the application uses a static variable, the initialisation of which you won’t show, if it uses system calls and can’t be compiled on a desktop, there’s a severe architecture problem. Don’t expect more help here. Better fix the application.
  • Android debugging stopping in disassembly in Qt Creator [your +1 is needed]

    Solved
    3
    4 Votes
    3 Posts
    566 Views
    cristian-adamC
    We have a fix for the Android debugging going to disassembly. It's as simple as setting settings set plugin.jit-loader.gdb.enable off in Preferences > Debugger > GDB > Additional Attach Commands! With this debugging is fast, and reliable. It doesn't stop in disassembly anymore. 🥳
  • Discovery BT LE with adapter off on Android

    Unsolved
    1
    0 Votes
    1 Posts
    62 Views
    No one has replied
  • Video playback lagging in qt app running on rasp pi 4

    Unsolved
    2
    0 Votes
    2 Posts
    127 Views
    jsulmJ
    @Gautham-G-B Just to make sure I understand correctly: do you show only one video at given time or several?
  • The module "positioning" is missing in ios qt?

    4
    0 Votes
    4 Posts
    3k Views
    osirisgothraO
    Its funny, modules such as these even though they are not mentioned as dependencies, they often "go together", I myself assume if one is installed the other is, but it seems that is not the case and you must specifically ask for each of these per each version to have them installed and available: webkit/engine->webkit/enginewidgets->positioning, all in the maintenence tool but hiding under the <version>->extensions group. Also note that QT does minimal or no set-up of your environment when it comes to runtime libraries. You will find more often than not that you have to either put these libraries into your system's library install folders OR (what I prefer to do) tell your library config tool about the additional locations. Example: For Linux 64-bit debian distributions: /etc/ld.so.conf.d/x86_64-linux-gnu.conf holds locations of all 64-bit libraries. Note there are some naming and directory structure requirements for complex hardware architecture requirements such as sub-archetecture (for example, under x86, we have emt64, mmx, etc) please see your system's ld.so(8) manpage for your system's specific understanding of that (yes the manpages can and will differ from system to system).
  • Qt6 CMake install java files

    Solved
    3
    0 Votes
    3 Posts
    426 Views
    M
    Ok instead of copying (and purging) all needed subproject java source files, I solved this issue by having a function in my root projects cmake that append to a global variable: function(include_java_sources PATH) # Create variable for additional subfolders for plugin sources message(STATUS "including extra java sources from path: ${PATH}") set_property(GLOBAL APPEND PROPERTY JAVA_SRC_DIRS "\"${PATH}\"") endfunction() which I call for each subproject to include the needed source directories. Those variable then later gets parsed and inserted into an additional build.gradle file: # Include supproject java source directories get_property(java_dirs GLOBAL PROPERTY JAVA_SRC_DIRS) #message(STATUS "ALL_JAVA_SRC_DIRS: " ${java_dirs}) # Join the paths into a comma-separated string or Gradle list and write to a .gradle file string(JOIN ", " gradle_joined ${java_dirs}) file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/android/java_dirs.gradle" "ext.extraJavaDirs = [${gradle_joined}]") And finally in my root project build.gradle file I can utilize this and forward it to the project sourceSets: // import generated java_dirs.gradle if present def extraPathsFile = new File(rootDir, "java_dirs.gradle") if (extraPathsFile.exists()) { apply from: extraPathsFile println("Reading extra Java Dirs: " + extraJavaDirs) } ... java.srcDirs = [extraJavaDirs, qtAndroidDir + '/src', 'src', 'java']
  • Qt Android MediaPlayer for .mp3 files not working

    Solved
    6
    0 Votes
    6 Posts
    514 Views
    M
    seems like this was actually a bug and should be fixed in Qt6.10: https://bugreports.qt.io/browse/QTBUG-138057 So for no I am using .wav files instead and wait for Qt to release 6.10 stable
  • Qt6::Multimedia. It fails to build for iOS SImulator target

    Unsolved
    7
    0 Votes
    7 Posts
    968 Views
    N
    I had to add this to CMakeLists.txt: https://doc.qt.io/qt-6/qt-add-ios-ffmpeg-libraries.html
  • 0 Votes
    3 Posts
    216 Views
    aha_1980A
    @houyawei It may sound silly, but can you try to run the project from a shorter file path?
  • 0 Votes
    6 Posts
    557 Views
    SGaistS
    Another workaround I could see (but it's just an idea) is to have a transparent layer between the popup and the rest of the application so you don't have add that disabling logic everywhere.
  • How to display output from Qt Android service process in QtCreator?

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    C
    @piervalli Oh, that's new, I'll try it out. Thanks!
  • How To Add Dependency On androidx.exifinterface.media.ExifInterface

    Solved
    2
    0 Votes
    2 Posts
    310 Views
    KenAppleby 0K
    Putting additional dependencies directly in the android/build.gradle file is the correct way to do it, apparently. This will only be overwritten if you generate templates again.
  • QtQuick with rotary encoder to navigate Menu and adjust Slider, SpinBox etc

    Unsolved
    1
    0 Votes
    1 Posts
    132 Views
    No one has replied
  • 0 Votes
    3 Posts
    383 Views
    JKSHJ
    @TP850 Have you installed Qt for Android yet?
  • [Need Help]: Qt5.15 support iOS TLS 1.3

    Solved
    9
    0 Votes
    9 Posts
    898 Views
    C
    Thanks @hskoglund @SGaist @JKSH Now solved, and build qt can communicate with TLS 1.3 server. After link with OpenSSL, need load cert files to support, system default one will be blank. Cheers. thanks all!
  • Qt 6.9.1 Android App Not Initialising and Not Obeying Safe Areas

    Solved
    4
    0 Votes
    4 Posts
    441 Views
    KenAppleby 0K
    It seems this is QTBUG-135808. Also the updateNativeActivity issue is benign and unrelated.
  • Remote debugging using QT Creator

    Unsolved
    4
    0 Votes
    4 Posts
    491 Views
    aha_1980A
    @Nikolay-Levun We don't use Raspberry (Toradex Apalis instead) but doing exactly what you described: local front panel operation, display and remote debugging from Qt Creator. So that should be working. Regards