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. <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?
Forum Updated to NodeBB v4.3 + New Features

<font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?

Scheduled Pinned Locked Moved Solved General and Desktop
qfontfontfont familyfonts
21 Posts 4 Posters 5.5k 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.
  • Christian EhrlicherC Christian Ehrlicher

    Again:

    So this has nothing to do with Qt but with QtCreator because QtCreator creates/modifies the ui files - did you update QtCreator? What QtCreator version do you currently use?

    R Offline
    R Offline
    R-P-H
    wrote on last edited by
    #11

    @Christian-Ehrlicher said in font.setfamily() gets removed from ui header files after upgrading Qt ?:

    Again:

    So this has nothing to do with Qt but with QtCreator because QtCreator creates/modifies the ui files - did you update QtCreator? What QtCreator version do you currently use?

    Yes, I see and agree. Still doesn't seem to explain why it would remove all my font family properties ?

    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher

      Again:

      So this has nothing to do with Qt but with QtCreator because QtCreator creates/modifies the ui files - did you update QtCreator? What QtCreator version do you currently use?

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #12

      @Christian-Ehrlicher said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

      What QtCreator version do you currently use?

      for the third time...

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

      R 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @Christian-Ehrlicher said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

        What QtCreator version do you currently use?

        for the third time...

        R Offline
        R Offline
        R-P-H
        wrote on last edited by
        #13

        @Christian-Ehrlicher said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

        @Christian-Ehrlicher said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

        What QtCreator version do you currently use?

        for the third time...

        @R-P-H said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

        @Christian-Ehrlicher said in font.setfamily() gets removed from ui header files after upgrading Qt ?:

        So this has nothing to do with Qt but with QtCreator because QtCreator creates/modifies the ui files - did you update QtCreator? What QtCreator version do you currently use?

        Yes at the same time I upgraded Qt I also upgraded Qt Creator from major version 5 to major version 6. I am currently using Qt Creator v6.0.0.

        Capture.PNG

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

          Ok, can reproduce it with QtCreator 6.0.3. Happens only when the select font is the default font (Arial on Windows, Noto Sans on Linux in my case). Does not happen with Qt-Designer 5.15.x and also not with other attributes.

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

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

            Fixed In Qt6.2.3 and Qt6.3 so I would guess when a new QtCreator is build with Qt6.2.3 it's fixed there too. See https://bugreports.qt.io/browse/QTBUG-98916

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

            R 1 Reply Last reply
            2
            • Christian EhrlicherC Christian Ehrlicher

              Fixed In Qt6.2.3 and Qt6.3 so I would guess when a new QtCreator is build with Qt6.2.3 it's fixed there too. See https://bugreports.qt.io/browse/QTBUG-98916

              R Offline
              R Offline
              R-P-H
              wrote on last edited by
              #16

              @Christian-Ehrlicher said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

              Fixed In Qt6.2.3 and Qt6.3 so I would guess when a new QtCreator is build with Qt6.2.3 it's fixed there too. See https://bugreports.qt.io/browse/QTBUG-98916

              So just to wait ?

              Christian EhrlicherC 1 Reply Last reply
              0
              • R R-P-H

                @Christian-Ehrlicher said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

                Fixed In Qt6.2.3 and Qt6.3 so I would guess when a new QtCreator is build with Qt6.2.3 it's fixed there too. See https://bugreports.qt.io/browse/QTBUG-98916

                So just to wait ?

                Christian EhrlicherC Online
                Christian EhrlicherC Online
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #17

                @R-P-H said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

                So just to wait ?

                You can also build QtCreator by your own if you want... if it's worth the trouble.

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

                1 Reply Last reply
                0
                • mumanM Offline
                  mumanM Offline
                  muman
                  wrote on last edited by muman
                  #18

                  Hello,

                  This bug is causing me a lot of grief. Just upgraded to QtCreator 6.0.2 and now I lose all my fonts whenever I use QtCreator to edit my .ui files.

                  Is there a date when this bug is expected to be finished. I am trying to remain sane as I use QtCreator but in the end I use VSCode for code editing and until now I used QtCreator to edit .ui files (and now that is broken).

                  Thank you,
                  Michael Uman
                  Sr Firmware Engineer
                  Cana Technlogy

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

                    @muman said in <font family> gets removed from .ui header files after upgrading Qt Creator from v5 to v6 ?:

                    Is there a date when this bug is expected to be finished

                    As I already said - when a new QtCreator version is out, the bug will be fixed. You can also downgrade to an older version.

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

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      ChrisW67
                      wrote on last edited by
                      #20

                      Does the same problem exist if you use Qt 6.x Designer directly rather than as a component included in QtCreator?

                      Christian EhrlicherC 1 Reply Last reply
                      0
                      • C ChrisW67

                        Does the same problem exist if you use Qt 6.x Designer directly rather than as a component included in QtCreator?

                        Christian EhrlicherC Online
                        Christian EhrlicherC Online
                        Christian Ehrlicher
                        Lifetime Qt Champion
                        wrote on last edited by
                        #21

                        @ChrisW67 Really so hard the read the bug report and what I wrote? It is fixed in 6.2.3 and 6.3.x ...

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

                        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