Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem with the display on android armeabi
QtWS25 Last Chance

Problem with the display on android armeabi

Scheduled Pinned Locked Moved Mobile and Embedded
displayandroidarmebi
5 Posts 3 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Maniform
    wrote on last edited by Maniform
    #1

    Hello Guys ! (French)
    I have developped my first project on Qt for computer and it works very well but I want to deploy it on my phone (compatible armebi) :

    • Samsung s5839i
    • Android 2.3.7
    • Cyanogenmod 7 20130815 Unofficial
    • Cooperve

    But when I do it, the display of the widgets, mostly of the QSpinBoxes, is very bad. You can see it by clicking here.
    On computer, it looks like that (it's an older version).
    I don't know why but the display has been good just once time but I don't know the reason. That just proved me that my phone can display it well.

    Anyone could help me please ?

    1 Reply Last reply
    0
    • compeoreeC Offline
      compeoreeC Offline
      compeoree
      wrote on last edited by
      #2

      I cannot help directly with Android, but I had something similar when deploying on embedded Linux system. The underlying problem was related to installed fonts. I would check what fonts are installed on Android and what is being used in Qt.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Maniform
        wrote on last edited by
        #3

        Thank you for your answer. I tried your solution with Droid Sans' font but it doesn't work.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jeff Andle
          wrote on last edited by
          #4

          in linux2.6.31 on an ARM with a 480x272 display I had to force font sizes in pixels. I assume that the underlying issue was a failure by me to define some lower level variables. With that, things were both legible and acceptable.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Maniform
            wrote on last edited by Maniform
            #5

            I had recently owned a new phone (Onplus One) on cyanogenmod 12 (api 5.1.1) and I have exactly the same problem on this one. It has a 5.5" screen.
            Screenshot link

            If anyone have a solution.
            Thank you.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved