Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.6k Posts
  • QtCreator App Output Panel: stop/filter Android Messages

    Unsolved
    2
    0 Votes
    2 Posts
    34 Views
    Axel SpoerlA
    I guess you mean android debugging messages, not related to QLoggingCategory. From the top of m head, I see several ways to achieve less verbosity: Filter field: If you search a specific phrase, just enter it in the search field and anything else will be muted. Adb settings: In the Android Kit's Android Settings, you can toggle "Show logcat output" Specific logcat filters in Tools->Devices->Android
  • Potential Qt5 bug on Android. Screen.Width * Screen.devicePixelRatio off by 1 pixel

    Unsolved
    3
    0 Votes
    3 Posts
    95 Views
    NihilishN
    @JKSH Thank you, this is exactly what I'm seeing. As a workaround before we migrate to Qt 6, we tried removing this flag AA_EnableHighDpiScaling and while it does get rid of the white line, it breaks other things
  • Boot to Qt for Raspberry pi Compute Module 5? (Plus IO board)

    Unsolved
    3
    0 Votes
    3 Posts
    95 Views
    G
    @ant1882 Has anyone found a solution for this? I managed to get Boot2Qt running on a Raspberry Pi Compute Module 5, but I’m experiencing a display issue. The screenshot below shows what appears on the monitor. Does anyone know how to fix this? [image: 7a7cddc3-f6c5-430d-8145-1776ac9a8e46.jpg]
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Boot to Qt does not work with raspberry pi 5's touch display 2.

    Solved
    2
    0 Votes
    2 Posts
    53 Views
    SGaistS
    Hi and welcome to devnet, Since you marked your ticket as solved, can you share what you did to fix your situation ?
  • Cross Compiling Qt6 using Cmake for Beagleplay

    Unsolved
    1
    0 Votes
    1 Posts
    36 Views
    No one has replied
  • CMake error 'The CXX compiler identification is unknown' for Android developing only

    Solved
    2
    0 Votes
    2 Posts
    65 Views
    G
    Hello, I solved the problem uninstalling all QT suite and reinstalling it. Everything is fine. Bye
  • Why Does My Qt UI Scale Differ on Android Compared to Qt Creator Preview?

    Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • Android: Find suitable folder for the app data and debugging

    Unsolved
    3
    0 Votes
    3 Posts
    75 Views
    Andy314A
    I figuered out: The folder is not the problem, the App has full access to it. The problem are rights for the file(s). If I copy a file via Android Studio, the app has no rights to read it. Then I have packted the database-file in a resource of the exe and installed it during the app start in a folder. All works fine then. But every reinstallation of the app removes all rights for the file. I must activate "deinstall old application befor deployment", because without it I cannot switch between release and debug version. Whats the common best practise for this problem ?
  • How to get QImage from QVideoSink in Android ?

    Solved
    8
    0 Votes
    8 Posts
    165 Views
    S
    Partial solution is found: https://bugreports.qt.io/browse/QTBUG-138915
  • How to step into qt lib code in Android durring debugging ?

    Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • QOpenGLWidget not working on iOS 18 (e.g. hellogl2 example)

    Unsolved ios opengl es
    5
    0 Votes
    5 Posts
    138 Views
    SGaistS
    Sure thing ! No problem with asking first here :-) Thanks for the link !
  • Getting AssetManager pointer from AAssetManager_fromJava (Android Qt6.9.1)

    Unsolved
    1
    0 Votes
    1 Posts
    53 Views
    No one has replied
  • Finding config files in Android runtime deployments (Qt6.9.1)

    Unsolved
    9
    0 Votes
    9 Posts
    220 Views
    SMF-QtS
    @Axel-Spoerl said in Finding config files in Android runtime deployments (Qt6.9.1): QDirIterator it(":", QDirIterator::Subdirectories); while (it.hasNext()) qInfo() << it.next(); Thanks for that but I see files I have in my images directory and stuff from the qt project but nothing from :/assets, but as I said the file is there if I unpack the Apk file. Do I need to add something to the AndroidManifest.xml or my qrc file ?
  • Qt for UEFI platforms?

    8
    1 Votes
    8 Posts
    3k Views
    RokeJulianLockhartR
    @neuehier, although not 1:1, wxWidgets is usable for EFI GUIs (I've a LINX 1010 with one), and it can delegate to wxQt when required. I can't imagine a situation in which you'd run the preboot application outside of a preboot environment, though, so, in practice, it wouldn't delegate to it frequently. If you needed the application to be versatile enough to be able to operate in both environments, though, it'd work.
  • QT for Qnx Project Configuration / Kit Error

    Unsolved
    7
    0 Votes
    7 Posts
    178 Views
    jsulmJ
    @zvoopz said in QT for Qnx Project Configuration / Kit Error: Look at the sreenshots he has provided - qmake This is how you add a Qt version in QtCreator - by pointing to qmake
  • How to disable screensaver on Qt6.9.1 Android App

    Unsolved
    16
    0 Votes
    16 Posts
    470 Views
    SMF-QtS
    I have tried various ways to get "getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)" running however the only solution that works for me is to put it in the "onCreate" method in the QtActivity java class (Qt6.9.1) . It really needs to be conditional but I don't know enough about java to do that. Any suggestions welcome.
  • Qt6 Gettting Android Battery Data.

    Solved
    5
    0 Votes
    5 Posts
    167 Views
    SMF-QtS
    @SMF-Qt Found the solution: changed the static method call in my C++ file to: batteryLevel = QJniObject::callStaticMethod<jdouble>("QtBattery","getBatteryPercentage",QNativeInterface::QAndroidApplication::context()); And it now works.
  • Running A Profiled App on X86_64 Android Emulator Qt6.9.1

    Unsolved
    15
    0 Votes
    15 Posts
    624 Views
    SMF-QtS
    @SMF-Qt I have noticed that after I click the Quit button and my application has exited main I sometimes get the following abort message from the QtCreator debugger: W/qtMainLoopThrea: type=1400 audit(0.0:64483): avc: denied { read } for name="/" dev="tmpfs" ino=1 scontext=u:r:untrusted_app:s0:c209,c256,c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=0 app=com.home.QtTest4 W/qtMainLoopThrea: type=1400 audit(0.0:64484): avc: denied { read } for name="devices" dev="sysfs" ino=4521 scontext=u:r:untrusted_app:s0:c209,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0 app=com.home.QtTest4 D/EGL_emulation: app_time_stats: avg=171.19ms min=6.22ms max=947.76ms count=6 I/ImeTracker: com.home.QtTest4:89e0e728: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false I/ImeTracker: com.home.QtTest4:c4e121a7: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false D/EGL_emulation: app_time_stats: avg=2462.04ms min=33.03ms max=10232.86ms count=5 I/default : main() returned 0 D/VRI[QtActivity]: visibilityChanged oldVisibility=true newVisibility=false W/default : java.lang.NullPointerException: Attempt to invoke virtual method 'void android.content.Context.unregisterReceiver(android.content.BroadcastReceiver)' on a null object reference W/default : at org.qtproject.qt.android.network.QtNetwork.unregisterReceiver(QtNetwork.java:49) W/default : at org.qtproject.qt.android.QtNative.startQtApplication(Native Method) W/default : at org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run(D8$$SyntheticClass:0) W/default : at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25) W/default : at java.lang.Thread.run(Thread.java:1012) W/default : F/libc : FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x749993a02ab8) F/libc : FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x749993a02ab8) F/libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20289 (hwuiTask0), pid 20225 (.home.QtTest4) 09:24:14: Android target "com.home.QtTest4" died.
  • meta-qt6 has tag v6.8.4-lts but not v6.8.4

    Unsolved
    5
    0 Votes
    5 Posts
    131 Views
    SGaistS
    Hi, If memory serves well, it was usually around every three releases. 5.6 -> 5.9 -> 5.12 -> 5.15. 6.5 -> 6.8