Migrate From PyQt3 to PyQt4

N

nusch

I want to migrate from qt,pyqt,pykde 3 to 4 and remove all *.py files
to work with newer version, also after remove pyqt3support. How can I
do it in easy way ? I've read here http://www.mail-archive.com/[email protected]/msg15009.html
something about deprecation warning but can't see such warning
anywhere. My python modules also produce a lot of output so I can
easily overlook such information. Is there a way to stop execution
after every old qt3 class/method? I know I can remove all qt3,
qt3support libs, but I don't want to make whole system unstable
because of one project.
 
D

Dave Angel

nusch said:
I want to migrate from qt,pyqt,pykde 3 to 4 and remove all *.py files
to work with newer version, also after remove pyqt3support. How can I
do it in easy way ? I've read here http://www.mail-archive.com/[email protected]/msg15009.html
something about deprecation warning but can't see such warning
anywhere. My python modules also produce a lot of output so I can
easily overlook such information. Is there a way to stop execution
after every old qt3 class/method? I know I can remove all qt3,
qt3support libs, but I don't want to make whole system unstable
because of one project.
Generic answer: when migrating one Python project independent of others
on the same system, I'd suggest having an independent Python
installation for the temporary mix of addon libraries. In your case the
only difference might be the absense of the qt version 3 stuff.

The way of supporting multiple environments varies by system and by user
environment, but generally you can either change the shebang line, or
the script/batch file you start the application with. If you're on
Windows, you do not want to change the file association to point to the
new environment, so be careful during install, not to make this the
"default" Python installation.

DaveA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top