luc
luc

Reputation: 43156

How to open a Pyqt 3.3 ui file with QtDesigner 4?

I've a PyQt 4 installed (I can't find PyQt 3 for Windows) and I would like to open a QtDesigner ui file which has been created with QtDesigner 3.3.

When I open this file I've the following message:

Please use uic3 -convert to convert to Qt4

Unfortunately, I don't see the uic3 tool in the bin folder of my install.

Does anybody know how can I can convert this file to QtDesigner 4?

Additional quastion: Where to download PyQy3 binaries for Windows?

Thanks in advance

Upvotes: 0

Views: 954

Answers (2)

andrewffff
andrewffff

Reputation: 579

Qt3 and Qt4 aren't fully compatible so you may need to make some manual tweaks after uic3 converts.

That said, the uic3 tool was installed on my system when I installed the Qt SDK, in C:\Qt\2010.01\qt\bin

Qt SDK: http://qt.nokia.com/downloads

Upvotes: 2

gruszczy
gruszczy

Reputation: 42228

Try finding pyuic3 or rather pyuic4. Since you are using PyQt all your qt tools have py in front (like pyrcc4 or pyuicc4).

I am not sure, that there are pyqt3 binaries for windows. Are you sure that Phil Thompson did PyQt3 also for windows at the time? If so, they would be on riverbank site, I guess, but I can't find them there. Tried compiling the source yourself?

Upvotes: 1

Related Questions