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

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

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