Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28828

qmacstyle_mac.mm fails compiling in 32 bit

    XMLWordPrintable

Details

    • macOS
    • 90e4bc5fdf1d0177e6acbb70349d85ca303c8e61

    Description

      In 32 bit, there are 2 compilation errors due to CGRect / NSRect uncompatibilities.

      simple config:
      configure -platform macx-clang-32 -v -nomake examples -nomake demos -commercial -confirm-license

      under 10.7.5

      I could make it work by changing:
      CGRect rect = [scroller bounds]; (line 5002)
      to
      CGRect rect = NSRectToCGRect([scroller bounds]);

      and

      [scroller drawKnobSlotInRect:rect highlight:YES]; (line 5009)
      to
      NSRect nr = NSRectFromCGRect(rect);
      [scroller drawKnobSlotInRect:nr highlight:YES];

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              dedietri Gabriel de Dietrich (drgvond)
              jirauser26727 user-04d21 (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes