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. [Solved] Weird font behavior in Linux ARM
Forum Updated to NodeBB v4.3 + New Features

[Solved] Weird font behavior in Linux ARM

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 2.1k Views 1 Watching
  • 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.
  • E Offline
    E Offline
    Endless
    wrote on last edited by
    #1

    I have a UI Designer form with a mixture of command buttons and text labels. They all have the same font and the same size. I do my development on a PC with a VirtualBox Linux environment. When I run it in that environment, everything shows up fine. On the other hand, when I transfer the application to the target environment (Linux ARM 9) and run it, one of the command buttons and one of the text fields display in a smaller point size than the rest. Has anyone else ever seen this kind of behavior?

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zeljko
      wrote on last edited by
      #2

      Yes, same thing happens when using pure QtWidgets project on N9. Must set app font to 20pts ..

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Endless
        wrote on last edited by
        #3

        For anyone who might have the same problem in the future, I found out what was happening. While the file looked good in Designer, when I looked at the .ui file with a text editor, I noticed that the font definitions were incomplete for some of the QLabels and QPushButtons. Even though they were defined in Designer, they lost those definitions when it was translated into the .ui file. I had to use the text editor to copy the correct font properties into the definitions for the problem elements.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Did you consider filing a bug report on JIRA?
          You should certainly do so, when the problem is reproducable.

          Vote the answer(s) that helped you to solve your issue(s)

          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