Many thanks now works a treat 0.18 or 0.19
Qt.Gui in FreeCAD 0.19 python module
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Veteran
- Posts: 2756
- Joined: Mon Feb 27, 2012 5:31 pm
-
- Veteran
- Posts: 2756
- Joined: Mon Feb 27, 2012 5:31 pm
Re: Qt.Gui in FreeCAD 0.19 python module
I have no clue ATM. Maybe some part of the QtCore.Qt namespace is bound. In your macro, do you import PySide or Pyside2 modules?keithsloan52 wrote: ↑Thu Jul 30, 2020 6:33 pm Out of interest so why did it work in 0.19? Qt namespace is in both QtCore and QtGui for 0.19?
-
- Veteran
- Posts: 2756
- Joined: Mon Feb 27, 2012 5:31 pm
Re: Qt.Gui in FreeCAD 0.19 python module
PySide as I thought that was supposed to handle the changes ie.. call PySide2 under the coversopenBrain wrote: ↑Thu Jul 30, 2020 8:26 pmI have no clue ATM. Maybe some part of the QtCore.Qt namespace is bound. In your macro, do you import PySide or Pyside2 modules?keithsloan52 wrote: ↑Thu Jul 30, 2020 6:33 pm Out of interest so why did it work in 0.19? Qt namespace is in both QtCore and QtGui for 0.19?