FreeCAD 16 Dialog Creation: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Add page for FreeCAD 16 Dialog creation)
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= 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:
Follow along this FreeCAD Wiki Guide:
https://wiki.freecadweb.org/Dialog_creation
https://wiki.freecadweb.org/Dialog_creation


= Install Qt Creator =
= Install Qt 4.8.6 =
Download [https://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz qt-everywhere-opensource-src-4.8.6.tar.gz]
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
 


Follow instructions here:
[[Category:FreeCAD]]
https://doc.qt.io/archives/qt-4.8/install-x11.html

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