Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have installed PyDev and want to start with GUI apps. Heard about Qt but how to integrate it with PyDev? Is there any Python IDE that comes bundled with Qt or other GUI frameworks and also Visual Studio like ToolBox to add controls on the Form?

I don't want to go with IronPython.

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

To write Qt applications using Python, you need PyQt. To integrate Python, PyQt, PyDev, and Eclipse, you need to do some installation work and set things up correctly. You should find a reasonable starting point in this blog article: Setting up IDE and creating a cross platform Qt Python GUI application. This doesn't allow you to design your Qt UI by dragging and dropping controls. To get that, you could use Qt Designer to "draw" your UI, and then use some tools that come with PyQt to convert the saved design to Python code. This you can then edit and interface with in Eclipse. There are articles on that here, here, and here.

There are also other IDEs that you may want to check out:

See also: http://stackoverflow.com/questions/472021/what-ide-is-good-for-developing-pyqt-apps

(Apologies for not providing links to Qt Designer and Qt Creator – I couldn't find canonical ones. Check out qt.nokia.com and find them there if you want.)

share|improve this answer
    
Thanks a lot. –  RPK Jan 7 '11 at 20:45
1  
It's worth mentioning that there is a LGPL alternative to the PyQT, namely PySide: pyside.org –  zifot Mar 26 '11 at 22:15
    
At the moment, I found that only monkeystudio.org that provide seamless integration with Qt Designer. It support Python. It haven't been able to automatically connect a widget signal to slot, but yeah, I think this is the best we have so far.. –  swdev Mar 30 at 0:58
add comment

MonkeyStudio is a good IDE for developing PyQt application.it comes with Qt Designer inbuilt with itself so you don't have to open Qt Designer seperately. you can directly program in python.

share|improve this answer
    
Wait.. just see this answer. But it didn't have the ability to automatically connect signal to a slot. That's the big gap there. I hope they add that feature soon! –  swdev Mar 30 at 0:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.