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
  • Learning qt5 and qml on android tablet with c4 droid

    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    For these two questions, you should rather contact the c4droid developer(s)
  • Prompt user to turn on GPS

    2
    0 Votes
    2 Posts
    1k Views
    GianlucaG
    Try to add to the AndroidManifest.xml the use-feature for forcing your app to working only if GPS is on. http://developer.android.com/guide/topics/manifest/uses-feature-element.html
  • Qt on Raspberry Pi & Buildroot

    1
    0 Votes
    1 Posts
    666 Views
    No one has replied
  • Where does qt search for font files?

    8
    0 Votes
    8 Posts
    7k Views
    K
    AFAIK, In the embedded platform, Qt looks for the fonts in /usr/lib/fonts directory @ root@am335x-evm:/usr/lib/fonts# ls DejaVuSans-Bold.ttf VeraMoBI.ttf fixed_70_50.qpf helvetica_240_75i.qpf DejaVuSans-BoldOblique.ttf VeraMoBd.ttf fontdir helvetica_80_50.qpf DejaVuSans-Oblique.ttf VeraMoIt.ttf helvetica_100_50.qpf helvetica_80_50i.qpf DejaVuSans.ttf VeraMono.ttf helvetica_100_50i.qpf helvetica_80_75.qpf DejaVuSansMono-Bold.ttf VeraSe.ttf helvetica_100_75.qpf helvetica_80_75i.qpf DejaVuSansMono-BoldOblique.ttf VeraSeBd.ttf helvetica_100_75i.qpf japanese_230_50.qpf DejaVuSansMono-Oblique.ttf c0419bt_.pfb helvetica_120_50.qpf l047013t.pfa DejaVuSansMono.ttf c0582bt_.pfb helvetica_120_50i.qpf l047016t.pfa DejaVuSerif-Bold.ttf c0583bt_.pfb helvetica_120_75.qpf l047033t.pfa DejaVuSerif-BoldOblique.ttf c0611bt_.pfb helvetica_120_75i.qpf l047036t.pfa DejaVuSerif-Oblique.ttf c0632bt_.pfb helvetica_140_50.qpf l048013t.pfa DejaVuSerif.ttf c0633bt_.pfb helvetica_140_50i.qpf l048016t.pfa README c0648bt_.pfb helvetica_140_75.qpf l048033t.pfa UTBI____.pfa c0649bt_.pfb helvetica_140_75i.qpf l048036t.pfa UTB_____.pfa cour.pfa helvetica_180_50.qpf l049013t.pfa UTI_____.pfa courb.pfa helvetica_180_50i.qpf l049016t.pfa UTRG____.pfa courbi.pfa helvetica_180_75.qpf l049033t.pfa Vera.ttf couri.pfa helvetica_180_75i.qpf l049036t.pfa VeraBI.ttf cursor.pfa helvetica_240_50.qpf micro_40_50.qpf VeraBd.ttf dejavu_sans_11_50.qpf2 helvetica_240_50i.qpf unifont_160_50.qpf VeraIt.ttf fixed_120_50.qpf helvetica_240_75.qpf wqy-zenhei.ttc root@am335x-evm:/usr/lib/fonts# @ And this is by default. You may change the qt-configuration to point to different location. And, for your question on "If you just copy your font to this directory, Qt doesnt display the string the selected language, if you delete the other font files, Qt can display the strings properly" - Are you sure if your platform has enough memory? Because AFAIK, Qt loads the font (Or you load it through application). When loading the font, Qt might use some memory to buffer the character set and the glyphs. (May be). This goes as my wild guess. It will be more interesting to see your system memory details. @ root@am335x-evm:/usr/lib/fonts# df -h Filesystem Size Used Available Use% Mounted on /dev/root 3.6G 693.1M 2.7G 20% / devtmpfs 109.1M 4.0K 109.1M 0% /dev tmpfs 16.0M 492.0K 15.5M 3% /var/volatile tmpfs 121.3M 0 121.3M 0% /dev/shm tmpfs 16.0M 0 16.0M 0% /media/ram /dev/mmcblk0p1 69.5M 489.0K 69.0M 1% /var/volatile/run/media/mmcblk0p1 @
  • [Solved] Can't find STL when do Qt 5.3 cross-compiling

    6
    0 Votes
    6 Posts
    9k Views
    E
    .
  • Qt 5.3.2 + OpenGL + Windows Phone + ???

    4
    0 Votes
    4 Posts
    1k Views
    T
    Yes, will try tomorrow. Thanks.
  • Program hangs when i emit a global variable (Solved)

    3
    0 Votes
    3 Posts
    1k Views
    H
    Thanks, Initially i did not emit a signal with parameter by value. I use a global value to pass between 2 cpp files.
  • Phonon Videoplayer play only full screen

    7
    0 Votes
    7 Posts
    2k Views
    SGaistS
    What if you put your video player in a layout inside the parent widget ?
  • Keyboard (input method) scrolls "root view".. how to stop?

    1
    0 Votes
    1 Posts
    629 Views
    No one has replied
  • [Solved] Not displaying Chinese characters in embedded device

    2
    0 Votes
    2 Posts
    2k Views
    K
    For the benefit of other developers, I did fix the issue! Solution was, chinese font was missing in the target. By copying the right chinese font to the target, application was able to draw the text in chinese characters. It looks like Qt looks for the valid font. If valid font is not present, then it loads the default font.
  • QOpenGLFunctions in Android(Mobile Devices)

    1
    0 Votes
    1 Posts
    517 Views
    No one has replied
  • Min Example to include Qt in Android project

    1
    0 Votes
    1 Posts
    876 Views
    No one has replied
  • StartActivity will crash on Android because the Asset path is wrong.

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [SOLVED]Deployment to android device failed due to JAVA_HOME

    2
    0 Votes
    2 Posts
    1k Views
    No one has replied
  • How do i set up screen rotate like transformed:Rot90 used in QT3.X?

    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, What platform/OS are you talking about ? On a side note it's Qt, QT stands for Apple QuickTime
  • Unable to start QThread in Qt 5.4 beta

    5
    0 Votes
    5 Posts
    2k Views
    A
    Hi Vincent, I have tried Qt 5.4 RC as well and still the same issue. This time I tested it on both emulator and windows phone. Please advise.
  • 0 Votes
    1 Posts
    594 Views
    No one has replied
  • Is Qt 5.4 NFC apis supported on Windows phone?

    1
    0 Votes
    1 Posts
    498 Views
    No one has replied
  • Qt Quick 2 on ARM embedded linux without GPU

    2
    0 Votes
    2 Posts
    1k Views
    A
    Quick 2 requires OpenGL by default so your choices are either a software rasterizer (like Mesa llvmpipe) - these may not perform too well on low-powered ARM devices - or an alternative solution like the upcoming Qt Quick 2D renderer. That's commercial-only though.
  • Not able to extract QString from QHash

    2
    0 Votes
    2 Posts
    574 Views
    SGaistS
    Hi @QString str = myHash.value(5);@ You hash use an int as key and a QString as value.