Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Text formatting problem on embedded system
Forum Updated to NodeBB v4.3 + New Features

Text formatting problem on embedded system

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 252 Views 2 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.
  • S Offline
    S Offline
    sbartolett
    wrote on last edited by
    #1

    We are developing a GUI application using Visual Studios 2017 and Qt 5.12 on windows 10 and targetting a Raspberry Pi. We design a UI using Qt Creator and if we run the application from Visual Studios, the dialog displays as expected. However if we deploy the application on the Raspberry Pi and run it there, the text font size appears to change causing problems with the text formatting. The problem seems to be similiar to the one described here: https://www.raspberrypi.org/forums/viewtopic.php?t=203251#p1262570. But we have not been able to find a good solution to this problem other than trying to compensating for the problem in the design of the dialog in Qt Creator. Does anyone know a better solution?

    We are using Qt 5.12, Visual GDB, Linux toolchain GCC 8.3.0, GDB 8.2.1.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you show what you get ?
      Are you doing anything special with these font(s) ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #3

        Could be the case that the font family is changed.
        Rescale your label sizes to fit the new font size. Or change the font size to fit your label sizes

        1 Reply Last reply
        0
        • nageshN Offline
          nageshN Offline
          nagesh
          wrote on last edited by
          #4

          @sbartolett I have faced the similar issue, reason turns out to be the font that set for the GUI widget will not be available in the target environment.
          Either make the required fonts to be available in the target system or
          set the fonts which are currently available in the target

          1 Reply Last reply
          2

          • Login

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