[PyKDE] "qt_dir" error installing PyKDE

Christian Mladenov zhvihti at yahoo.com
Sat Jun 24 20:06:36 BST 2006


Hello all,

I get the following error when trying to install the
latest PyKDE from the site
(PyKDE-snapshot20060422.tar.gz):

Traceback (most recent call last):
  File "configure.py", line 934, in ?
    main(sys.argv)
  File "configure.py", line 872, in main
    inform_user (0)
  File "configure.py", line 249, in inform_user
    sipconfig.inform ("Qt directory is %s" %
pyqtcfg.qt_dir)
  File
"/usr/lib/python2.4/site-packages/sipconfig.py", line
179, in __getattr__
    raise AttributeError, "\"%s\" is not a valid
configuration value or user option" % name
AttributeError: "qt_dir" is not a valid configuration
value or user option

I have installed sip, version 4.4.5:

zhvihti:/home/christian/PyKDE-snapshot20060422/PyKDE-snapshot20060422
# sip -V
4.4.5 (4.4.5)

I also have installed PyQt version 4.0 and when I try
the example in examples/tools/qtdemo it runs (albeit
very very slow). There is also a dir
usr/lib/python2.4/site-packages/PyQt4.

I tried manually copying all "qt_" variables from
site-packages/PyQt4/pyqtconfig.py to
site-packages/sipconfig.py in the _pkg_config part and
even though I went past this error I got another one
afterwards. It seems that sip and PyQt don't
communicate well.

Info on system:
Suse 10.1
Qt 4.1.0-29 (+ devel package)
Qt3 3.3.5-58 (+ devel package)

Thanks a lot in advance.

Best regards,
Christian Mladenov


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the PyQt mailing list