This is a maintenance release which contains bug-fixes based on feedback and contributions since the Qt 4.7.1 release back in November. It also marks the official release of Qt Quick. Qt Quick is a new feature within Qt that makes it easy to create light-weight apps and UIs. It contains the new QML language, the Qt Declarative module, and new tooling in Qt Creator to easily build apps. PkgSrc: now builds with Clang.
15 lines
778 B
Text
15 lines
778 B
Text
$NetBSD: patch-cc,v 1.1 2011/03/03 05:50:04 adam Exp $
|
|
|
|
Avoid error when compiling with Clang.
|
|
|
|
--- src/gui/kernel/qwidget_mac.mm.orig 2011-01-12 10:01:28.000000000 +0000
|
|
+++ src/gui/kernel/qwidget_mac.mm
|
|
@@ -3206,7 +3206,7 @@ void QWidgetPrivate::setWindowIcon_sys(b
|
|
if (iconButton == nil) {
|
|
QCFString string(q->windowTitle());
|
|
const NSString *tmpString = reinterpret_cast<const NSString *>((CFStringRef)string);
|
|
- [qt_mac_window_for(q) setRepresentedURL:[NSURL fileURLWithPath:tmpString]];
|
|
+ [qt_mac_window_for(q) setRepresentedURL:[NSURL fileURLWithPath:(NSString *)tmpString]];
|
|
iconButton = [qt_mac_window_for(q) standardWindowButton:NSWindowDocumentIconButton];
|
|
}
|
|
if (icon.isNull()) {
|