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
  • 0 Votes
    8 Posts
    7k Views
    K
    Hi Greg, Thank you for the response and sorry for delayed reply. I did find the solution. My target was running on 5.05 version of SDK and I was cross compiling for 7.0 version of SDK. Because of mismatch in the version, I was not able to execute the application. After loading the right version of SDK, I was able to run the application in embedded device. Thank you for the help! Regards, Kumar
  • Qt 5.3.2 QML iOS : Manually set keyboard orientation

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QML applications do not run on WEC7

    2
    0 Votes
    2 Posts
    907 Views
    K
    I found the dlls in \windows folder after setting option "show hidden files" and "show protected files". But the issue still exists.
  • Parsing UDP data failure (solved)

    2
    0 Votes
    2 Posts
    619 Views
    H
    I can solved the problem by setting different variable size qint8 a; qint32 b; qint64 c; and push QDatastream into each variable by sequence using in keyword. in>>a>>b>>c
  • Qt works with NFC protocol on android or iphone?

    3
    0 Votes
    3 Posts
    985 Views
    S
    of course i already read it. but i could build and deploy some nfc examples of qt 5.4 on my android phone and it did run without any errors! but actually i'm not sure if it really works on android. -locke [quote author="kolegs" date="1415347785"]acording to the docs http://qt-project.org/doc/qt-5/qtnfc-index.html it does not support Android or iOS[/quote]
  • 0 Votes
    2 Posts
    2k Views
    _
    solution: https://bugreports.qt-project.org/browse/QTBUG-40458
  • How can i fix this problem? *size matter*(!)

    3
    0 Votes
    3 Posts
    923 Views
    S
    sierdzio, thanks for a repley! i installed qt 5.4 beta on my windows system and deployed a new app on my android phone. i see, yes, the square of checkbox gots a little bigger than the past. but still smaller than its text. except for that, there's nothing different. my radiobutton and combobox UIs are still small. is there any other special setting for that? i don't know what to do for it.
  • Limitations with Android and good tutorials

    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    Then it looks like your going to also be interested in the Scene Graph part
  • Video playing from SD Card

    13
    0 Votes
    13 Posts
    3k Views
    SGaistS
    It depends if you are writing the QML by hand or using the qml designer. The video format supported will depend on the backend, so if's linux, it should be what gstreamer supports.
  • Qt 5.x Android: Send e-mail with file attached

    12
    1 Votes
    12 Posts
    6k Views
    N
    [quote author="ltr6" date="1415182621"]What does your AndroidManifest.xml look like? I think in the <activity> you have to set android:name="de.myApp.Mailer"[/quote] You are the man ;-) Thank you. That was exactly the problem. I just added android:name="de.myApp.Mailer" in <activity> of the AndroidManifest.xml and now the Mailer java object gets instantiated like expected. To allow another app (some mailing app) to access the file to attach we must make sure the file is not in the sandboxed app environment. I use for file creation: @ QString tempDir = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation); @ Important: Need to rebuild project Thank you
  • [QT 5.3 for Android] How to change app orientation dynamically?

    3
    0 Votes
    3 Posts
    2k Views
    A
    here is something for you, package com.exercise.AndroidOrientation; import android.app.Activity; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.view.View; import android.widget.Button; public class AndroidOrientationActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button buttonSetPortrait = (Button)findViewById(R.id.setPortrait); Button buttonSetLandscape = (Button)findViewById(R.id.setLandscape); buttonSetPortrait.setOnClickListener(new Button.OnClickListener(){ @Override public void onClick(View arg0) { // TODO Auto-generated method stub setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); }}); buttonSetLandscape.setOnClickListener(new Button.OnClickListener(){ @Override public void onClick(View arg0) { // TODO Auto-generated method stub setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); }}); } }
  • How to rotate screen in Qt5

    5
    0 Votes
    5 Posts
    3k Views
    A
    QScreen *s = app.primaryScreen(); qDebug() << "nativeOrientation: " << s->nativeOrientation(); qDebug() << "orientation: " << s->orientation(); qDebug() << (s->isLandscape(s->nativeOrientation()) ? "nativeOrientation lanscape" : "nativeOrientation not lanscape"); qDebug() << (s->isLandscape(s->orientation()) ? "orientation lanscape" : "orientation not lanscape"); qDebug() << (s->isPortrait(s->nativeOrientation()) ? "nativeOrientation portrait" : "nativeOrientation not portrait"); qDebug() << (s->isPortrait(s->orientation()) ? "orientation portrait" : "orientation not portrait");
  • Fatal error 11 when close windows

    7
    0 Votes
    7 Posts
    2k Views
    M
    I didn't resolved, sometime it does crash I don't understand.... but when I see a little delay while I close windows it do crash. The error is very generic. Have someone an idea? My Best Regards
  • Build App Qt 5.4 Android

    1
    0 Votes
    1 Posts
    695 Views
    No one has replied
  • 0 Votes
    8 Posts
    4k Views
    timdayT
    Thanks; will mark this a Solved.
  • 0 Votes
    13 Posts
    4k Views
    N
    ahh okay :-) Have Fun !
  • How to make QMenubar visible on Android 4xx?

    2
    0 Votes
    2 Posts
    1k Views
    A
    This might be a bug since I managed to do a workaround, as it only occurs if menubars are changed via @setMenuBar(QMenuBar *menubar)@ without deleting the current menubar and if there are any methods that modify the widgets inside central's widget layout(deleting,adding) before adding a new menubar. In case someone bumps into this, here is my workaround: @/* this is the first menubar which I set by default, before login and after the the user disconnects / void mainwindow::setMenuBar1(){ / do nothing here / if(this->menuWidget()!=NULL){ delete this->menuWidget(); mb=new MenuBar1(this); setMenuBar(mb); } else{ mb=new MenuBar1(this); setMenuBar(mb); } / in case it's needed do something here */ } /* this is the menubar which I set after login / void mainwindow::setMenuBar2(){ / do nothing here / if(this->menuWidget()!=NULL){ delete this->menuWidget(); mb=new MenuBar2(this); setMenuBar(mb); } / in case it's needed do something here */ }@ This workaround works 80%-90% of the time unfortunately. If someone care to help I'm open for tips.
  • UDP Socket do not need to run in forever loop(solved)

    3
    0 Votes
    3 Posts
    1k Views
    H
    I found the site below and follow what they are doing. http://doc.qt.digia.com/4.6/network-broadcastsender.html I found my problem is because i created the socketUDP class object inside Mainwindow constructor, application cannot received. When i put the object creation outside mainwindow (in main.cpp), data is received successfully. Thanks
  • WEC7: Configure error using compiler from Platform Builder (armv7)

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to identify click events on customised objects?

    8
    0 Votes
    8 Posts
    11k Views
    H
    Hi, I am doing the same thing. I am working with the QGraphicsView/Scene. I want to add invisible rectangular areas, that has multiple properties, like clickable, repaintable, updatable, etc. Are only the event handlers option here or SIGNAL/SLOT mechanism still can be used?