[depends] Qt fails to build on OSX 10.11, Xcode 7.3.1 #7999

issue fanquake opened this issue on May 4, 2016
  1. fanquake commented at 2:20 AM on May 4, 2016: member
    In file included from qcocoacursor.mm:35:
    ./qcocoawindow.h:223:11: warning: 'devicePixelRatio' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
        qreal devicePixelRatio() const;
              ^
    ../../../../include/QtGui/5.5.0/QtGui/qpa/../../../../../src/gui/kernel/qplatformwindow.h:110:19: note: overridden virtual function is here
        virtual qreal devicePixelRatio() const;
                      ^
    qcocoacursor.mm:76:20: error: no matching function for call to 'CGEventCreateMouseEvent'
        CGEventRef e = CGEventCreateMouseEvent(0, kCGEventMouseMoved, pos, 0);
                       ^~~~~~~~~~~~~~~~~~~~~~~
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEvent.h:57:33: note: 
          candidate function not viable: no known conversion from 'int' to 'CGMouseButton' for 4th argument
    CG_EXTERN CGEventRef __nullable CGEventCreateMouseEvent(
                                    ^
    26 warnings and 1 error generated.
    make[4]: *** [.obj/qcocoacursor.o] Error 1
    

    This seems to be fixed in Qt 5.5.1, but probably isn't worth an intermediate bump to 5.5.1 if we're going to shift to 5.6 soon?

  2. theuni commented at 5:03 AM on May 4, 2016: member

    Hmm, lots to bump. I was planning on doing a clang bump for the cross build, with an SDK bump to match. That would introduce this problem I suppose, so we'll need to fix this one first.

    Just going straight to 5.6.0 probably makes the most sense.

  3. jonasschnelli commented at 5:26 AM on May 4, 2016: contributor

    Yes. Lets just go to 5.6.0. 5.6.0 also would give us (better) HiDPI support for Win/Linux.

  4. jonasschnelli added the label GUI on May 4, 2016
  5. fanquake commented at 10:32 AM on June 22, 2016: member

    Fixed since we've upgraded to QT 5.6.1

  6. fanquake closed this on Jun 22, 2016

  7. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me