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
  • [Solved] Is it possible to display two fonts in one label?

    3
    0 Votes
    3 Posts
    2k Views
    JKSHJ
    Try enforcing the font using HTML... @ ui->label_16->setText(tr("Distance is <font face="century gothic">16.3m</font>")); @ ...or just don't translate the numbers: @ ui->label_16->setText(tr("Distance is ") + "16.3m")); @ (Note: I haven't tested either of these methods) See "here":http://qt-project.org/doc/qt-5/richtext-html-subset.html for a list of supported rich text tags.
  • Qt Webkit - Windows CE - Qt 5.3.x

    6
    0 Votes
    6 Posts
    3k Views
    C
    I have some results from field testing on a low powered device (500MHz, 256MB RAM) Initialization is way too slow. And I seem to have introduced some serious regressions in the applications web UI, which may well be due to the code I had to rip-out / replace in Webkit and ICU. Anyway, I've been asked to pursue an alternative approach based on adding Freetype support for Windows to Qt4. Field testing is promising (no observed regressions). See "this code review":https://codereview.qt-project.org/#/c/100430/ for more
  • Keyboard grab on Linux EGLFX/FB and other glitches

    7
    0 Votes
    7 Posts
    3k Views
    C
    The problem was in the html5applicationviewer template. No focus() or grab() methods helped at all. I removed the template and directly used the QWebView. Problem solved.
  • QApplication was not created in the main() thread. Android + calling java

    2
    0 Votes
    2 Posts
    3k Views
    benlauB
    I have written an example program that can call Java from C++ and C++ from Java's UI thread. You may take a look: https://github.com/benlau/qtandroidexamplecode/tree/master/qtandroidrunner
  • Make Toast in Android by QML

    2
    0 Votes
    2 Posts
    3k Views
    R
    thanks!!!the comment here is useful http://stackoverflow.com/questions/26879266/make-toast-in-android-by-qml/26900933#26900933 [quote author="Scrincer" date="1415810772"]via Java Native Interface http://qt-project.org/doc/qt-5/qandroidjniobject.html 1- Your c++ qtobject will call java code to show the toast. 2- You expose your c++ qtobject to QML. [/quote]
  • Rendering live video stream into graphics view in Qt

    5
    0 Votes
    5 Posts
    3k Views
    A
    Glad you solved it. [quote author="sreeshreya" date="1416459574"] The reason could be now the graphicsview gets the winId from its parent widget "widget" and to it by "horizontal layout" which wont allow in spreading the omx video window(from the pipeline) completely to the Qt application window like as central widget and confines the video only to graphicsView[/quote] I think you won't be able to add any other graphic items on the same graphicsView with this architecture. If it is so and you don't need other QGraphicsItems then why not use QWidget::winId().
  • Blank screen on Android 5.0 Lollipop

    3
    0 Votes
    3 Posts
    2k Views
    B
    Upgrading to 5.3.2 solved the issue for me.
  • Qt5.1 Android: Embed QML in QWidget

    5
    0 Votes
    5 Posts
    4k Views
    F
    Ok, it seems that everybody has this problem...and I'm using Qt 5.3.2 (more than a year after your posts)...it becoms frustrating. Until this problem gets a solution, does anyone have another idea about how can we embed QML in QWidget on Android?
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Qt 5.3.2 embedded, eglfs, terminal keyboard disable problem

    1
    0 Votes
    1 Posts
    669 Views
    No one has replied
  • AFGA Fonts & VxWorks support by QT

    1
    0 Votes
    1 Posts
    482 Views
    No one has replied
  • 0 Votes
    1 Posts
    631 Views
    No one has replied
  • IOS arm64 support ...

    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    5.4 by default builds for both arm7 and arm64
  • Load specific sqlite column and row into an integer variable

    1
    0 Votes
    1 Posts
    946 Views
    No one has replied
  • How to deploy the Qt frame work on the arm board

    1
    0 Votes
    1 Posts
    566 Views
    No one has replied
  • Build error trying to cross compile for embedded Linux

    6
    0 Votes
    6 Posts
    5k Views
    G
    Thanks, that worked for me with the same problem. I suspect I had a broken dirty build (changing configure options) that caused the error in the first place.
  • My software occupied more resource of CPU[Solved]

    1
    0 Votes
    1 Posts
    570 Views
    No one has replied
  • [SOLVED] Deployment issues on Qt 5.2 beta

    1
    0 Votes
    1 Posts
    531 Views
    No one has replied
  • Qt 5.3.2 on a olinuxino a20-lime build error

    3
    0 Votes
    3 Posts
    2k Views
    E
    Any solution to this problem? I am having same issue. @ from /out/work/armv7ahf-vfp-neon-linux-gnueabihf/qtbase/5.3.2-r0/qtbase-opensource-src-5.3.2/src/plugins/platforms/eglfs/qeglfsintegration.cpp:48: ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:140:9: error: expected identifier before numeric constant ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:140:9: error: expected '}' before numeric constant ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:140:9: error: expected unqualified-id before numeric constant ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:172:26: error: 'UrlFormattingOption' was not declared in this scope ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:172:72: error: template argument 1 is invalid ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:172:91: error: invalid type in declaration before ';' token ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:175:10: error: expected unqualified-id before ')' token ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:176:10: error: expected unqualified-id before 'const' ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:176:10: error: expected ')' before 'const' ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:177:38: error: 'QUrl& operator=(const QUrl&)' must be a nonstatic member function ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:181:10: error: expected unqualified-id before 'const' ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:181:10: error: expected ')' before 'const' ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:182:39: error: 'QUrl& operator=(const QString&)' must be a nonstatic member function ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:185:15: error: expected ')' before '&&' token ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:187:40: error: 'QUrl& operator=(QUrl&&)' must be a nonstatic member function ../../../../include/QtCore/../../../qtbase-opensource-src-5.3.2/src/corelib/io/qurl.h:190:12: error: expected constructor, destructor, or type conversion before ';' token@ Here is my configure: @ ${S}/configure -v -opensource -confirm-license -sysroot ${STAGING_DIR_TARGET} -no-gcc-sysroot -prefix ${OE_QMAKE_PATH_PREFIX} -bindir ${OE_QMAKE_PATH_BINS} -libdir ${OE_QMAKE_PATH_LIBS} -datadir ${OE_QMAKE_PATH_DATA} -sysconfdir ${OE_QMAKE_PATH_SETTINGS} -docdir ${OE_QMAKE_PATH_DOCS} -headerdir ${OE_QMAKE_PATH_HEADERS} -archdatadir ${OE_QMAKE_PATH_ARCHDATA} -libexecdir ${OE_QMAKE_PATH_LIBEXECS} -plugindir ${OE_QMAKE_PATH_PLUGINS} -importdir ${OE_QMAKE_PATH_IMPORTS} -qmldir ${OE_QMAKE_PATH_QML} -translationdir ${OE_QMAKE_PATH_TRANSLATIONS} -testsdir ${OE_QMAKE_PATH_TESTS} -examplesdir ${OE_QMAKE_PATH_EXAMPLES} -hostbindir ${OE_QMAKE_PATH_HOST_BINS} -hostdatadir ${OE_QMAKE_PATH_HOST_DATA} -external-hostbindir ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} -platform ${OE_QMAKESPEC} -icu -no-cups \ -opengl es2 -qpa eglfs -xplatform linux-oe-g++ -shared -silent -no-pch -no-rpath \ -pkg-config \ -no-xcb -no-sql-db2 -no-mtdev -no-gtkstyle -nomake tests -system-libjpeg -openssl-linked -nomake examples -no-xfixes -no-sql-mysql -make tools -qt-pcre -no-iconv -no-xkb -no-xkbcommon -no-fontconfig -no-kms -no-sql-sqlite -system-libpng -tslib 2>&1 -no-directfb -no-glib -freetype -no-sql-oci -no-xinerama -evdev -no-sql-sqlite2 -no-accessibility -widgets -no-xrandr -no-linuxfb -no-libudev -no-xcursor -no-sql-psql -make libs -no-nis -no-openvg -no-xvideo -no-xsync -no-sql-tds -no-xshape -dbus -system-zlib -pulseaudio -no-xrender -no-mitshm -no-sm -no-xinput -no-sql-ibase -no-xinput2 -no-alsa -no-sql-odbc -release @
  • QML completion for BlackBerry cascades in QtCreator

    8
    0 Votes
    8 Posts
    5k Views
    T
    [quote author="Igor Cota" date="1368022657"]Since not everyone wants to or can run bash scripts I've also uploaded the resulting file here: "completion.h":http://codexapertus.hr/completion.h Simply add it to your .pro file. It is based on version 10.1.0.1020 target.[/quote] Does this mean just add the header file to pro. ??Now i use 10.2. version