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
  • Using Apple RoomPlan Framework within Qt

    Unsolved
    3
    0 Votes
    3 Posts
    161 Views
    S
    You are mentioning "various platforms". If it is not just macOS and iOS/ipadOS it is not portable to choose any Apple Framework. And since Qt is mostly about portability (at least on desktop and mobile) it will only/mostly have features that are common on all these platforms. I guess that most people that intend to use Apple's RoomPlan Framework are using Apple frameworks exclusively (including UI). The easiest way to interface with Apple frameworks used to be Objective-C++. I am not sure how much that has changed with the introduction of Swift. I believe they share the same underlying runtime and so you can still use Objective-C++.
  • run application on startup (raspberry PI)

    10
    0 Votes
    10 Posts
    11k Views
    M
    The documentation to launch a custom app on startup is now here https://doc.qt.io/Boot2Qt/b2qt-customization.html#booting-to-a-custom-application
  • 0 Votes
    6 Posts
    236 Views
    Z
    So here is my findings. Maybe someone can give me a hint Applying any styleSheet on Android shifts Z-order of QMessageBox which makes its buttons unclickable Here what is going on: //setting styleSheet to any widget breaks interactivity on Android setStyleSheet("QPushButton { }"); QMessageBox::information(this,"Check the message", "Is it clickable?" ); //it is not clickable on Android But if we manually set Z-order to the message this message becomes clickable. But further ones ARE NOT setStyleSheet("QPushButton { }"); //applying styleSheet QMessageBox msgBox; msgBox.setText("StyleSheet is set. Z-order fixed"); //set stayOnTop flag and it becomes clickable msgBox.setWindowFlags(Qt::Dialog | Qt::WindowStaysOnTopHint); msgBox.exec(); //Next message is unclickable QMessageBox::information(this,"Check next message", "Is it clickable?" ); //No it is not clickable How to restore correct Z-order for all of my windows and messages after apllying a styleSheet in Android?
  • how to use virtual keyboard for stm32mp157d-dk1

    Unsolved
    2
    0 Votes
    2 Posts
    111 Views
    jsulmJ
    @sharan16k said in how to use virtual keyboard for stm32mp157d-dk1: when i try toimplement as given in the below page So, does it work or not?
  • Android Build in QT Creator will not install on phone

    Solved
    4
    0 Votes
    4 Posts
    123 Views
    JonBJ
    @scottm1982 That's good. Then to help other readers you can Mark as Correct your own final post.
  • Unknown CMake command _qt_internal_create_global_android_targets

    Unsolved
    4
    0 Votes
    4 Posts
    355 Views
    J
    The problem is CMake tries find in /qtbase/lib/cmake/Qt6Core/Qt6AndroidMacros.cmake, but Qt6AndroidMacros in /qtbase/src/corelib. Very stupid solution is change path in qtbase/src/corelib/Qt6CoreConfigExtras.cmake.in line 33 to absolute
  • Issues with Building OpenCV for Android using Qt 6.4.2 on Windows 10

    Unsolved
    13
    0 Votes
    13 Posts
    508 Views
    jsulmJ
    @Kaguro Please post whole build log.
  • Qt5.15.2 for Android: How to make tcp connection keepalived

    Unsolved
    2
    0 Votes
    2 Posts
    83 Views
    jsulmJ
    @iamnotsad said in Qt5.15.2 for Android: How to make tcp connection keepalived: Is there any solutions for this issue? https://developer.android.com/training/run-background-service/create-service
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 0 Votes
    16 Posts
    594 Views
    V
    @J-Hilk It all looks fine to me as well, this is why it's even more difficult to find the issue. Oh well, guess I have to spend more time on this than I had planned to. Thanks for all your help tho, I highly appreciate it! :)
  • Application hangs after using up/down arrows in scrollbar of scrollarea widget

    Unsolved
    14
    0 Votes
    14 Posts
    466 Views
    V
    Thank you for the support. I will use this tool for further analysis.
  • Using 485 for QmodbusServer library

    Unsolved qmodbusdevice modbus rs485
    7
    0 Votes
    7 Posts
    1k Views
    A
    Hi @Chai18 Did you find any solution ? I have a similar issue but in the client side (QModbusClient) , this is my function to write data to the holding registers , but I'm all the time getting the response timeout, and master is actually handling incoming requests and send appropriate responses automatically. void Serial::writeData(int start, const QList<quint16> &holdingRegisters) { if (!modbusDevice) return; startAddress = start; numberOfEntries = holdingRegisters.size(); // Switch to Transmit Mode switchGPIO->setValue(true); // enables TX QModbusDataUnit writeUnit = writeRequest(); QModbusDataUnit::RegisterType table = writeUnit.registerType(); for (qsizetype i = 0, total = writeUnit.valueCount(); i < total; ++i) { const auto addr = i + writeUnit.startAddress(); if (table == QModbusDataUnit::Coils) writeUnit.setValue(i, m_coils[addr]); else writeUnit.setValue(i, holdingRegisters[addr]); } if (auto *reply = modbusDevice->sendWriteRequest(writeUnit, serverAddress)) { if (!reply->isFinished()) { QModbusDevice::connect( reply, &QModbusReply::finished, this, [this, reply]() { // Switch back to Receive Mode usleep(1000); // Small delay before switching switchGPIO->setValue(false); // Enable RX mode const auto error = reply->error(); if (error == QModbusDevice::ProtocolError) { qDebug() << "Write response error:" << reply->errorString() << "(Modbus exception:" << reply->rawResult().exceptionCode() << ")"; } else if (error != QModbusDevice::NoError) { qDebug() << "Write response error:" << reply->errorString() << "(code: 0x" << QString::number(error, 16) << ")"; } reply->deleteLater(); }); } else { qDebug() << "Write error: " << reply->errorString(); reply->deleteLater(); } } else { qDebug() << "Write error: " << modbusDevice->errorString(); switchGPIO->setValue(false); // Ensure RX mode is enabled on failure } } Thanks in advance
  • QScroller Grab Gesture causes Rendering issues on Android

    Unsolved android 6.8 tearing qscrollbar c++
    3
    0 Votes
    3 Posts
    145 Views
    E
    https://bugreports.qt.io/browse/QTBUG-135011 for anyone else encountering this, I have opened a bug with the upstream https://bugreports.qt.io/browse/QTBUG-135011
  • QtQuick stuck at 24FPS (wearable example)

    Unsolved
    1
    0 Votes
    1 Posts
    57 Views
    No one has replied
  • AndroidExtras, import error

    Unsolved
    4
    1 Votes
    4 Posts
    308 Views
    V
    @J-Hilk Sorry, I would say I have a similar* issue. I posted the issue I have yesterday and got no response yet. This looked similar to what I am facing. I cannot import anything from androidx. Here is the link to my post: androidx package does not exist error . I would appreciate some help. Thanks in advance :)
  • Qt6 Android - SQLite Driver Not Found

    Unsolved
    2
    0 Votes
    2 Posts
    103 Views
    SGaistS
    Hi and welcome to devnet, From the looks of it, you try to load an x86 plugin with an arm64 version of Qt. That's not possible.
  • Qt Qml Android studio plugin is crashing

    Unsolved
    3
    0 Votes
    3 Posts
    138 Views
    S
    @Scott-Izi the StackOverflow is here
  • QCombobox stop working after back navigation on android in Qt 6.4.2 C++

    Unsolved
    4
    0 Votes
    4 Posts
    387 Views
    KaguroK
    @samuel898 Hi! Finally the Qt Team started working on my ticket! So you can follow the process on this ticket if you want: https://bugreports.qt.io/browse/QTBUG-127495
  • building android apk arm64-v8a error

    Unsolved
    1
    0 Votes
    1 Posts
    82 Views
    No one has replied
  • Issue with Gradle when building Qt app for Android

    Unsolved andriod gradle qtcreator
    1
    1 Votes
    1 Posts
    135 Views
    No one has replied