Patrick Stinson wrote:
> X11? huh?
>
> mework/Headers -F/usr/local/Trolltech/Qt-4.2.0-opensource-shared/lib
> -o sipQtGuipart0.o
> sipQtGuipart0.cpp
> sip/QtGui/qapplication.sip: In function 'sipWrapperType*
> sipSubClass_QApplication(void**)':
> sip/QtGui/qapplication.sip:202: error: 'sipName_QX11EmbedWidget' was
> not declared in this scope
> sip/QtGui/qapplication.sip:202: error: 'sipClass_QX11EmbedWidget' was
> not declared in this scope
> sip/QtGui/qapplication.sip:218: error: 'sipName_QX11EmbedContainer'
> was not declared in this scope
> sip/QtGui/qapplication.sip:218: error: 'sipClass_QX11EmbedContainer'
> was not declared in this scope
>
I had the same problem with the latest snapshot on Windows. The attached patch
fixes it (though I'm not sure if using #ifdef Q_WS_X11 is the best solution).
-Lukáš
--- qapplication.sip.orig 2006-10-19 03:36:00.000000000 +0200
+++ qapplication.sip 2006-10-19 12:27:04.000000000 +0200
@@ -199,7 +199,11 @@
{sipName_QRubberBand, &sipClass_QRubberBand, -1, 57},
{sipName_QLineEdit, &sipClass_QLineEdit, -1, 58},
{sipName_QDialog, &sipClass_QDialog, 81, 59},
+ #ifdef Q_WS_X11
{sipName_QX11EmbedWidget, &sipClass_QX11EmbedWidget, -1, 60},
+ #else
+ {0, 0, -1, 60},
+ #endif
{sipName_QToolBar, &sipClass_QToolBar, -1, 61},
{sipName_QMainWindow, &sipClass_QMainWindow, -1, 62},
{sipName_QFocusFrame, &sipClass_QFocusFrame, -1, 63},
@@ -215,7 +219,11 @@
{sipName_QTabWidget, &sipClass_QTabWidget, -1, 73},
{sipName_QSizeGrip, &sipClass_QSizeGrip, -1, 74},
{sipName_QComboBox, &sipClass_QComboBox, 118, 75},
+ #ifdef Q_WS_X11
{sipName_QX11EmbedContainer, &sipClass_QX11EmbedContainer, -1, 76},
+ #else
+ {0, 0, -1, 76},
+ #endif
{sipName_QStatusBar, &sipClass_QStatusBar, -1, -1},
{sipName_QCheckBox, &sipClass_QCheckBox, -1, 78},
{sipName_QPushButton, &sipClass_QPushButton, -1, 79},
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde