[PyKDE] Compiling PyQT without having the qt library in the path

Giovanni Bajo rasky at develer.com
Mon Feb 21 16:12:35 GMT 2005


mkfeatures is correctly compiled using the QT directory with which SIP was
configured. Nonetheless, the executable is then run assuming that the QT
library is in the path, which can be false. Adding this line in
configure.py:428 (just before os.system(exe) in create_features_file) works
for me:

    os.environ["PATH"] = os.path.join(sipcfg.qt_dir, "bin") + os.pathsep +
Giovanni Bajo

More information about the PyQt mailing list