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 5.5.1 QSettings not writable anymore

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    uCampaignU
    Well, even with this workaround it does not work, seems like the path got reset somewhere and settings are not writable. Until this is fixed 5.5.1 for Android is broken and cannot be used, not sure if Qt must put a warning somewhere
  • QtWebView signal for URL changes

    Unsolved qtwebview qml
    2
    0 Votes
    2 Posts
    2k Views
    SGaistS
    Hi, Since url is a property you have the onUrlChanged signal to react to that.
  • 0 Votes
    2 Posts
    3k Views
    ILI
    I have found that my libraries on target was probably corrupted, I deleted them and load new .so files.
  • 0 Votes
    6 Posts
    4k Views
    Y
    Thank you Archie. Your post helped me fix my problem. I was switching between the work computer and home computer and that caused the situation you mentioned.
  • QtCreator New QtQuick project build errors for IOS

    Solved ios qtquick
    2
    0 Votes
    2 Posts
    869 Views
    A
    @AddTheBadd I will reply to my own past to save anyone else falling into this very old problem. A 'space' had kept into my development path. I had moved my dev folder to my 'Google Drive' a few years ago and all my build tools where quite happy. Unfortunately it looks like some part of the Qt Qml parse system still has a problem with spaces in the path. I simply moved my Qt Development folder to a clean path and all is well with the world. Thanks, Adam
  • Qt Creator can't even build default new project successfully.

    2
    0 Votes
    2 Posts
    1k Views
    M
    Solved, cygwin was missing in the system.
  • Looking for a team in helsinki or europe for a project

    Unsolved
    1
    0 Votes
    1 Posts
    311 Views
    No one has replied
  • OpenGLES2 window location problem of QT5.3 based embeded Linux

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    E
    @SGaist That's a possiible solution, I'd like to have a try, thaks for you suggestion!
  • How to set environment variables on iOS/Android

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    M
    Calling qputenv at the start of main.cpp does the trick
  • Configure Custom Android Emulator (Visual Studio Emulator)

    Unsolved
    2
    0 Votes
    2 Posts
    978 Views
    J
    It was easier than I though, I just have to manually start the emulator and It will appear in the Android Emulator List and connect. I tried with the cube opengl example and the application failed due to a failure in the shader compilation
  • Qt4 for WinCE using Visual Studio

    Unsolved
    1
    0 Votes
    1 Posts
    458 Views
    No one has replied
  • Gpios in Yocto QT Embedded

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    SGaistS
    There's always a beginning ;) IIRC sysfs can provide write-only files
  • QT5 cross compilation using GCC4.6

    Unsolved cross compile qt5 embedded linux gcc
    3
    0 Votes
    3 Posts
    2k Views
    K
    I am able to compile a Hello world cpp code and generated binary file is successfully running on my board.
  • Video HW acceleration on Nvidia Jetson K1

    Unsolved qtmultimedia video nvidia jetson t qt5 gstreamer1.0
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Buildroot Qt Gstreamer

    Unsolved
    2
    0 Votes
    2 Posts
    922 Views
    S
    @sharethl In buildroot I have to enable GST1.0 to make GStreamer .............. Yes
  • background process in mobile devices. how to?

    Unsolved
    2
    0 Votes
    2 Posts
    686 Views
    M
    I don't have a direct answer. However, it has to be noted that the mobile devices' OS are ultimately in control of what runs and what doesn't. Depending on the device and the OS, there may not be much you can do to control this. I know from a native code standpoint, on iOS, for instance, there's not really a concept of an ongoing background process; however apps can be woken up periodically to do things. In short, I don't know there's a cross-platform answer to this. However, if anyone has any ideas, I'm sure they will contribute them.
  • Adding single QML Text item adds 21s to start-up time!

    Unsolved
    2
    0 Votes
    2 Posts
    650 Views
    C
    It has been suggested that the issue is related to the font system initialization. Could it be that our Qt build is not configured to use the right font engine. Maybe the font engine is not efficient in combination with the 2D Renderer? The Qt Widgets application works fine, so I am wondering; what is the difference between the Qt Quick and Qt Widgets w.r.t. font rendering? Is there a way to make the font system under Qt Quick work like the font system in Qt Widgets? I don't really know what I am talking about. Please help.
  • QML building for IMx-6

    Unsolved
    2
    0 Votes
    2 Posts
    796 Views
    S
    if nobody has a short guide for you, looking at the yocto/poky tool chain with layers qt(5) , poky, meta-oe and fsl might be an option. There you will find recipes which build qt and the everywhere demo. But it will not be easy to dig through all the steps and dependencies until you will find the necessary parameters. You could begin with an image that deploys a qt demo (maybe the everywhere demo) to see which libraries of qt are necessary. Then look at how a certain qtlib (e.g., qtbase) is being built (options, paths to drivers, setting x11 as dm, ...) BR, Schakal
  • 0 Votes
    2 Posts
    813 Views
    S
    Here is an example to replicate the positioning problem of the menus when rotating from portrait to landscape. #include <QApplication> #include <QGraphicsScene> #include <QGraphicsView> #include <QGraphicsProxyWidget> #include <QTransform> #include <QScreen> #include <QOpenGLWidget> #include <QMenu> #include <QMenuBar> #include <QAction> int main(int argc, char *argv[]) { QApplication a(argc, argv); QGraphicsView view; QTransform transform; QGraphicsScene scene; QScreen *ps = QApplication::primaryScreen(); QGraphicsProxyWidget *proxy; Qt::ScreenOrientation pso; QSize dSize(ps->size()); if((pso = ps->orientation()) != Qt::LandscapeOrientation ) { //Swap dimensions if height is larger than width if(ps->isPortrait(pso)) { dSize.transpose(); } } scene.setSceneRect(QRect(0,0,dSize.width(),dSize.height())); transform=ps->transformBetween(Qt::InvertedLandscapeOrientation,pso,QRect(0,0,dSize.width(),dSize.height())); view.setViewport(new QOpenGLWidget); view.resize(ps->size()); view.setTransform(transform); view.setScene(&scene); view.ensureVisible(QRectF(0,0,dSize.width(),dSize.height()),0,0); view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); QMainWindow *test = new QMainWindow; test->setGeometry(QRect(0,0,dSize.width(),dSize.height())); proxy = scene.addWidget(test); QString tmpString = QObject::tr("File"); //Providing menu bar is really necessary (otherwise even the fileMenu is not positioned correctly) QMenu *fileMenu = new QMenu(tmpString,test->menuBar()); tmpString = QObject::tr("Recently"); QMenu *fileSubMenu = new QMenu(tmpString,fileMenu); test->menuBar()->addMenu(fileMenu); tmpString = QObject::tr("blubb"); fileMenu->addAction(new QAction(tmpString,test)); fileMenu->addMenu(fileSubMenu); tmpString = QObject::tr("blubb2"); fileSubMenu->addAction(new QAction(tmpString,test)); tmpString = QObject::tr("blubb3"); fileSubMenu->addAction(new QAction(tmpString,test)); view.show(); return a.exec(); }
  • [Solved] USB storage persistent mount point

    usb mount storage devices
    3
    0 Votes
    3 Posts
    3k Views
    McLionM
    @SGaist I'm not sure, but I believe solid needs udev. I'm using busybox with mdev. However, I found a solution with find and grep. If I know I have to find where, for instance, sda is connected on my 4 ports: find /sys/bus/usb/devices/usb*/ -name dev -path "*usb1*sd*" | grep -E sda find /sys/bus/usb/devices/usb*/ -name dev -path "*usb2-1.1*sd*" | grep -E sda find /sys/bus/usb/devices/usb*/ -name dev -path "*usb2-1.2*sd*" | grep -E sda find /sys/bus/usb/devices/usb*/ -name dev -path "*usb2-1.4*sd*" | grep -E sda The return value is 1 if there is no entry matching and 0 if there is. I wrapped this in a function with sd_ as variable and it works as supposed. Cheers, McL