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. [solved] Removing of WindowMaximizeButtonHint makes the window non-resizable? (Qt 5, Mac)

[solved] Removing of WindowMaximizeButtonHint makes the window non-resizable? (Qt 5, Mac)

Scheduled Pinned Locked Moved General and Desktop
10 Posts 2 Posters 2.2k 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.
  • crystalideaC Offline
    crystalideaC Offline
    crystalidea
    wrote on last edited by
    #1

    Removing of WindowMaximizeButtonHint in Qt5.2.0 (was ok in Qt4) makes window/dialog non resizable on Mac. 10.9.1. Is that normal or is it a bug? Is there any workaround?

    Thanks.

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

      Hi,

      What exact version of Qt are you using on which version of OS X ?

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

      1 Reply Last reply
      0
      • crystalideaC Offline
        crystalideaC Offline
        crystalidea
        wrote on last edited by
        #3

        5.2, 10.9.1

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

          Can you provide a minimal sample that reproduces this ?

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

          1 Reply Last reply
          0
          • crystalideaC Offline
            crystalideaC Offline
            crystalidea
            wrote on last edited by
            #5

            It's called windowflags sample, default sample that comes with Qt
            examples/widgets/widgets/windowflags

            https://www.dropbox.com/s/8aep6rz90mkp9wf/flags_sample.png

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

              Looking at the sources, it looks like It's normal.

              You can use the code shown "here":http://qt-project.org/forums/viewthread/27728 to adjust the flags of your widget exactly the way you want it

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

              1 Reply Last reply
              0
              • crystalideaC Offline
                crystalideaC Offline
                crystalidea
                wrote on last edited by
                #7

                Thank you, looks promising

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

                  If this solves your problem, don't forget to update the thread title prepending [solved] so other forum users may know a solution as 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

                  1 Reply Last reply
                  0
                  • crystalideaC Offline
                    crystalideaC Offline
                    crystalidea
                    wrote on last edited by
                    #9

                    Done. Seems like Qt5 changed this behaviour to match Mac policy about it.

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

                      AFAIK yes, that's the goal

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

                      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