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. Scaling problems with the apps and preview Windows 11
Forum Updated to NodeBB v4.3 + New Features

Scaling problems with the apps and preview Windows 11

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 4 Posters 1.1k 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.
  • J Offline
    J Offline
    JUDE34823
    wrote on last edited by JUDE34823
    #1

    Hi, on Windows 11 Qt Creator and Qt Design studio are huge. Worse is that when I preview in Qt Design studio, things like text in buttons are much larger than in the editor, the text hits the edges of the buttons.

    My laptop defaults to (Recommended) 150% scaling at 2560x1600

    If i reduce windows scaling to 100% then the preview text seems to look the same as the design view, but then my whole system is so small I can't see anything.

    If i use batch script i can get Qt Creator and Qt Design studio to a reasonable size with set QT_SCALE_FACTOR=0.85 but then i still have the preview text is bigger in button etc problem.

    Its a nightmare! I have been using Qt Designer and Vscode for a lot of apps and across many softwares i've never had any such trouble.

    Any ideas or tricks ? Many thanks.

    cristian-adamC 1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #2

      What QtCreator version do you use? And what Qt version do you use for your own apps? Do they have the same problems?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      J 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        What QtCreator version do you use? And what Qt version do you use for your own apps? Do they have the same problems?

        J Offline
        J Offline
        JUDE34823
        wrote on last edited by JUDE34823
        #3

        @Christian-Ehrlicher

        Hi, Thanks, I have not got to using Qt Creator yet I am doing Qt Design Studio tutorials. I installed the latest versions of Qt Creator and Qt Design studio open source yesterday. With Qt Designer and Vscode I use 6.7.1 with pyside6 without issue. I hope that answers the question, I am student! not pro.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JUDE34823
          wrote on last edited by
          #4

          Screenshot 2024-07-20 214940.png

          Here you can see the preview text is bigger in relation to the button.

          1 Reply Last reply
          0
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            So what version of Qt Design studio do you use then?

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            J 1 Reply Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher

              So what version of Qt Design studio do you use then?

              J Offline
              J Offline
              JUDE34823
              wrote on last edited by JUDE34823
              #6

              @Christian-Ehrlicher It says 4.5.1, I mentioned I installed the latest a couple of days ago, is that the latest? I will check. It says based on Qt 6.5.5 .......... edit: yes it seems to be the latest.

              1 Reply Last reply
              0
              • Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Ok, then you should wait for a bug report until it's using at least Qt6.7 - there were some scaling fixes.

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                J 1 Reply Last reply
                0
                • Christian EhrlicherC Christian Ehrlicher

                  Ok, then you should wait for a bug report until it's using at least Qt6.7 - there were some scaling fixes.

                  J Offline
                  J Offline
                  JUDE34823
                  wrote on last edited by
                  #8

                  @Christian-Ehrlicher Qt Design Studio is being used professionally? So it must not have these problems. Is it because I have the open source version ?

                  Christian EhrlicherC 1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    JUDE34823
                    wrote on last edited by
                    #9

                    Answer = yes. Ok that makes sense, but it's not very easy to find out about it. Thanks for the help.

                    1 Reply Last reply
                    0
                    • J JUDE34823

                      @Christian-Ehrlicher Qt Design Studio is being used professionally? So it must not have these problems. Is it because I have the open source version ?

                      Christian EhrlicherC Offline
                      Christian EhrlicherC Offline
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @JUDE34823 said in Scaling problems with the apps and preview Windows 11:

                      So it must not have these problems.

                      So professional software has no bugs?

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      Axel SpoerlA 1 Reply Last reply
                      0
                      • Christian EhrlicherC Christian Ehrlicher

                        @JUDE34823 said in Scaling problems with the apps and preview Windows 11:

                        So it must not have these problems.

                        So professional software has no bugs?

                        Axel SpoerlA Offline
                        Axel SpoerlA Offline
                        Axel Spoerl
                        Moderators
                        wrote on last edited by
                        #11

                        So professional software has no bugs?

                        Not generally. Professional versions are updated more frequently, and compiled against later Qt Versions. That makes it more likely to benefit from bug fixes, but also more exposed to newer bugs.

                        Software Engineer
                        The Qt Company, Oslo

                        1 Reply Last reply
                        0
                        • J JUDE34823

                          Hi, on Windows 11 Qt Creator and Qt Design studio are huge. Worse is that when I preview in Qt Design studio, things like text in buttons are much larger than in the editor, the text hits the edges of the buttons.

                          My laptop defaults to (Recommended) 150% scaling at 2560x1600

                          If i reduce windows scaling to 100% then the preview text seems to look the same as the design view, but then my whole system is so small I can't see anything.

                          If i use batch script i can get Qt Creator and Qt Design studio to a reasonable size with set QT_SCALE_FACTOR=0.85 but then i still have the preview text is bigger in button etc problem.

                          Its a nightmare! I have been using Qt Designer and Vscode for a lot of apps and across many softwares i've never had any such trouble.

                          Any ideas or tricks ? Many thanks.

                          cristian-adamC Offline
                          cristian-adamC Offline
                          cristian-adam
                          wrote on last edited by
                          #12

                          @JUDE34823 said in Scaling problems with the apps and preview Windows 11:

                          My laptop defaults to (Recommended) 150% scaling at 2560x1600

                          150% is the issue here. QT_SCALE_FACTOR_ROUNDING_POLICY is an environment variable that controls how the 1.5 gets rounded. You might want to flor the value. Qt6 has a different default value than Qt5.

                          Qt Creator has a combobox which allows the user to select the rounding policy. See https://bugreports.qt.io/browse/QTCREATORBUG-29501

                          1 Reply Last reply
                          1

                          • Login

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