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. Adjusting dimensions/sizing to match display
Qt 6.11 is out! See what's new in the release blog

Adjusting dimensions/sizing to match display

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.5k 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.
  • K Offline
    K Offline
    kchandr7
    wrote on last edited by
    #1

    I am working with a 7-inch embedded linux evm. And I've been noticing that whatever is on the Qt Designer on my desktop linux machine may not be rendered in the same way. For instance font sizes do not match, they appear smaller on the embedded screen. Also, when I have QLabels with text that might be obscured when I view it on Designer. It does not appeared to be obscured on the embedded screen.

    Any suggestions as to how I can improve this? Essentially I want to maintain WYSIWYG.Thanks.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RaubTieR
      wrote on last edited by
      #2

      Did you try using style sheets for QLabels and other widgets? May be you have different system themes on desktop and embeded linux and that causes default properties of labels to be different? I had such problem with labels too, when I made my app in win7 and then started it in ubuntu, and I believe that was because of theming issue since i didnt change any style settings for those labels and they just picked deffults somewhere else.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kchandr7
        wrote on last edited by
        #3

        Yes, I've been using the style sheets for all my widgets. I'm okay with them appearing differently but it makes my work a little difficult when the sizing is not the same. Were you able to resolve this by adding a style argument at runtime?

        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