[MacPorts] #62964: QT 5.9: Add Mavericks Compatibility
MacPorts
noreply at macports.org
Sat Oct 23 03:48:13 UTC 2021
#62964: QT 5.9: Add Mavericks Compatibility
--------------------------+--------------------------------
Reporter: Wowfunhappy | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.0
Resolution: | Keywords: haspatch mavericks
Port: qt59 |
--------------------------+--------------------------------
Comment (by realnc):
I'm not using macports for qt, but I found this while searching on whether
qt 5.9 can be made to work on mavericks. I applied these patches (the
newer ones, not the original ones) on top of Qt 5.9.9. I then built it on
macOS 10.15 and 10.12. It builds fine, but the produced binaries either
crash or produce garbled graphics when running on 10.9.
When running from the terminal, you see a lot of errors like this:
{{{
QCoreTextFontDatabase: Found no matching fonts for family ".Aqua Kana"
QCoreTextFontDatabase: Found no matching fonts for family ".Helvetica LT
MM"
QCoreTextFontDatabase: Found no matching fonts for family ".Helvetica Neue
Desk UI"
QCoreTextFontDatabase: Found no matching fonts for family ".Keyboard"
+[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized
selector sent to class 0x7fff7588e768
An uncaught exception was raised
+[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized
selector sent to class 0x7fff7588e768
2021-10-23 07:33:55.547 QTads[254:507] (
0 CoreFoundation 0x00007fff8c59a41c
__exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff9106be75
objc_exception_throw + 43
2 CoreFoundation 0x00007fff8c59d1ed
+[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff8c4f85b2
___forwarding___ + 1010
4 CoreFoundation 0x00007fff8c4f8138
_CF_forwarding_prep_0 + 120
5 QTads 0x000000010735df08
_ZNK16QMacStylePrivate13drawFocusRingEP8QPainterRK5QRectiid + 1016
6 QTads 0x000000010736e28d
_ZNK9QMacStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget
+ 20541
7 QTads 0x0000000106da109f
_ZN12KColorButton10paintEventEP11QPaintEvent + 111
8 QTads 0x000000010706da62
_ZN7QWidget5eventEP6QEvent + 1106
9 QTads 0x00000001070344d9
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 265
10 QTads 0x0000000107035749
_ZN12QApplication6notifyEP7QObjectP6QEvent + 377
11 QTads 0x000000010791b986
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 166
12 QTads 0x0000000107066910
_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore
+ 3184
13 QTads 0x00000001070670bf
_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore
+ 1071
}}}
I went back to qt 5.8 for targeting mavericks. So I just wanted to point
out here that it seems to me that just because qt 5.9 can be built to
target mavericks with these patches doesn't actually mean it runs fine on
mavericks.
--
Ticket URL: <https://trac.macports.org/ticket/62964#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list