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
  • Android app crashes when I add an AndroidManifest.xml

    Unsolved
    5
    0 Votes
    5 Posts
    980 Views
    S
    I set the Android Build SDK to android-28 and ran into the same issue. The test device is currently running Android 11, would that have any effect? My manifest currently looks like this in the editor: [image: c897fc3e-c8ca-4106-8c72-d5ca7c80f7e0.png] image url)
  • App auto-update iOS

    Unsolved
    2
    0 Votes
    2 Posts
    230 Views
    SGaistS
    Hi, No it's not.
  • `main.qml` loaded only after the execution of a function called after

    Solved
    6
    0 Votes
    6 Posts
    806 Views
    aminaA
    Thank you so much ! I am new to Qt I also tried this and I didn't now why my counter was incremented 2 times every time out ! now that you clarified that I had 2 objects everything make sense !Thank you int counter=0; void Capteur::onTimeoutfrein() { counter++; qDebug() <<"time is up"<<counter;/ if (getFrein()==0) { setFrein(1); qDebug() <<"le frein à main est levé" << getFrein(); } else {setFrein(0); qDebug() <<"le frein à main est bas" << getFrein(); } }
  • How to fill destination automatically in default map application in your device

    Unsolved
    2
    0 Votes
    2 Posts
    200 Views
    SGaistS
    Hi, Aren't you missing the "?" for your Apple Maps call ?
  • QT as framework for iOS

    Unsolved
    2
    0 Votes
    2 Posts
    254 Views
    SGaistS
    Hi and welcome to devnet, You can install the Qt for iOS build using the online installer from the Qt Company.
  • eglfs_viv: Failed to open device

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    Pablo J. RoginaP
    @Francois-W said in eglfs_viv: Failed to open device: [ 5] _OpenDevice(1245): FATAL: Failed to open device, errno=No such file or directory Have you checked this error? What is missing? library, device, environment variable? Not that I have much experience with IMX6 devices myself, but given the error above, it looks like you have some issues with the EGLFS device, and I'd say not related to Qt framework. Have you tried running some other non-Qt application under EGLFS just to try your environment in the device?
  • QML dynamic Scatter chart issues

    Unsolved
    1
    0 Votes
    1 Posts
    215 Views
    No one has replied
  • CameraBin error: "Internal data stream error."

    Unsolved
    5
    0 Votes
    5 Posts
    3k Views
    BluseliB
    @SGaist Yes, I checked the dmesg log The camera driver seems to be OK, and I have output the camera preview image to the touch screen. The GST command is like this:"gst-launch-1.0 -v v4l2src device=/dev/video0 ! fbdevsink" I'm confused that I started the application in the form of eglfs, or tried other platforms and development boards, and the camera program worked well. But on the 157 development board, using linuxfb, he crashed. There seems to be no problem with the camera driver and the program, but it just crashed. Now, I plan to use the GST command in a thread to achieve preview. Thank you very much!
  • Qt Android Firebase Push Notification

    Unsolved
    1
    0 Votes
    1 Posts
    196 Views
    No one has replied
  • Callback C++ function from Java: object references mismatch

    Unsolved
    1
    0 Votes
    1 Posts
    229 Views
    No one has replied
  • IMX8: Audio through qt multimedia module not working

    Unsolved
    6
    0 Votes
    6 Posts
    635 Views
    Pablo J. RoginaP
    @vipul-kumar said in IMX8: Audio through qt multimedia module not working: resolved the issue. great. Thank you for sharing and please don't forget to mark your post as solved!
  • Should QDialogs on Android automatically recentre when orientation changes?

    Unsolved
    4
    0 Votes
    4 Posts
    651 Views
    M
    As a workaround I'm making all my QDialogs fullscreen (which they are on iOS anyway): ... auto mainlayout = new QVBoxLayout(); setWindowState(Qt::WindowFullScreen); mainlayout->addStretch(1); mainlayout->addWidget(m_prompt); mainlayout->addStretch(1); ...
  • QT for Snapdragon HDK and Jetson Xavier NX

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    jsulmJ
    @Inevo Yes, you can use Python (PyQt, PySide). No, QML is not mandatory, you can use QtWidgets.
  • QTBluetooth not found ?

    Unsolved
    2
    0 Votes
    2 Posts
    585 Views
    jsulmJ
    @MaikTheBike said in QTBluetooth not found ?: what the difference between Clang armeabi v8a, v7a, x86 and x86_64 is ? These are different processor architectures/instruction sets. Which you need depends on what device/emulator you're targeting. QtBluetooth is not part of Qt6.0, use Qt5 for now.
  • How to catch onRequestPermissionsResult for QtActivity in Android 6?

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    A
    [image: 5cc0b249-ccf6-4e71-ba8e-dfaa2164ad36.png] It work after import androidx.appcompat.app.AppCompatActivity;
  • what is way to know we already displayed given directory on ui screen ?

    Solved
    7
    0 Votes
    7 Posts
    576 Views
    jsulmJ
    @Qt-embedded-developer You could simply use a https://doc.qt.io/qt-5/qset.html where you store already loaded directories (QString) and check it before loading new directories...
  • how to remove custom colors option from qdialog

    Unsolved
    4
    0 Votes
    4 Posts
    492 Views
    SGaistS
    The same answer still applies. QColorDialog by default uses the system dialog. What exactly are you after ?
  • QT Android audio stream type

    Solved
    3
    0 Votes
    3 Posts
    644 Views
    N
    I'm trying to use QAudioInput and QAudioOutput with a bluetooth headset as well. My app works with QAudioOutput to the headset but wont use the bluetooth mic vie QAudioInput. Can you tell me what 'switching the device to communication mode' means? I am testing with an M98 heaset and Samsung S8 phone.
  • Error when using checkPermissions

    Unsolved android permissions
    4
    0 Votes
    4 Posts
    1k Views
    KroMignonK
    @GangsterV said in Error when using checkPermissions: For extra information, I'm using Qt 5.12.3, building on Android arm64-v8a using qmake. One other point, I've forgotten to ask: did you enable Android Extras in your PRO file (QT+= androidextras)?
  • One Finger Swipe / Gestures

    Unsolved gestures c++ ios android
    8
    1 Votes
    8 Posts
    12k Views
    SeeLookS
    @Qt-embedded-developer I'm sorry but I don't remember well... It was long time ago and I ported my app to QML since then. In QML it is much much easier to achieve such things. I tried to dig the old QtWidgets code but I've not found where it was yet.