[PyQt] pyqt does not find phonon (from kde.org) at build time
PyQt fails to use non-qt, externally installed phonon preferred by KDE4 . Attachment (perl script) adds external phonon's include_dirs and lib_dirs when phonon is built to KDE4 specs with qt -no-phonon and external phonon. (why configure.py cannot do itself?) (configure.py acts hard-coded that it is in qt dir) #!/usr/bin/perl # USAGE: perl -i [path_to]PyQt-KDE-phonon.pl configure.py # This adds external phonon's include_dirs and lib_dirs # when phonon built to KDE4 specs with qt -no-phonon and external phonon # (why configure.py cannot do itself?) # (configure.py acts hard-coded that it is in qt dir) $PHONON_PREFIX = ; $sys_cmd = 'pkg-config --variable=prefix phonon'; if (open(SYS_CMD, $sys_cmd |)) { while (SYS_CMD) { chomp; $PHONON_PREFIX = $_; last; } } $eid_eld = ; if ($PHONON_PREFIX ne ) { if ($PHONON_PREFIX =~ m@/usr@) { $eid_eld = , extra_include_dirs=[\${PHONON_PREFIX}/include/phonon\]\); } elsif ($PHONON_PREFIX !~ m@/qt@) { $eid_eld = , extra_include_dirs=[\${PHONON_PREFIX}/include\, \${PHONON_PREFIX}/include/phonon\], extra_lib_dirs=[\${PHONON_PREFIX}/lib\]\); } } while () { if ($eid_eld ne ) { $_ =~ s...@^(\s+new Phonon::VideoWidget\(\))\)@$1$eid_eld@; $_ =~ s...@^(\s+generate_code\(phonon)\)$...@$1$eid_eld@; } print } ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyKDE] pyqt qt-win error
Hi All i have installed QT4.1.1-win-mingw opensource in windows and i want to work with pyqt but the last version that i have downloaded (PyQt-win-nc-msvc-3.13.exe) dosen't work it gives an error a qt dll not found. so what's is the appropriate version of pyqt that supports qt4.1.1 ?? _ Votre mail gratuit avec http://lexpress.net ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] import error in pyqt
Hello i have installed that packages under windows python-2.4.1.msi qt-win-opensource-4.1.2-mingw.exe PyQt4-gpl-snapshot-20060111.exe whene i try to import qt from python it prints the error 'no module named qt' should i change the version of pyqt ?? regards _ Votre mail gratuit avec http://lexpress.net ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] How To Publish a pyqt application
Hello all thanks for that nice mailling-list ; and also pyqt . but i have a serious problem with pyqt. the problem is that i can't (or i don't know how to) publish my applications written using pyqt . as you know every pyqt application begins with from qt import * and qt itself imports sip and qscintilla . so if i give my .py application to some one who has only linux installed with python it won't work because he don't have pyqt installed i have tried cx-freeze in order to build a binary executable but it comes with a lot of errors . so all that for me is a serious problem and i can't distribute my application is there a way to create a .tar.gz file for my applications ?? so that the other users will just type $python configure.py make makeinstall or provide me with an other solution thanks ! _ Votre mail gratuit avec http://lexpress.net ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] problem with pyqt
hello i'm a python developper and i want to build GUI applications that uses qt gui (pyqt) but i have a serious problem that is whene i code an application it can't be used by other personnes because the qt module is not present (from qt import *) so that generates an error so other personnes that wants to run my apps must install pyqt and it's not easy to do , they sould must install qt , qscintilla ,sip and finally pyqt and this is not easy and takes a lot of time to compile qt and pyqt the question is is there a way to resolve that problem for exemple installing pyqt with rpm that is easy??? _ Votre mail gratuit avec http://lexpress.net ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] also about pyqt
i have downloaded cx-freeze and i have found that lines in the readme file Assume that you have a script called hello.py containing the line print 'Hello World!'. To freeze this script you would issue the following commands: FreezePython --install-dir dist hello.py This would create the following files (the exact number and names of files will depend on the platform and version of Python that is used): dist/hello dist/pcre.so dist/pwdmodule.so dist/strop.so please explain how to build an rpm-package from that files and thanks for all _ Votre mail gratuit avec http://lexpress.net ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde