summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Sorvig <msorvig@trolltech.com>2009-09-11 05:51:09 (GMT)
committerMorten Sorvig <msorvig@trolltech.com>2009-09-11 05:51:09 (GMT)
commit8ee8f3383c05c0e82d81304f60b97ca7659074cc (patch)
treee60e345454b77bfe9f64bc7e2a2dc0e14b90bfec
parentaad2316995d46cb8a1bfc2763c0617b0c7c92307 (diff)
downloadQt-8ee8f3383c05c0e82d81304f60b97ca7659074cc.zip
Qt-8ee8f3383c05c0e82d81304f60b97ca7659074cc.tar.gz
Qt-8ee8f3383c05c0e82d81304f60b97ca7659074cc.tar.bz2
Run on 10.3.
_HIViewScrollRectWithOptions needs to be declared as a weak-linked symbol in order to make static linking work.
-rw-r--r--src/gui/kernel/qwidget_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm
index 09ac2c3..987d2ae 100644
--- a/src/gui/kernel/qwidget_mac.mm
+++ b/src/gui/kernel/qwidget_mac.mm
@@ -122,7 +122,7 @@ QT_BEGIN_NAMESPACE
extern "C" {
extern OSStatus _HIViewScrollRectWithOptions(HIViewRef, const HIRect *, CGFloat, CGFloat,
- OptionBits);
+ OptionBits) __attribute__ ((weak));
}
#define kHIViewScrollRectAdjustInvalid 1
#define kHIViewScrollRectDontInvalidateRevealedArea 2