As a hacker fix, you can simply remove the call to the CGSGetWindowProperty property - Qxt will compile, but, of course, QxtWindowSystem::windowTitlewill not work correctly.
diff --git a/src/widgets/mac/qxtwindowsystem_mac.cpp b/src/widgets/mac/qxtwindowsystem_mac.cpp
index 63cab38..de4a89c 100644
--- a/src/widgets/mac/qxtwindowsystem_mac.cpp
+++ b/src/widgets/mac/qxtwindowsystem_mac.cpp
@@ -89,11 +89,7 @@ QString QxtWindowSystem::windowTitle(WId window)
// most of CoreGraphics private definitions ask for CGSValue as key but since
// converting strings to/from CGSValue was dropped in 10.5, I use CFString, which
// apparently also works.
- err = CGSGetWindowProperty(connection, window, (CGSValue)CFSTR("kCGSWindowTitle"), &windowTitle);
- if (err != noErr) return QString();
-
- // this is UTF8 encoded
- return QCFString::toQString((CFStringRef)windowTitle);
+ return QString();
}
QRect QxtWindowSystem::windowGeometry(WId window)
libqxt.