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
  • 0 Votes
    11 Posts
    1k Views
    S
    Sorry, I didn't realize someone had actually replied to this old thread. We determined it wasn't worth it and just used GStreamer directly (in C code, with the qmlglsink plugin). If I remember correctly, when I was trying the QtMultimedia route, after all my trouble, I was just barely able to get the basic example to work. As soon as I tried pulling in some other gstreamer elements to parse actual RTSP or other types, I had other library errors. Probably needed to link against more plugins or something. And it just wasn't worth the hassle to figure out the rest, especially considering I had to rebuild Qt from source every time I wanted to try. Not to mention the fact that even if I was successful, building Qt from source creates a serious challenge to our development workflow. We'd either have to host our custom built Qt somewhere, or just have every developer build from source themselves. Plus since then we've encountered some requirements that required pipeline manipulation that I don't think would have been possible through the QtMultimedia interface anyway. We've had to do some dynamic pipeline stuff that you really need to be able to write C code for. Tl;dr don't bother with QtMultimedia GStreamer on Android. Its either not possible or not worth the trouble.
  • How to compile an iOS application in Qt?

    Solved
    64
    0 Votes
    64 Posts
    18k Views
    S
    @BerndJ Great! Thank you, saved me a lot of time reading every possible (wrong) answer..
  • Qt 5.15.2 using SAME builtlibs directory for different ABIs

    Unsolved
    6
    0 Votes
    6 Posts
    329 Views
    J.HilkJ
    @Vince_SiriusXM yes, I have a static library that results in conflicts when compiling for different apks and I found this solution. Haven't had a Problem with it since then. Android section of the pro file: android { # Android Version code, needs to be upped by 1! ITERATION=24 ANDROID_VERSION_CODE = $$ITERATION QT += androidextras OBJECTS_DIR = generated/$${ANDROID_TARGET_ARCH}/obj .... LIBS += -L$$OUT_PWD/Dependencies/ThCommunication/ -lThCommunication_$${ANDROID_TARGET_ARCH} PRE_TARGETDEPS += $$OUT_PWD/Dependencies/ThCommunication/libThCommunication_$${ANDROID_TARGET_ARCH}.a .... }
  • Qt Quick vs Flutter

    Locked Unsolved
    38
    1 Votes
    38 Posts
    21k Views
    J.HilkJ
    @sierdzio yeah, I'll close this topic, starting to attract bots and no related comment in years.
  • 0 Votes
    5 Posts
    857 Views
    jsulmJ
    @Nitish875 said in Build error: 10:20:04: The kit supports "arm64-v8a", but the device uses "x86_64". Error while building/deploying project daqudwqw (kit: Android Qt 6.5.3 Clang arm64-v8a) When executing step "Deploy to Android device": same issue I am getting but unable to find the solution Did you try what was suggested in that thread? "already i changed but getting same issue always" - what exactly did you change? You need to select a different Kit (one that matches the target device architecture).
  • QT Version reports failed to detect ABIs when trying to setup Android

    Unsolved
    25
    1 Votes
    25 Posts
    5k Views
    J
    @PR1G0RYAN QTCreator has a bug where it defaults to compiling with QT6 for Android. If you want to use QT5.15, please refer to my reply in the other thread.
  • QFontDatabase: Cannot find font directory /usr/local/qt5pi/lib/fonts.

    Solved
    7
    0 Votes
    7 Posts
    10k Views
    SGaistS
    @lilili hi and welcome to devnet, By following the information from the link posted by @Pablo-J-Rogina.
  • Suddenly getting a libGL error out of the blue -> .so file issue

    Unsolved
    3
    0 Votes
    3 Posts
    536 Views
    C
    @JoeCFD Thanks for the input, but I ended up using a new image.
  • How to move widgets between screens

    Unsolved
    6
    0 Votes
    6 Posts
    440 Views
    S
    @SGaist Thanks both of you. But Ive swapped to X11 and that fixed my problems.
  • QTimers when the app is in the background?

    Unsolved
    3
    0 Votes
    3 Posts
    255 Views
    jsulmJ
    @RogueWarrior https://doc.qt.io/qt-6/android-services.html https://developer.apple.com/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app
  • ITMS-91053: privacy manifest question about PrivacyInfo.xcprivacy

    Unsolved
    2
    0 Votes
    2 Posts
    584 Views
    kindidK
    Adding PrivacyInfo.xcprivacy to your iOS/macOS App NOTES NOTE : Your post does not tell me if you're trying to release for iOS or macOS - hopefully this addresses both NOTE : I found this same issue late last night. I've coded what you will see below but as it is a long weekend at Apple HQ I'm still waiting for my app to be reviewed. I will update if these instructions need changing. As of May 1st 2024 Apple require your application to identify the reasons that various OS features are used. This is mostly to deter the use of information such as boot time and file system statistics to fingerprint users without their permission. One needs to create a PrivacyInfo.xcprivacy file and place it in your app bundle. This file is an XML file in PLIST format (XML not binary). Essentially the file has the same content on both platforms but the app bundle location is different. iOS : PrivacyInfo.xcprivacy files is located in the bundle root macOS : PrivacyInfo.xcprivacy files is located in Content/Resources My project still uses qmake (for a lot of reasons). If you're using CMake please adjust your instructions (if you are then a follow-up with CMake instructions would be beneficial to all) Note that I have ios and macos folders under my project root that contain platform specific files. Add this code to your qmake files.. ios { app_privacy_declarations.files = $$files($$PWD/ios/PrivacyInfo.xcprivacy) QMAKE_BUNDLE_DATA += app_privacy_declarations } NOTE is have not tested this macOS as I have not released a macOS application yet. macx { app_privacy_declarations.path = Contents/Resources app_privacy_declarations.files = $$files($$PWD/macos/Contents/Resources/PrivacyInfo.xcprivacy) QMAKE_BUNDLE_DATA += app_privacy_declarations } Here is my PrivacyInfo.xcprivacy file. I will admit I don't quite understand the root cause for all the warnings. Some are, clearly, from Qt's libraries whereas others are from my purchasing library. As long as we obey "the letter of the law" in terms of Apple's rules on fingerprinting and taking data off device we will be fine. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSPrivacyAccessedAPITypes</key> <array> <dict> <key>NSPrivacyAccessedAPIType</key> <string>NSPrivacyAccessedAPICategorySystemBootTime</string> <key>NSPrivacyAccessedAPITypeReasons</key> <array> <string>35F9.1</string> </array> </dict> <dict> <key>NSPrivacyAccessedAPIType</key> <string>NSPrivacyAccessedAPICategoryFileTimestamp</string> <key>NSPrivacyAccessedAPITypeReasons</key> <array> <string>C617.1</string> </array> </dict> <dict> <key>NSPrivacyAccessedAPIType</key> <string>NSPrivacyAccessedAPICategoryDiskSpace</string> <key>NSPrivacyAccessedAPITypeReasons</key> <array> <string>E174.1</string> </array> </dict> <dict> <key>NSPrivacyAccessedAPIType</key> <string>NSPrivacyAccessedAPICategoryUserDefaults</string> <key>NSPrivacyAccessedAPITypeReasons</key> <array> <string>CA92.1</string> </array> </dict> </array> </dict> </plist> LINKS Please find additional content on the Apple website https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle
  • Developing iOS App Without macOS Laptop - Workarounds?

    Unsolved
    1
    0 Votes
    1 Posts
    136 Views
    No one has replied
  • Connect Android Device with WiFi from Qt Creator?

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    8Observer88
    I enabled "USB debugging" and "Wi-Fi debugging". But how does the "Set up Wi-Fi" button work? I tried to press it, but when I disconnect the USB cable, the connection is lost. [image: 506f63f0-b6b1-4ac2-9c01-e9e0efdab9fe.png] I tried the commands from the post above but it doesn't work: E:>adb devices List of devices attached 099284036J008264 device 192.168.1.65:5555 offline E:>adb tcpip 5555 error: more than one device/emulator E:>adb connect 192.168.1.65:5555 cannot connect to 192.168.1.65:5555: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
  • QGroundcontrol android build not connecting to usb (sik radio, pixhawx)

    Unsolved
    1
    0 Votes
    1 Posts
    141 Views
    No one has replied
  • QT 5.15 - ToradexIMX8mp

    Unsolved
    2
    0 Votes
    2 Posts
    181 Views
    jsulmJ
    @sanket_1989 said in QT 5.15 - ToradexIMX8mp: While running the application in different screen its cant adept the screen size runtime Are you using layouts? "it is open in new window instead of in QGraphics view" - show your code and also tell us what OS and window manager is running on your board.
  • QML: audio plays correctly but the video doesn't

    Moved Unsolved
    2
    1 Votes
    2 Posts
    473 Views
    K
    @Nekk I meet the same situation on Yocto Kirkstone for iMX8.
  • Issue with CameraPermission requests on iOS with Qt 6.6[.1]

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    M
    I caused the problem myself: Check for details Not sure if anything I learned applies to you.
  • Unable to debug Android App (Windows + Qt Creator 12 + LLDB)

    Unsolved
    169
    0 Votes
    169 Posts
    61k Views
    Axel SpoerlA
    @esnosy said in Unable to debug Android App (Windows + Qt Creator 12 + LLDB): EDIT: I take it back Does that mean, you are still struggling?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • How to Enable Background Playback for an MP3 Player in Qt 6.6 Android App?

    Unsolved
    3
    0 Votes
    3 Posts
    247 Views
    J
    @jsulm Thank you for your confirmation. AI, whether it's GPT-3.5 or 4.0, cannot distinguish whether it is referring to Qt 5 or Qt 6, which is really frustrating!