Compile Error from CVS Build
Chad Nouis <[email protected]>
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Compiling the kdegames package from the CVS sources yields the following error: display_widget.cpp: In method `void BoardDisplay::buttonPressed ()': display_widget.cpp:62: cannot convert `const QObject *' to `QObject *' in initialization make[3]: *** [display_widget.lo] Error 1 This can be fixed by changing atlantik/libatlantikui/display_widget.cpp line 62 from: QObject *o = QObject::sender(); to: QObject *o = const_cast<QObject*> (QObject::sender()); It's ugly, but I had to do it to allow compiling to work again. Chad Nouis __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com