FreeCAD 16 Dialog Creation: Difference between revisions
Jump to navigation
Jump to search
(Add impetus section) |
(Add Category:FreeCAD) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
The rest of the world has moved on to Qt v5 and therefore, this guide is helpful as it focuses on Qt v4. | The rest of the world has moved on to Qt v5 and therefore, this guide is helpful as it focuses on Qt v4. | ||
Since the author of this page uses Ubuntu / Linux, it will focus on that operating system. | |||
= Main FreeCAD Wiki Guide = | = Main FreeCAD Wiki Guide = | ||
Line 8: | Line 10: | ||
https://wiki.freecadweb.org/Dialog_creation | https://wiki.freecadweb.org/Dialog_creation | ||
= Install Qt | = Install Qt 4.8.6 = | ||
Download [https://download.qt.io/archive/qt/4.8/4.8.6/qt | Download Qt 4.8.6 [https://download.qt.io/archive/qt/4.8/4.8.6/ here] to download, and follow installation instructions for your operating system [https://doc.qt.io/archives/qt-4.8/installation.html here]. | ||
sudo apt-get install pyqt4-dev-tools qt4-designer qt4-default qtcreator | |||
sudo vim /usr/bin/pyuic4 | |||
1 #!/usr/bin/env /snap/freecad/8/usr/bin/python2.7 | |||
2 # there's no main function, so just import the module | |||
3 import PyQt4.uic.pyuic | |||
pyuic4 angle-frame-connector-dialog.ui -o test.py | |||
[[Category:FreeCAD]] | |||
Latest revision as of 00:08, 6 May 2020
Why this guide?
FreeCAD 16 depends upon Qt version 4.8.6.
The rest of the world has moved on to Qt v5 and therefore, this guide is helpful as it focuses on Qt v4.
Since the author of this page uses Ubuntu / Linux, it will focus on that operating system.
Main FreeCAD Wiki Guide
Follow along this FreeCAD Wiki Guide: https://wiki.freecadweb.org/Dialog_creation
Install Qt 4.8.6
Download Qt 4.8.6 here to download, and follow installation instructions for your operating system here.
sudo apt-get install pyqt4-dev-tools qt4-designer qt4-default qtcreator
sudo vim /usr/bin/pyuic4
1 #!/usr/bin/env /snap/freecad/8/usr/bin/python2.7 2 # there's no main function, so just import the module 3 import PyQt4.uic.pyuic
pyuic4 angle-frame-connector-dialog.ui -o test.py