Hey guys, Ive been exploring more and more into using Qt over Mel windows. However I’m not quite sure on how to get started. I can get buttons to work using Mel and a ui interface made in Qt designer but that is definitely not taking advantage of Qt.
How have you guys obtained the information needed to learn Qt? names of tutorials?
First thing I would do is switch over to Python. That way you can start using PyQt and really dig into Qt.
(Also I love python…so I could spout off another gajilion reasons to change)
If you stay using Mel with Qt, you’re sort of constrained to the Qt Designer features(which are pretty solid actually)
I started learning PyQt on the job at RnH making UI’s for my distributed tools. Unfortunately the UI for Qt Designer ironically doesn’t work at work, so I forced myself to learn
http://zetcode.com/tutorials/pyqt4/
These ^ were a great help in getting started, as well as searching through here and stackoverflow. I would also suggest Nathan Hornes blog and joining the python maya google group.
You can also convert Qt Designer ui files to PyQt classes and learn like that too.
Really PyQt isn’t that different from using regular MEL UI’s/cmds ui’s other than the initialization process/parenting. But it gives you soooo much more control over how things are viewed.
It looks like persons keeping replacing the subject of and I constantly followed in search of valuable info and always get a lot of these junk response. Not really cool
Dhruv is right, you certainly should look into python for implementing qt ui in maya.
If you check out the Area , they have a couple of introduction classes to pyQt in Maya and a class on how to use it to create UI for both Maya and MotionBuilder. This brings up another strength about pyQt, which is it is software independent and you can use the same code and keep the same design in multiple os and software packages. The first two classes are basically the same except one covers using mel with pyQt while the second just explains the difference between pyQt and pySide.