Mac OS X 10.9 was released yesterday. When I ran my Qt 4 app on 10.9, the text alignment in the controls was broken. Here is the fix:
#ifdef Q_OS_MACX
{
// fix Mac OS X 10.9 (mavericks) font issue
// https://bugreports.qt-project.org/browse/QTBUG-32789
QFont::insertSubstitution(".Lucida Grande UI",
"Lucida Grande");
}
#endif
#ifdef Q_OS_MACX
if ( QSysInfo::MacintoshVersion > QSysInfo::MV_10_8 )
{
// fix Mac OS X 10.9 (mavericks) font issue
// https://bugreports.qt-project.org/browse/QTBUG-32789
QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
}
#endif
QApplication a( argc, argv );
To copy to clipboard, switch view to plain text mode
More details at:
http://successfulsoftware.net/2013/1...0-9-mavericks/
I hope that helps someone.
Bookmarks