Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved] Qt 4.8.0 fonts not matching 4.7.4 compiles
QtWS25 Last Chance

[Solved] Qt 4.8.0 fonts not matching 4.7.4 compiles

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.9k 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.
  • R Offline
    R Offline
    Radi8
    wrote on last edited by
    #1

    I would be grateful if someone could steer me out of my problem. All applications I compile on QTSDK Creator using 4.7.4 compile with normal fonts but when I use 4.8.0 library the fonts are incorrect with sizes being larger and dots in the Zeros. They are very clunky looking.

    When I run assistant from a terminal the same clunky fonts are there and I get error messages as follows which may be a clue ...
    $ assistant
    Could not load translation file assistant_en_NZ in directory /usr/local/Trolltech/Qt-4.8.0/translations.
    Could not load translation file qt_en_NZ in directory /usr/local/Trolltech/Qt-4.8.0/translations.
    Could not load translation file qt_help_en_NZ in directory /usr/local/Trolltech/Qt-4.8.0/translations.
    Object::connect: No such signal HelpViewer::printRequested()

    If necessary I can supply screen shots of the 4.8.0 vs 4.7.4 compiles and would add that they are correct on other users machines. It seems mine is the only one giving trouble. My OS is Linux Mint 11 and all Mint and Qt updates have been installed.

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

      Here are a couple of screenshots of my application showing the difference between compiling with Qt4.7 and Qt4.8

      Here is my Qt4.8 output

      !https://sdr-widget.googlegroups.com/attach/26cfa2895ca4d6cc/Screenshot-QtRadio17-11-11.jpg?view=1&part=4()!

      Here is how it should look

      !https://sdr-widget.googlegroups.com/attach/8ab3f24f6badac52/Screenshot-qt4.8.png?view=1&part=4()!

      I would be grateful for any suggestions as to why these fonts are not right.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        portoist
        wrote on last edited by
        #3

        I got same problem on Ubuntu 11.10. Qt4.7.4 compiles are fine, but compiling same project with 4.8.0 results in messed up fonts. I've been even trying to load custom font with QFontDatabase::addApplicationFont, but had no success...

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Radi8
          wrote on last edited by
          #4

          I simply re installed Qt 4.8.0 library and it all came right. Thanks to those who looked at the message. Sorry I am not sure of how to mark the message as solved properly so this is the best I can do.

          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