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
  • software engineering/design services

    Unsolved
    3
    0 Votes
    3 Posts
    32 Views
    KH-219DesignK
    I agree that KDAB is well-known (and well regarded!) in the Qt world. If the Qt Company does not formally recommend KDAB I would be shocked. Many KDAB blog posts and video presentations are practically required reading for any developer wishing to maximize their mental model of the Qt framework. In addition to design firms that have been explicitly recommended by Qt Company, you can find other design firms participating here in this forum. I, myself, work at 219 Design in Mountain View, California, and Qt (desktop, embedded, and mobile) is a big part of what we do—though by no means the sum total of our services. We are interdisciplinary (ME/EE/FW/SW). My forum posts: https://forum.qt.io/user/kh-219design/posts (only visible to logged-in forum members). I have also seen Viking Software post in the forums in the past. https://forum.qt.io/user/bo-thorsen-0/posts
  • Android build failing at APK step

    Solved
    4
    0 Votes
    4 Posts
    83 Views
    mzimmersM
    @cristian-adam I ended up adding this line to my cmake file: set_property(TARGET appNgaIcdFw PROPERTY QT_ANDROID_DEPLOYMENT_SETTINGS_FILE "${CMAKE_CURRENT_BINARY_DIR}/android-appNgaIcdFw-deployment-settings.json") Seems to have resolved this issue.
  • Unable to operate input device if it is connected after QT application started

    Unsolved
    2
    0 Votes
    2 Posts
    29 Views
    SGaistS
    Hi and welcome to devnet, Which backend are you using on your device ?
  • Qt for Embedded EGLFS

    Unsolved
    1
    0 Votes
    1 Posts
    12 Views
    No one has replied
  • Savavel(Samuil Velichkov) Qt instrument cluster

    Unsolved
    1
    0 Votes
    1 Posts
    31 Views
    No one has replied
  • Qt Creator 16.01: Android SDK Manager gets stuck

    Unsolved
    5
    0 Votes
    5 Posts
    52 Views
    cristian-adamC
    @Parvathy2020 said in Qt Creator 16.01: Android SDK Manager gets stuck: Hi, I am trying to download Android -SDK using Qt creator (version 16.01) But getting stuck , with error message Checking pending licenses... Please do post a screenshot with the Android SDK setting. Something like: [image: 1c2038e8-4374-46fa-a2b3-5dd58eafa09f.png] I have just tested on macOS with OpenJDK 17 and it worked as expected.
  • QScrollArea issue on Android

    Unsolved
    8
    0 Votes
    8 Posts
    513 Views
    JoeCFDJ
    @jporcher Can you try to change the scrolling speed? For example: tableWidget->setVerticalScrollMode( QAbstractItemView::ScrollPerPixel ); The default one could be too fast. Qt Widgets do have issues on touch screen(not only on phone screens). It may be hardware or drivers problem as well. Try another brand of phone to see if your app has the same problem.
  • Android on Qt not Working

    Unsolved
    3
    0 Votes
    3 Posts
    80 Views
    JoeCFDJ
    @OldRoly your selection is not arm64_v8a in the second picture. And what is the Android version in your phone? Find out the compatibility of android version and jdk version.
  • Qt6.8 for Android,Unable to create the template

    Unsolved
    4
    0 Votes
    4 Posts
    91 Views
    jsulmJ
    @ljxiango said in Qt6.8 for Android,Unable to create the template: Could this be related to the issue?! No, it just means that you're using CMake instead of QMake.
  • 0 Votes
    6 Posts
    126 Views
    JoeCFDJ
    @ljxiango maybe use qt code to check permissions. https://doc.qt.io/qt-6/qtandroidprivate.html Qt6 has a lot of changes. Do not expect everything is the same.
  • Issue with the Android Kit when installing Qt6.9.0 on Windows 11 Home

    Solved
    6
    0 Votes
    6 Posts
    118 Views
    Z
    I solved this deployment issue after following solution from this post: https://forum.qt.io/topic/140996/qt-6-4-1-android-installing-the-app-failed-with-an-unknown-error
  • Boot2qt auto launch of application issue

    Unsolved
    2
    0 Votes
    2 Posts
    53 Views
    SGaistS
    Hi and welcome to devnet, Boot2Qt being a commercial product, you should contact the Qt Company. That said, I would check that you have all the required libraries and plugins installed on your device.
  • Deployment AVD cannot be started

    Unsolved
    1
    0 Votes
    1 Posts
    62 Views
    No one has replied
  • Mobile development

    Unsolved
    2
    0 Votes
    2 Posts
    68 Views
    SGaistS
    Hi and welcome to devnet, Did you already went through the Qt for Androïd Getting Started guide ?
  • Building for iOS: fatal error: 'fp.h' file not found

    Unsolved
    4
    0 Votes
    4 Posts
    469 Views
    L
    Ah that makes sense. Thanks @patrickkidd
  • 0 Votes
    3 Posts
    100 Views
    Z
    @jsulm Thanks for the feedback. I think that at least Qt5.15 is required to supports Android 13 (see https://medium.com/@shmilysyg/set-android-target-sdk-level-33-in-qt-38bb9049924c). I prefer using Qt5.15.2 since I am using .pro files. Also, I suppose that I need higher JDK and NDK versions. While I do not think that the issue is related to the code (I tested Qt example and did not work), here is my formatted code: void MainWindow::deviceDiscovered(const QBluetoothDeviceInfo &device) { qDebug() << "[BLE] Raw: " << device.name() << device.address().toString(); if(device.coreConfigurations()&QBluetoothDeviceInfo::LowEnergyCoreConfiguration) { qDebug() << "Discovered:" << device.name() << device.address().toString(); if(BLE_liste->findItems(device.name()+"\n"+device.address().toString(),Qt::MatchExactly).count()==0) { BLE_liste->addItem(device.name()+"\n"+device.address().toString()); *dev_info=device; QBluetoothDeviceInfo* temp_info=new QBluetoothDeviceInfo; *temp_info=device; dev_info_list.append(temp_info); } } } void MainWindow::searchCharacteristic() { if(BLE_service){ foreach (QLowEnergyCharacteristic c, BLE_service->characteristics()) { if(c.isValid()){ if (c.properties() & QLowEnergyCharacteristic::WriteNoResponse || c.properties() & QLowEnergyCharacteristic::Write) { m_writeCharacteristic = c; if(c.properties() & QLowEnergyCharacteristic::WriteNoResponse) m_writeMode = QLowEnergyService::WriteWithoutResponse; else m_writeMode = QLowEnergyService::WriteWithResponse; } if (c.properties() & QLowEnergyCharacteristic::Read) m_readCharacteristic = c; if(c.properties() & QLowEnergyCharacteristic::Notify) { m_notificationDesc = c.descriptor( QBluetoothUuid::ClientCharacteristicConfiguration); if (m_notificationDesc.isValid()) { BLE_service->writeDescriptor(m_notificationDesc, QByteArray::fromHex("0100")); } } } } } } void MainWindow::on_listWidget_itemClicked(QListWidgetItem *item) { string = item->text(); string = string.split("\n").at(0); //get the 1st word in string *dev_info=*(dev_info_list.at(BLE_liste->row(item))); BLE_controlleur=new QLowEnergyController(*dev_info,this); connect(BLE_controlleur, SIGNAL(connected()),this,SLOT(device_connected())); connect(BLE_controlleur, SIGNAL(discoveryFinished()),this,SLOT(service_discovered())); BLE_controlleur->connectToDevice(); } void MainWindow::device_connected() { BLE_controlleur->discoverServices(); } void MainWindow::service_discovered() { services_discovered=1; m_servicesUuid = BLE_controlleur->services(); int maxl=m_servicesUuid.length(); for(int i=0;i<maxl;i++) { if(m_servicesUuid.at(i).toString()=="{6e400001-b5a3-f393-e0a9-e50e24dcca9e}") { BLE_service= BLE_controlleur->createServiceObject(m_servicesUuid.at(i), this); connect(BLE_service, SIGNAL(stateChanged(QLowEnergyService::ServiceState)), this, SLOT(onServiceStateChanged(QLowEnergyService::ServiceState))); connect(BLE_service, SIGNAL(characteristicWritten(QLowEnergyCharacteristic,QByteArray)), this, SLOT(update_com_state_(QLowEnergyCharacteristic,QByteArray))); connect(BLE_service, SIGNAL(error(QLowEnergyService::ServiceError)), this, SLOT(error_slot(QLowEnergyService::ServiceError))); connect(Comm_timer, SIGNAL(timeout()),this, SLOT(update_com_state())); if(BLE_service->state() == QLowEnergyService::DiscoveryRequired) { BLE_service->discoverDetails(); } else searchCharacteristic(); BLE_liste->setStyleSheet("QListWidget{background-color: rgba(0,0,0,0);color:rgb(202,233,250);font-weight:bold;font-family:Myriad Pro Regular;font-size:64px;border:4px solid rgb(249,159,65);border-radius:12px;} QListWidget::item:selected{background:rgb(249,159,65);color:rgb(0,0,0);}"); } } } void MainWindow::onServiceStateChanged(QLowEnergyService::ServiceState s) { if (s == QLowEnergyService::ServiceDiscovered) { searchCharacteristic(); } } void MainWindow::BLE_search_slot() { if(agent!=nullptr) { delete agent; } if(ble_widget->isHidden()==false) { if(localDevice.hostMode()==QBluetoothLocalDevice::HostPoweredOff) {localDevice.powerOn(); QTimer::singleShot(2000, this, SLOT(BLE_search_slot())); } BLE_liste->clear(); dev_info_list.clear(); QtAndroid::requestPermissionsSync({ "android.permission.ACCESS_FINE_LOCATION", "android.permission.BLUETOOTH_SCAN", "android.permission.BLUETOOTH_CONNECT" }); agent = new QBluetoothDeviceDiscoveryAgent(); // create an object in ctors connect(agent, SIGNAL(deviceDiscovered(QBluetoothDeviceInfo)),this, SLOT(deviceDiscovered(QBluetoothDeviceInfo))); agent->start(QBluetoothDeviceDiscoveryAgent::LowEnergyMethod); } }
  • Camera on Android how to adjust the brightness ?

    Solved
    4
    0 Votes
    4 Posts
    85 Views
    jsulmJ
    @LZHD OK, if supportedFeatures says exposure compensation is not supported then it will not work with Qt. What Qt version do you use?
  • Keeping the UI alive

    Unsolved
    8
    0 Votes
    8 Posts
    386 Views
    D
    Thanks @jsulm I'll give it a go immediately!
  • how to open file ? qt for ios?

    Unsolved
    5
    0 Votes
    5 Posts
    120 Views
    jsulmJ
    @kkgg said in how to open file ? qt for ios?: I don't need to access the contents of the album You're trying to open a file and for this your app needs permissions. Also consider what @J-Hilk wrote.
  • 0 Votes
    1 Posts
    54 Views
    No one has replied