Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.0k Topics 62.1k Posts
  • library "libssl.so.1.1" not found

    Solved
    20
    1 Votes
    20 Posts
    4k Views
    Z

    @Shrinidhi-Upadhyaya
    hello,I followed the same method to test, and the test has been successful, but it still reminds me that some libraries are missing,why is this?
    library "libcrypto.so.1.1" not found
    library "libcrypto" not found
    library "crypto.so.1.1" not found
    library "crypto" not found
    library "libmaliinstr.so" not found
    library "libresolv.so" not found
    library "libresolv" not found
    : library "resolv.so" not found
    library "resolv" not found

  • 0 Votes
    3 Posts
    121 Views
    Z

    My android built app suffers the same issue with blank screen after being backgrounded.
    qmake, OS Android 13 Qt version - 6.8.2

  • 0 Votes
    5 Posts
    114 Views
    SGaistS

    That example does not use Python, it's a C++ example.

    That said, why not use the C++ SDK for Firestore ?

  • Using Apple RoomPlan Framework within Qt

    Unsolved
    3
    0 Votes
    3 Posts
    110 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
    164 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
    86 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
    82 Views
    JonBJ

    @scottm1982 That's good. Then to help other readers you can Mark as Correct your own final post.

  • 0 Votes
    4 Posts
    295 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

  • 0 Votes
    13 Posts
    356 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
    53 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
    296 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! :)

  • 0 Votes
    14 Posts
    370 Views
    V

    Thank you for the support. I will use this tool for further analysis.

  • Using 485 for QmodbusServer library

    Unsolved
    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

  • 0 Votes
    3 Posts
    101 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
    36 Views
    No one has replied
  • AndroidExtras, import error

    Unsolved
    4
    1 Votes
    4 Posts
    258 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
    67 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
    85 Views
    S

    @Scott-Izi the StackOverflow is here