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. Qt Creator and all application using Qt 5.6+: Fonts too small on 4K monitor

Qt Creator and all application using Qt 5.6+: Fonts too small on 4K monitor

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 3.8k 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.
  • T Offline
    T Offline
    Tetractys
    wrote on last edited by A Former User
    #1

    Hi!
    I have:

    • 4K monitor at 3840x2160 60Hz.
    • NVIDIA GTX 980 - (drivers ver. 367.27) on Ubuntu-MATE 16.04 - Cinnamon DE ver 3.0.5
    • Qt Creator 4.0.1:
      Based on Qt 5.6.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)
      Built on Jun 6 2016 17:13:49
      From revision 6863acfe91

    QTCreator and any other QT based application i have tested, have fonts visualization of content and interface far too small.
    Applications i'm using and i tested are: qBittorrent TeamSpeak3 and SMPlayer (but this one has HDPI switch built in that, when switched on, distorts horribly the geometry of interface itself).

    For QT4 there were qtconfig-qt4. Any tool like this for QT5 system-wide configuration?
    There is a method to multiply or configure the size of fonts?
    Thanks in advance.

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

      Hi and welcome to devnet,

      IIRC, Qt Creator 4.0.2 has just been released, can you check against that version again ?

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

      T 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi and welcome to devnet,

        IIRC, Qt Creator 4.0.2 has just been released, can you check against that version again ?

        T Offline
        T Offline
        Tetractys
        wrote on last edited by
        #3

        @SGaist i updated to 4.0.2 version.
        It worked as intended.
        Even in all applications, that use QT libraries, fonts are aligned to the default size of the desktop environment.
        So, solved! thanks a lot!

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

          You're welcome !

          Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

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

          T 1 Reply Last reply
          1
          • SGaistS SGaist

            You're welcome !

            Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

            T Offline
            T Offline
            Tetractys
            wrote on last edited by
            #5

            @SGaist I did a fresh install of qt-unified-linux-x64-2.0.3-1-online.run on a new Ubuntu-MATE 16.04 - Cinnamon DE ver 3.0.5.
            QtCreator is in version 4.0.2 but the problem of small fonts on a 4K display (3840x2160) sadly reappeared.
            I tried with the system global variables but seems problematic to manage fonts (i mean making them readable) for any qt5 applications.
            Any clue? global variables seems not working at all.

            Having a 4K monitor and avoid to use it at max resolution is a non sense :)
            Thanks in advance

            1 Reply Last reply
            0
            • K Offline
              K Offline
              KeithS
              wrote on last edited by
              #6

              Have you looked at: https://blog.qt.io/blog/2016/01/26/high-dpi-support-in-qt-5-6/ ?

              T 1 Reply Last reply
              1
              • K KeithS

                Have you looked at: https://blog.qt.io/blog/2016/01/26/high-dpi-support-in-qt-5-6/ ?

                T Offline
                T Offline
                Tetractys
                wrote on last edited by Tetractys
                #7

                @KeithS thanks for the link.
                I tried to set the global vars and all explained in the link but nothing equilibrated and visually acceptable.
                I think the problem is related to the Cinnamon DE (3.0.5). Installing MATE 1.14.1, every QT* related applications follow perfectly the setup of fonts and interface aspect integrating perfectly all apps (QTCreator included) avoiding any use and forcing of global variables!
                So, i strongly suggest to everyone had same type of interface problems on Linux to try MATE 1.14.1 Desktop Environment (fork of the well known Gnome 2). See: http://mate-desktop.org/.
                Thanks a lot for everything!

                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