Results 1 to 2 of 2

Thread: Qt fonts are different

  1. #1
    Join Date
    Jun 2020
    Posts
    11
    Qt products
    Qt4 Qt5

    Default Qt fonts are different

    Hey,
    I work with three Friends on a Qt Project. I have the Problem that when one of them changes the font of a label for example, I do not see the font when the Project is running. In the ui I can see that the font says for example Times New Roman but as said when the Programm is running it Shows not the selected font. Does anyone know how to fix that Problem?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,564
    Thanks
    255
    Thanked 728 Times in 718 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Qt fonts are different

    I have the Problem that when one of them changes the font of a label for example, I do not see the font when the Project is running.
    You have to provide more information.

    Where is the font changed? In the UI file using Qt Designer? In the code (in C++)?
    When is the font changed? If it is in the UI file or code, do you rebuild the project before running it? If it is at run-time, how is the font changed?
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. X11 fonts
    By warchild in forum Qt Programming
    Replies: 1
    Last Post: 16th December 2013, 19:35
  2. How to fix Qt 4 fonts on Mac OS X 10.9
    By AndyBrice in forum Qt Programming
    Replies: 0
    Last Post: 23rd October 2013, 12:44
  3. Adding Arabic fonts and CJK (China Japan Korean) fonts
    By kishore7771 in forum Qt Programming
    Replies: 0
    Last Post: 30th July 2013, 18:33
  4. About Fonts
    By QbelcorT in forum Qt Programming
    Replies: 1
    Last Post: 2nd April 2009, 17:58
  5. How to use qpf fonts
    By yagabey in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th September 2008, 07:56

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.