diff options
author | Trenton Schulz <trenton.schulz@nokia.com> | 2009-03-24 09:11:29 (GMT) |
---|---|---|
committer | Trenton Schulz <trenton.schulz@nokia.com> | 2009-03-24 09:11:29 (GMT) |
commit | 4fe23655d3fbf141e3a2c0406c7d1a929166c30f (patch) | |
tree | f7b21d7edd4da0796669601890e8b51d259ba8c4 /src | |
parent | 8d9b0179a56f4ee5afc3ac6300d6bd97089eff96 (diff) | |
download | Qt-4fe23655d3fbf141e3a2c0406c7d1a929166c30f.zip Qt-4fe23655d3fbf141e3a2c0406c7d1a929166c30f.tar.gz Qt-4fe23655d3fbf141e3a2c0406c7d1a929166c30f.tar.bz2 |
Compile in Snow Leopard
GCC 4.2 needs to have this extern (and likely every compiler != gcc 4.
Reviewed-by: Trust Me
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/qcocoamenu_mac.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/qcocoamenu_mac.mm b/src/gui/widgets/qcocoamenu_mac.mm index c5977e4..c92dfc0 100644 --- a/src/gui/widgets/qcocoamenu_mac.mm +++ b/src/gui/widgets/qcocoamenu_mac.mm @@ -56,6 +56,10 @@ QT_FORWARD_DECLARE_CLASS(QAction) QT_FORWARD_DECLARE_CLASS(QWidget) QT_FORWARD_DECLARE_CLASS(QApplication) +QT_BEGIN_NAMESPACE +extern bool qt_sendSpontaneousEvent(QObject*, QEvent*); //qapplication.cpp +QT_END_NAMESPACE + @implementation QT_MANGLE_NAMESPACE(QCocoaMenu) - (id)initWithQMenu:(QMenu*)menu |