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

Qt-5.3.2 build from source error for 32 bit MacOSX platform

    XMLWordPrintable

Details

    • 3b3ecb79a6b61a085445b42253cc90c8e58e1c6c

    Description

      Trying to build a 32bit version of Qt5.3.2 for OSX configured with

      ./configure -platform macx-clang-32
      

      build fails on qmacstyle_mac.mm with the following error:

      styles/qmacstyle_mac.mm:3670:80: error: no viable conversion from 'CGRect' to 'NSRect' (aka '_NSRect')
                          pushButtonFocusRingPath = [NSBezierPath bezierPathWithRect:focusRect];
      

      Focus rect must be explicitly converted to NSRect with NSRectFromCGRect() at lines 3670 and 3672.

      Attachments

        1. qmacstyle_mac.patch
          0.5 kB
          Giorgio Daino

        Issue Links

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

          Activity

            People

              andysh Andy Shaw
              gdaino Giorgio Daino
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes