[PyKDE] Jason Monroe Martin <monroe@swva.net>
Jim Bublitz
jbublitz at nwinternet.com
Thu Nov 1 18:54:35 GMT 2001
On 01-Nov-01 Jason Monroe Martin<monroe at swva.net> wrote:
> Has anyone been able to compile and install or build rpms of
> PyQt-3.0preX-Qt-3.0.0 on a RedHat 7.1 , RedHat 7.2 or Mandrake
> 8.1 system. All three systems had all updates installed. The
> QT-3.0.0 came from RedHat's rawhide and from trolltech's site
> and compiled or was rebuild on each system. Everything goes find
> down to the last few lines of the install. It usually fails with
> the python import of the qt.py and the error being something
> like (not exact) invalid object metaobject__C9QSGIStyle. The
> error happens with Python 2.1 , 2.2a4, 2.2b1. I checked
> the code out of CVS for PyQt and Sip and recompiled all versions
> of python to match each machine setup. Thanks in advance for any
> suggestions.
It appears that metaobject_C9QSGIStyle isn't in the qt libs you
built (that's the mangled name for QSGIStyle::metaObject - not
sure what argument type the 'C9' is though). You can verify if it's
really there or not by running the 'nm' command on the qt lib(s)
and searching the output for that item ('nm libXXXX | less', for
example, as there will be a lot of output, and then use
'/metaobject_C9QSGIStyle' to search). I haven't built qt3 yet, but
it seems to me that when you do ./configure for qt, you get a bunch
of options about what to include in the build, and perhaps there's
an option that omits/includes QSGIStyle.
More information about the PyQt
mailing list