diff -ruPN --new-file PyQt-mac-gpl-4.7.2/configure.py PyQt-mac-gpl-4.7.2-patched/configure.py
--- PyQt-mac-gpl-4.7.2/configure.py	2010-03-17 19:36:00.000000000 +0100
+++ PyQt-mac-gpl-4.7.2-patched/configure.py	2010-03-31 14:22:58.000000000 +0200
@@ -1801,7 +1801,8 @@
         exe_file = os.path.join("release", app + ".exe")
         make_target = " release"
     elif sys.platform == "darwin":
-        exe_file = os.path.join(app + ".app", "Contents", "MacOS", app)
+        #exe_file = os.path.join(app + ".app", "Contents", "MacOS", app)
+        exe_file = os.path.join(".", app)
     else:
         exe_file = os.path.join(".", app)
 
Binary files PyQt-mac-gpl-4.7.2/sip/.DS_Store and PyQt-mac-gpl-4.7.2-patched/sip/.DS_Store differ
diff -ruPN --new-file PyQt-mac-gpl-4.7.2/sip/QtCore/qglobal.sip PyQt-mac-gpl-4.7.2-patched/sip/QtCore/qglobal.sip
--- PyQt-mac-gpl-4.7.2/sip/QtCore/qglobal.sip	2010-03-17 19:36:07.000000000 +0100
+++ PyQt-mac-gpl-4.7.2-patched/sip/QtCore/qglobal.sip	2010-03-31 14:23:12.000000000 +0200
@@ -68,6 +68,7 @@
 int qRound(qreal);
 qint64 qRound64(qreal);
 
+/*
 class QSysInfo
 {
 
@@ -176,7 +177,7 @@
 static const MacVersion MacintoshVersion;
 %End
 };
-
+*/
 const char *qVersion();
 bool qSharedBuild();
 void qDebug(const char *);
diff -ruPN --new-file PyQt-mac-gpl-4.7.2/sip/QtCore/qthread.sip PyQt-mac-gpl-4.7.2-patched/sip/QtCore/qthread.sip
--- PyQt-mac-gpl-4.7.2/sip/QtCore/qthread.sip	2010-03-17 19:36:07.000000000 +0100
+++ PyQt-mac-gpl-4.7.2-patched/sip/QtCore/qthread.sip	2010-03-31 14:23:12.000000000 +0200
@@ -39,7 +39,7 @@
 
 public:
     static QThread *currentThread();
-    static Qt::HANDLE currentThreadId();
+    //static Qt::HANDLE currentThreadId();
 %If (Qt_4_3_0 -)
     static int idealThreadCount();
 %End
diff -ruPN --new-file PyQt-mac-gpl-4.7.2/sip/QtGui/qapplication.sip PyQt-mac-gpl-4.7.2-patched/sip/QtGui/qapplication.sip
--- PyQt-mac-gpl-4.7.2/sip/QtGui/qapplication.sip	2010-03-17 19:36:07.000000000 +0100
+++ PyQt-mac-gpl-4.7.2-patched/sip/QtGui/qapplication.sip	2010-03-31 14:23:12.000000000 +0200
@@ -56,6 +56,7 @@
 %End
 };
 %End
+/*
 %If (WS_X11)
 void qt_x11_wait_for_window_manager(QWidget *widget);
 %End
@@ -80,6 +81,7 @@
 %If (WS_MACX)
 void qt_mac_set_press_and_hold_context(bool enable);
 %End
+
 // class QMacCocoaViewContainer : public QWidget
 %If (WS_MACX)
 %If (Qt_4_5_0 -)
@@ -103,6 +105,7 @@
 
 %End
 %End
+*/
 // QApplication *qApp
 QApplication *qApp;
 %AccessCode
@@ -291,11 +294,11 @@
         {sipName_QSortFilterProxyModel, &sipType_QSortFilterProxyModel, -1, -1},
         {sipName_QMenu, &sipType_QMenu, -1, 72},
         {sipName_QToolBar, &sipType_QToolBar, -1, 73},
-    #if defined(Q_WS_X11)
-        {sipName_QX11EmbedContainer, &sipType_QX11EmbedContainer, -1, 74},
-    #else
+    //#if defined(Q_WS_X11)
+    //    {sipName_QX11EmbedContainer, &sipType_QX11EmbedContainer, -1, 74},
+    //#else
         {0, 0, -1, 74},
-    #endif
+    //#endif
         {sipName_QMenuBar, &sipType_QMenuBar, -1, 75},
         {sipName_QRubberBand, &sipType_QRubberBand, -1, 76},
         {sipName_QTabBar, &sipType_QTabBar, -1, 77},
@@ -317,11 +320,11 @@
         {0, 0, -1, 82},
     #endif
         {sipName_QFocusFrame, &sipType_QFocusFrame, -1, 83},
-    #if defined(Q_WS_X11)
-        {sipName_QX11EmbedWidget, &sipType_QX11EmbedWidget, -1, 84},
-    #else
+    //#if defined(Q_WS_X11)
+    //    {sipName_QX11EmbedWidget, &sipType_QX11EmbedWidget, -1, 84},
+    //#else
         {0, 0, -1, 84},
-    #endif
+    //#endif
         {sipName_QComboBox, &sipType_QComboBox, 102, 85},
         {sipName_QDockWidget, &sipType_QDockWidget, -1, 86},
         {sipName_QAbstractSlider, &sipType_QAbstractSlider, 103, 87},
diff -ruPN --new-file PyQt-mac-gpl-4.7.2/sip/QtGui/qfont.sip PyQt-mac-gpl-4.7.2-patched/sip/QtGui/qfont.sip
--- PyQt-mac-gpl-4.7.2/sip/QtGui/qfont.sip	2010-03-17 19:36:07.000000000 +0100
+++ PyQt-mac-gpl-4.7.2-patched/sip/QtGui/qfont.sip	2010-03-31 14:23:12.000000000 +0200
@@ -151,7 +151,7 @@
     HFONT handle() const;
 %End
 %If (WS_X11 || WS_MACX)
-    Qt::HANDLE handle() const;
+//    Qt::HANDLE handle() const;
 %End
     void setRawName(const QString &);
     QString rawName() const;
diff -ruPN --new-file PyQt-mac-gpl-4.7.2/sip/QtGui/qwidget.sip PyQt-mac-gpl-4.7.2-patched/sip/QtGui/qwidget.sip
--- PyQt-mac-gpl-4.7.2/sip/QtGui/qwidget.sip	2010-03-17 19:36:07.000000000 +0100
+++ PyQt-mac-gpl-4.7.2-patched/sip/QtGui/qwidget.sip	2010-03-31 14:23:12.000000000 +0200
@@ -304,7 +304,7 @@
     Qt::HANDLE x11PictureHandle() const;
 %End
 %If (WS_X11 || WS_MACX)
-    Qt::HANDLE handle() const;
+    //Qt::HANDLE handle() const;
 %End
     void setAttribute(Qt::WidgetAttribute, bool on = true);
     virtual QPaintEngine *paintEngine() const;
diff -ruPN --new-file PyQt-mac-gpl-4.7.2/sip/QtNetwork/qsslcertificate.sip PyQt-mac-gpl-4.7.2-patched/sip/QtNetwork/qsslcertificate.sip
--- PyQt-mac-gpl-4.7.2/sip/QtNetwork/qsslcertificate.sip	2010-03-17 19:36:07.000000000 +0100
+++ PyQt-mac-gpl-4.7.2-patched/sip/QtNetwork/qsslcertificate.sip	2010-03-31 14:23:12.000000000 +0200
@@ -76,7 +76,7 @@
     static QList<QSslCertificate> fromPath(const QString &, QSsl::EncodingFormat format = QSsl::Pem, QRegExp::PatternSyntax syntax = QRegExp::FixedString);
     static QList<QSslCertificate> fromDevice(QIODevice *, QSsl::EncodingFormat format = QSsl::Pem);
     static QList<QSslCertificate> fromData(const QByteArray &, QSsl::EncodingFormat format = QSsl::Pem);
-    Qt::HANDLE handle() const;
+    //Qt::HANDLE handle() const;
 };
 
 %End
diff -ruPN --new-file PyQt-mac-gpl-4.7.2/sip/QtNetwork/qsslkey.sip PyQt-mac-gpl-4.7.2-patched/sip/QtNetwork/qsslkey.sip
--- PyQt-mac-gpl-4.7.2/sip/QtNetwork/qsslkey.sip	2010-03-17 19:36:07.000000000 +0100
+++ PyQt-mac-gpl-4.7.2-patched/sip/QtNetwork/qsslkey.sip	2010-03-31 14:23:12.000000000 +0200
@@ -53,7 +53,7 @@
     QSsl::KeyAlgorithm algorithm() const;
     QByteArray toPem(const QByteArray &passPhrase = QByteArray()) const;
     QByteArray toDer(const QByteArray &passPhrase = QByteArray()) const;
-    Qt::HANDLE handle() const;
+    //Qt::HANDLE handle() const;
     bool operator==(const QSslKey &) const;
     bool operator!=(const QSslKey &) const;
 };
