Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.6k Posts
  • Qt Android 3 party Open GL integration

    Unsolved
    2
    0 Votes
    2 Posts
    174 Views
    No one has replied
  • 0 Votes
    3 Posts
    1k Views
    SeDiS
    @JoeCFD Thank you for your answer, but that was exactly what I had done - tried and tried all over again. The solution came now with vigorously erasing all of AndroidSDK, upgrading Creator. Now it works!! I'll probably never know why it didn't before. :-)
  • Qt 6.7 Android reading and opening files

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    mrdebugM
    Hi, I'm still using Qt5 but I think Qt6 is the same. I think it is non necessary to use java to read and write file or to relose an uri. I think the Qt classes are enought. I'm not so expert on Android. You can ask here https://xdaforums.com
  • Android can't find QtQuick.Effects

    Unsolved
    1
    0 Votes
    1 Posts
    166 Views
    No one has replied
  • Best MDM Solution For Android Application

    Unsolved
    5
    0 Votes
    5 Posts
    596 Views
    L
    As an IT administrator, I value the granular control that Apptec360 MDM offers. From setting restrictions on device functionalities to configuring security settings, I have full control over device management. The reporting and analytics dashboard provides valuable insights that help me track device usage and compliance.
  • Qt Android, how can I get MotionEvent.getToolType() equivalent ?

    Unsolved
    1
    0 Votes
    1 Posts
    148 Views
    No one has replied
  • How to add large data files in APK

    4
    0 Votes
    4 Posts
    1k Views
    M
    I suggest deleting this thread or fix link Link is dead :(
  • Saving Image to Android Device - Qt6 for Android

    Unsolved
    1
    0 Votes
    1 Posts
    222 Views
    No one has replied
  • Building QT with Yocto dunfell

    Unsolved
    1
    0 Votes
    1 Posts
    192 Views
    No one has replied
  • How to convert Android content url and use it to open file?

    Unsolved android file dialog ios mobile file
    10
    0 Votes
    10 Posts
    8k Views
    ekkescornerE
    @shokarta try with Android FileDialog FileDialog { title: qsTr("Select a File") fileMode: FileDialog.OpenFile onAccepted: { if(selectedFiles.length) { console.log("we selected: ", selectedFiles[0]) Selected File 'München.pdf' from FileDialog ...this gives you per ex: content://com.android.providers.downloads.documents/document/32 // you can check from C++ and verify fileUrl: QFileInfo fileInfo(fileUrl); qDebug() << "verifying fileUrl: " << fileUrl; qDebug() << "BASE: " << fileInfo.baseName(); qDebug() << "FileName: " << fileInfo.fileName(); qDebug() << "Path: " << fileInfo.path(); qDebug() << "absoluteFilePath: " << fileInfo.absoluteFilePath(); return fileInfo.exists(); this gives you: verifying fileUrl: "content://com.android.providers.downloads.documents/document/32" BASE: "München" FileName: "München.pdf" Path: "content://com.android.providers.downloads.documents/document" absoluteFilePath: "content://com.android.providers.downloads.documents/document/32" file exists
  • Kotlin in QT Project. How?

    Solved
    13
    0 Votes
    13 Posts
    8k Views
    P
    You can use Qt in Java (so also in Kotlin) using QtJambi. I made the application Mouse Melon with Kotlin and Qt.
  • How to add libpng16.so to .apk ?

    Solved
    3
    0 Votes
    3 Posts
    525 Views
    M
    @cristian-adam Thank you very much
  • QPainter doesn't draw lines or images

    Solved
    5
    0 Votes
    5 Posts
    391 Views
    A
    I found that the scribble project in the widjets example directory controls a mouse event to draw a line or image. So I think that I create the signature capture function by using it. Thanks
  • Board Support Package for Raspberry Pi 5

    Unsolved
    1
    0 Votes
    1 Posts
    160 Views
    No one has replied
  • Qt 6.7.1 Android Missing Input Handlings

    Unsolved
    8
    0 Votes
    8 Posts
    672 Views
    E
    Looks like the fixed this issue with a partial revert for Qt 6.8+ See: https://codereview.qt-project.org/c/qt/qtbase/+/566570 Wish they'd back port to 6.7, but I understand...
  • qt5 andoid setup for ubuntu

    Unsolved
    2
    0 Votes
    2 Posts
    176 Views
    Axel SpoerlA
    Have you checked the 5.15 documentation?
  • screenshot

    Unsolved
    13
    0 Votes
    13 Posts
    2k Views
    L
    Hello, has your problem been resolved? I have also encountered this situation and would like to ask you how to handle it
  • error while loading shared libraries: libts.so.0

    Solved
    7
    0 Votes
    7 Posts
    855 Views
    A
    I have added the library path, "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/tslib/lib" So the project, fingerpaint is working. Thanks JonB.
  • Qt for android, QWidget is not in the layout, Display abnormalities

    Unsolved
    3
    0 Votes
    3 Posts
    330 Views
    N
    @SGaist developing OS: Windows10 Dialog::Dialog(QWidget *parent) : QDialog(parent) , ui(new Ui::Dialog) { ui->setupUi(this); if(parent) { parent->installEventFilter(this); } } bool Dialog::event(QEvent *event) { if(!parent()) { return QWidget::event(event); } switch(event->type()) { case QEvent::ParentChange: { parent()->installEventFilter(this); setGeometry(overlayGeometry()); break; } case QEvent::ParentAboutToChange: { parent()->removeEventFilter(this); break; } default: break; } return QWidget::event(event); } bool Dialog::eventFilter(QObject *obj, QEvent *event) { switch(event->type()) { case QEvent::Move: case QEvent::Resize: setGeometry(overlayGeometry()); break; default: break; } return QWidget::eventFilter(obj, event); } QRect Dialog::overlayGeometry() const { QWidget *widget = parentWidget(); if(!widget) { return QRect(); } return widget->rect(); } And MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); m_form = new Dialog; m_form->hide(); m_form->setParent(ui->widget_2); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_pushButton_clicked() { m_form->show(); } void MainWindow::on_pushButton_2_clicked() { m_form->hide(); } As shown in the figure, "widget_1" is on the left and "widget_2" is on the right, "dialog.ui" is all filled with pink [image: cb18ac88-a221-44c3-b2d8-2b18adf9d851.png]
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    17 Views
    No one has replied