Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.5k Posts
  • 0 Votes
    1 Posts
    16 Views
    No one has replied
  • Android Full Screen issue

    Solved
    6
    0 Votes
    6 Posts
    118 Views
    B
    @ekkescorner , your post in another thread helped: https://forum.qt.io/post/829606
  • 0 Votes
    10 Posts
    188 Views
    B
    @ekkescorner said in Android 15 (API 35) / Qt 6.9.1: SafeArea=0 at startup in plain Window; content under notch/nav until TextField focus: BTW: if you want to opt-out from Android-35 edge-to-edge you have to add styles.xml and add in Manifest... activity... android:theme="@style/NormalTheme" see the details here: https://codereview.qt-project.org/c/qt/qtbase/+/630376 This worked for me...Thanks!
  • How to disable screensaver on Qt6.9.1 Android App

    Unsolved
    11
    0 Votes
    11 Posts
    228 Views
    SMF-QtS
    @SMF-Qt Ok giving up on a programatic C++ solution and going down the AndroidManifest.xml route. The setting of the screen in Landscape works <added: android:screenOrientation="landscape"> to the AndroidManifest.xml file. From the Android devlopers site [https://developer.android.com/develop/background-work/background-tasks/awake/screen-on] they recommend adding: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:keepScreenOn="true"> </RelativeLayout> I have tried this code in the AndroidManifest.xml file. However this results in a build error: AAPT: error: unexpected element <RelativeLayout> found in <manifest> Can anyone suggest the correct syntax and/or the correct file to include it in?
  • Android API - 35 issues in Qt 5.15.2

    Unsolved
    11
    0 Votes
    11 Posts
    348 Views
    ekkescornerE
    And here's what Qt says, if you want to opt-out from Android-35 edge-to-edge: you have to add styles.xml and add in Manifest... activity... android:theme="@style/NormalTheme" see the details here: https://codereview.qt-project.org/c/qt/qtbase/+/630376
  • QT_HOST_PATH is required to *use* Qt (6.9.1) on RPi

    Solved
    5
    0 Votes
    5 Posts
    48 Views
    S
    Yep, I was able to install everything I need from Qt6 on RPi Ubuntu. Setting... set(CMAKE_PREFIX_PATH "usr/lib/aarch64-linux-gnu/cmake/") ...allowed CMake to find everything. Like one of my highschool maths teachers used to say, "Don't do it how I've shown you on the board."
  • Boot to Qt for Raspberry pi Compute Module 5? (Plus IO board)

    Unsolved
    2
    0 Votes
    2 Posts
    48 Views
    SGaistS
    Hi and welcome to devnet, The CM5 seems to be based on the same hardware as the RPi5 so it's likely compatible with Boot2Qt. You might have better answer contacting the Qt Company directly since it's a commercial offering and this forum is user oriented.
  • 0 Votes
    2 Posts
    40 Views
    C
    it is Webview issue. will update soon when find the fix.
  • 0 Votes
    5 Posts
    109 Views
    JoeCFDJ
    @Pruza For android build VS C++ compiler is not needed anymore. You can simply do it with QtCreator.
  • Running A Profiled App on X86_64 Android Emulator Qt6.9.1

    Unsolved
    14
    0 Votes
    14 Posts
    317 Views
    SMF-QtS
    @SGaist Thanks but I have a quit button on my app which calls QWidget::close on the top level widget which shuts down my application apart from the database which is handled by main. I have set app->setQuitOnLastWindowClosed(true); and app->exec() is returning 0 so everything is shutdown. once app->exec() returns the database is closed and the app destructors are run via the delete app at the very end of main. I am confident having debugged the emulated version of my app that my code is shutting everything down and exiting with a return value of 0.
  • MediaPlayer VideoOutput SIGSEGV gst_v4l2_object_fill_format_list

    Unsolved
    12
    0 Votes
    12 Posts
    292 Views
    JoeCFDJ
    @petero3 does your code work on Ubuntu or Redhat? Is wayland applied in Yocto? If yes, the following envs are needed. #ifdef YOCTO setenv( "DISPLAY", ":0", 1 ); setenv( "GDK_BACKEND", "wayland", 1 ); setenv( "QT_QPA_PLATFORM", "wayland", 1 ); setenv( "XDG_RUNTIME_DIR", "/run/user/1000", 1 ); setenv( "WAYLAND_DISPLAY", "wayland-1", 1 ); setenv( "QT_QPA_FONTDIR", "/usr/share/fonts/truetype", 1 ); #endif
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    50 Views
    No one has replied
  • Qt Creator Android 15 adb.exe pull /system/bin/app_process64 error

    Unsolved
    8
    0 Votes
    8 Posts
    358 Views
    SMF-QtS
    @cristian-adam Tested qtcreator 17.0.1 with my Samsung A06 Phone and Tab9 Tablet and both now deploy correctly. Thankyou.
  • How to exclude host versions of Qt libraries from Yocto SDK / toolchain

    Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • Simplest way to add Wi-Fi support to a Qt demo application

    Unsolved
    5
    0 Votes
    5 Posts
    109 Views
    P
    Thank you. We have Laird's version of wpa_supplicant in our Yocto. Update is: We've done a POC using wpa_ctrl.c. Couple of issues currently: Initial connection works, but after restart, or reboot, wpa_supplicant fails to parse the conf file: failed to parse psk '*'. That was set using set_network ... psk ... scan while connected only shows currently connected SSID We've also done a POC using Qt Device Utilities and adding ConnMan to our Yocto too: That works better in terms of persisting the password. To stop ConnMan from trying to manage wired ethernet too, needed: [General] NetworkInterfaceBlacklist=eth0,eth1 Scanning for other Wi-Fi networks, while connected to one, is still an issue.
  • SSH to boot2qt stopped working

    Unsolved
    7
    1 Votes
    7 Posts
    850 Views
    Q
    I got this issue when I had VPN running.
  • Help for Qt for iOS with AdMob implementation

    Solved
    11
    0 Votes
    11 Posts
    942 Views
    S
    @Adla Thank you for sharing. GoogleMobileAds.framework in your Pods.zip works well. May I ask you how you generated this Pods.zip? I tried to generate it but it didn't work as yours. Here is my steps. Run Xcode Create an iOS app project with Interface: Storyboard Language: Objective-C pod init Edit Podfile pod 'Google-Mobile-Ads-SDK' pod install --repo-update But with the resulting GoogleMobileAds.framework, I got many errors, Undefined symbols for architecture arm64: "_$sBOWV", referenced from: $s15GoogleMobileAds24GADMarketplaceKitSignalsCMf in GoogleMobileAds(GADMarketplaceKitSignals.o) "$sScA15unownedExecutorScevgTj", referenced from: $sScTss5NeverORs_rlE8priority9operationScTyxABGScPSg_xyYaYAcntcfCyt_Tgmq5 in GoogleMobileAds(GADMarketplaceKitSignals.o) "$sScAMp", referenced from: _symbolic ______pSg ScA in GoogleMobileAds(GADMarketplaceKitSignals.o) ...
  • Qt 6.9.1 Android screen scale factor issues.

    Unsolved
    11
    0 Votes
    11 Posts
    367 Views
    ekkescornerE
    @SMF-Qt cool :)
  • mask and image overlay problem

    Unsolved
    3
    0 Votes
    3 Posts
    107 Views
    M
    Page { id: detailPage title: "Detail Page" property StackView stackView property int selectedIndex: -1 property real overlayOpacity: 0.5 property var maskImages: [ "qrc:/images_nose/nose_01.png", ] property string savePath: StandardPaths.writableLocation(StandardPaths.PicturesLocation) + "/QtMultiMedia" CaptureSession { id: captureSession camera: Camera { id: camera } audioInput: AudioInput {} imageCapture: ImageCapture { id: imageCapture onImageSaved: (id, path) => { console.log("📸 Fotoğraf kaydedildi:", path) } } recorder: MediaRecorder { id: recorder onRecorderStateChanged: console.log("🎥 Durum:", recorder.recorderState) onActualLocationChanged: (path) => console.log("🎞️ Video kaydedildi:", path) } //videoOutput: videoOutput videoOutput: videoFrame } Column { anchors.fill: parent spacing: 10 padding: 10 // Kamera + maske alanı Rectangle { id: previewArea width: parent.width * 0.95 height: parent.height * 0.7 color: "#000" // Kamera görüntüsü VideoOutput { id: videoFrame anchors.centerIn: parent width: videoFrame.paintedWidth height: videoFrame.paintedHeight fillMode: VideoOutput.PreserveAspectFit } // Maske overlay (aynı boyut ve pozisyon!) Image { id: overlay anchors.fill: videoFrame width: videoFrame.paintedWidth height: videoFrame.paintedHeight source: selectedIndex >= 0 && selectedIndex < maskImages.length ? maskImages[selectedIndex] : "" opacity: overlayOpacity visible: selectedIndex >= 0 fillMode: Image.PreserveAspectFit smooth: true } // Kamera kapalıysa bilgilendirme Text { anchors.centerIn: parent text: "📷 Kamera görüntüsü buraya gelecek" color: "white" font.pixelSize: 16 visible: !camera.active } } // Maske seçim satırı ScrollView { width: parent.width height: 60 Row { id: maskRow spacing: 8 padding: 4 Repeater { model: maskImages delegate: Rectangle { width: 48 height: 48 border.color: index === selectedIndex ? "red" : "#999" border.width: 2 radius: 4 Image { anchors.fill: parent source: modelData fillMode: Image.PreserveAspectFit } MouseArea { anchors.fill: parent onClicked: selectedIndex = index } } } } }
  • How to test Android native Java code in Qt project?

    Unsolved
    3
    0 Votes
    3 Posts
    117 Views
    F
    @danish777 Thank you! But I noticed that the same code appear twice in two git repository. (or may be the sub Android Studio project is a temporary one so does not need a repository?) And additionally, the gradle files is not identity so reproducibility might be a problem. Is this the commonly used approch in Qt for Android projects?