Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.5k Posts
  • QML: Change color of ApplicationWindow's Title bar

    2
    0 Votes
    2 Posts
    4k Views
    p3c0P
    Hi, Are you using Qt 5.3 ? Have a look at "MenuBarStyle":http://qt-project.org/doc/qt-5/qml-qtquick-controls-styles-menubarstyle.html. It works on Ubuntu 14.04. But I've not tested on Android Device.
  • QT_ARCH_ARM

    3
    0 Votes
    3 Posts
    2k Views
    I
    Hi thanks for your help... sorry... it's QT_ARCH_ARM and not Q_ARCH_ARM... in qt4 it is checked in src/corelib/global/qglobal.h... ... #elif defined(QT_NO_FPU) || defined(QT_ARCH_ARM) || defined(QT_ARCH_WINDOWSCE) || defined(QT_ARCH_SYMBIAN) ... but you are right, it seems never defined... Giampaolo
  • Java Constructor not getting called while using QAndroidJNIObject

    3
    0 Votes
    3 Posts
    2k Views
    S
    Found the solution to my problem. The android:name in the <activity> section of the manifest should be changed to my java Class. uk.me.samaria.flickrshare.AndroidFunctions instead of org.qtproject.qt5.android.bindings.QtActivity Now that, I am able to share text, onward to share an Image and see if that works.
  • QT5.3.1 QPainter/KMS Issues

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    8 Posts
    2k Views
    A
    Decided to use QQmlApplicationEngine. topic closed.
  • QtAndroid::startIntentSender

    1
    1 Votes
    1 Posts
    913 Views
    No one has replied
  • Android OpenCV Camera

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Issues with evdev when cross-compiling Qt statically

    3
    0 Votes
    3 Posts
    992 Views
    M
    If using linuxfb, i have to call as root. A normal user is (without modification of udev-rules) not able to open /dev/fbX. So yes: i'm not able to get inputs even running as root.
  • QGraphicsItem : touch manipulation, how to ?

    3
    0 Votes
    3 Posts
    1k Views
    J
    First, sorry for late answer. In fact I knew that, but it didn't answered me, because I was trying to achieve these manipulations for each touchs (and not only the first one), and not only move manipulation. I was working on collaborative apps, where users must manipulate the QGraphicsItems independently. I had a project changement, so I don't need this anymore, but if someone created some default QGraphicsItems with touch manipulation enabled, I'll be pleased to know ! If I do something like this in the future, I'll come post this here :)
  • QCopChannel register problem

    11
    0 Votes
    11 Posts
    3k Views
    SavedS
    @#define COP_CHANNEL_NAME "WatchdogChannel"@ Yes, it will be destroyed. I've implement this also as a class member, but it doesn't change anything. It is strange.
  • How do I go back to 5.3 from 5.3.1?

    5
    0 Votes
    5 Posts
    1k Views
    E
    The bug report is "here":https://bugreports.qt-project.org/browse/QTBUG-39978
  • [solved]QAbstractListModel - update data in table view [linux]

    29
    0 Votes
    29 Posts
    13k Views
    SGaistS
    You're welcome ! Since you have it working now, please update the thread title prepending [solved] so that other forum users may know a solution has been found :)
  • QThread, Qt/C++ and QML UI hanging.

    4
    0 Votes
    4 Posts
    6k Views
    T
    I managed to get rid of the freezing gui. The trick is to make the signal slot connection in c++, when you have gui and logic in seperat threads. The Connections QML element and the someid.signal.connect... thing dont work here and for some reason it seems that both ends in an "Direct Connection" instead of the wanted "Queued Connection. => From C++ it works for me ... and be aware to make both direktions in c++ qml slot < > c++ signal and c++ slot < >qml signal! Snippet from my code: @QObject* root=dynamic_cast<QObject*>(m_view->rootObject()); // cast needed because of private inharitance + note QQuickItem include is needed QObject* obj; if(root){ obj=root->findChild<QObject*>("winlog"); if(obj){ qDebug()<<"found winlog and connecting signal"; QObject::connect(obj,SIGNAL(connectToDb(QString,QString)),this,SLOT(connect(QString,QString))); QObject::connect(m_man->getDatabase(),SIGNAL(connectedChanged()),obj,SLOT(onConnectToDbChanged())); }else{ qDebug()<<"didn't found winlog for connecting signal"; } }@
  • QT Color issue

    7
    0 Votes
    7 Posts
    2k Views
    S
    I did some research and found that this RGB color is getting changed to BRG color. (not BGR). It is because of the little endian issue. Powerpc is big endian and frame buffer is little endian. I have not got any solution to this problem. Will update the thread once i get it. If anybody got similar issues then please reply.
  • [Android] [Qt 5.2] List widgets on Android and scrolling by touch gesture

    4
    0 Votes
    4 Posts
    4k Views
    sierdzioS
    ltr6, thank you for that hint, it works perfectly!
  • [Solved] Setting Qt for Embedded Pixel Type to 24bpp BGR

    4
    0 Votes
    4 Posts
    8k Views
    S
    Is this valid for Qt5.x also?? I am also facing the Color issue after cross compiling the QT from source code for powerpc. RGB is appearing as BRG.
  • QML FolderListModel problem on Android

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Deploying a Declarative radio QT example project in andriod phone

    4
    0 Votes
    4 Posts
    1k Views
    p3c0P
    bq. what is the purpose of this radio and declartive radio? May be it works for other devices.
  • Can't Build or Run any projects for Android

    10
    0 Votes
    10 Posts
    7k Views
    V
    Radium1988, although I've been programming for a long time but my experience in Qt is just 2 months. So I can only reply to some of your questions. Maybe someone more experienced in Qt will read this thread and will answer your other questions. bq. 1. Are some of the examples not compatible with Android? If yes, what makes a project not compatible with Android? It is quite possible. Some components have not been ported to Android yet (Qt have been supporting Android since the 5th version). For example positioning have been working on Android since 5.3 version. bq. 3. Widgets in designer for Android seem too limited and few, are there any importable third party widgets more similar to native android for Qt Creator? I don't know. I did not find. For now I am using original Qt widgets and writting my own widgets. bq. 5. With each Run, even when the last AVD is still open, a new instance of AVD will start. how can I prevent this and just use the last AVD? I have it is different. If one AVD is already open, then new instance does not start. bq. However I checked the APK files sizes on my phone, and they were between 8 to 28 megabytes!! I created a new empty project and deployed it, but even the empty project is 7 megabytes in size! Are these debug APKs that are fat and big? APK is zip archive. There are Qt libraries, Ministro and other java classes (+ gdb server for debug and maybe additional plugins) in archive. Unfortunately I can't give more detailed answers.
  • Making animated splash screen

    5
    0 Votes
    5 Posts
    4k Views
    B
    Hi. Please see "this post":https://qt-project.org/forums/viewthread/36745