This is FYI for those who consider themselves competent users, but are struggling through the Dialog creation and conversion from *.ui to *.py
I was going through the FreeCAD help files and got 'stuck' when I tried to use the QT designer feature to create a dialog box and then convert it from a *.ui format to a *.py format.
I installed the most recent version of Qt, thinking it would be what I needed. I successfully created the dialog box.
The "pyuic" (or pyuic4) code would not execute. I navigated down thru FreeCAD to the PyQt folder and tried from there. (I used the cmd line to navigate to the proper folder, and tried the execute "pyuic").
I extracted the Python26.zip file within FreeCAD, and the Python26 folder and files were created, and re-tried the pyuic (and pyuic4) conversion to *.py. no success.
So, using *.exe files, I downloaded and installed Python version 2.6.6. ( I could not find an old version Python 2.6.2, so I used 2.6.6)
I uninstalled Qt. Next, I tried to install an older version of Qt that would work with the Python version 2.6.6.
After several attempts, I finally found and installed Qt version 4.8.4 (VS2008) 32bit.
I was then able to follow the help file directions to create the dialog box. I saved it as a *.ui file. Then, I tried to again use pyuic (and pyuic4) to convert to a *.py format. no luck.
I began looking for PyQt installations that might work. I finally discovered one PyQt4 version that would work with my installed version of Python 2.6.6.
I used: http://sourceforge.net/projects/pyqt/fi ... PyQt-4.10/
I selected: PyQt4-4.10-gpl-Py2.6-Qt4.8.4-x32.exe and installed it. I used the PyQt Designer to create the dialog box, per the instructions in the FreeCAD help file. (So,it seems that I did not need Qt 4.8.4 )
I re-tried the FreeCAD help file 'Dialog creation' lesson, and made the conversion from *.ui to *.py successfully.
(I noticed that Python 2.6.6 installed a path into the environment variable called: C:\Python26\Lib\site-packages\PyQt4. I assume that the pyuic4 command is from that path location)
what i am a bit confused about is the fact that FreeCAD0.13 1828 shows PyQt4 and Python26 under the bin folder. I wonder if my FreeCAD0.13 did not install completely / correctly?
Install location: c:\program files (x86)\FreeCAD0.13
Or....maybe I don't understand how to correctly use the Python console within FreeCAD..? either way, I finally got the dialog box lesson to convert to *.py
Now..... on to make it actually function in FreeCAD.