Supporting Qt5

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Supporting Qt5

Post by looo »

Pyside2 code and wiki refer to a certain "COIN".
I think it is there CI-system.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Supporting Qt5

Post by Kunda1 »

Kunda1 wrote:Is there 'Migration to Qt5' checklist somewhere ?
Some bugs on the tracker that I found related to Qt5 I've tagged accordingly: http://freecadweb.org/tracker/search.php?tag_string=Qt5
reposting
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Supporting Qt5

Post by sgrogan »

Kunda1 wrote:reposting
As far as I know there is no checklist. As I understand it the port is done and now requires testing. As far as I know only bblacey on OSX is providing pre-compiled binaries for testing with QT5, on his private fork.
For Linux and Win binaries there is a lot of packaging to do. wmayer posted some info in this post: viewtopic.php?f=10&t=19823
FreeCADers that can compile themselves without having to worry about packaging would be welcome for testing.
"fight the good fight"
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Supporting Qt5

Post by Kunda1 »

sgrogan wrote:
Kunda1 wrote:reposting
As far as I know there is no checklist. As I understand it the port is done and now requires testing. As far as I know only bblacey on OSX is providing pre-compiled binaries for testing with QT5, on his private fork.
For Linux and Win binaries there is a lot of packaging to do. wmayer posted some info in this post: viewtopic.php?f=10&t=19823
FreeCADers that can compile themselves without having to worry about packaging would be welcome for testing.
I pinged the Arch AUR freecad-git maintainer 'drhooves' to see if they'd be interested in creating a Qt5 build.
Ref: https://aur.archlinux.org/packages/free ... _id=580055
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
cox
Posts: 971
Joined: Wed Nov 26, 2014 11:37 pm

Re: Supporting Qt5

Post by cox »

Kunda1 wrote:I pinged the Arch AUR freecad-git maintainer 'drhooves' to see if they'd be interested in creating a Qt5 build.
You read my mind :D would be nice with opencascade7 upgrade as well.
Need help? Feel free to ask, but please read the guidelines first
m42kus
Posts: 159
Joined: Tue Sep 02, 2014 9:41 am

Re: Supporting Qt5

Post by m42kus »

Kunda1 wrote: I pinged the Arch AUR freecad-git maintainer 'drhooves' to see if they'd be interested in creating a Qt5 build.
Ref: https://aur.archlinux.org/packages/free ... _id=580055
Hey, freecad-git (Arch AUR) maintainer here. Tried my luck today but I wasn't able to compile pyside2 on arch linux (see https://bugreports.qt.io/browse/PYSIDE-433). My time resources are a bit limited atm but I will investigate this further over the weekend.

Edit: There seem to be multiple issues with Qt 5.7 (also relevant: https://forum.freecadweb.org/viewtopic. ... 23#p153465)

Any help would be very much appreciated ;)
My GSoC Devlog: ceeli.github.io/gsoc
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Supporting Qt5

Post by sgrogan »

m42kus wrote: Any help would be very much appreciated ;)
Best info so far is my link to wmayer's hints above. I think posting errors etc in the install/compile forum is warrented because it's FreeCAD related.
Thanks for the interest! Hopefully all the packaging for QT5 will be in time for the Python3 port ;)
Also here: https://forum.freecadweb.org/viewtopic.php?f=10&t=19724 @bblacey on OSX is ahead of us. He may have seen some of this.
BTW, which QT5?
"fight the good fight"
m42kus
Posts: 159
Joined: Tue Sep 02, 2014 9:41 am

Re: Supporting Qt5

Post by m42kus »

sgrogan wrote: BTW, which QT5?
Currently Qt5.7, and Qt5.8 is already in testing (arch repo). So I'm afraid that it won't be possible to build pyside2 against the repo version of Qt on arch linux till pyside2 catches up.
My GSoC Devlog: ceeli.github.io/gsoc
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Supporting Qt5

Post by Kunda1 »

m42kus wrote:
sgrogan wrote: BTW, which QT5?
Currently Qt5.7, and Qt5.8 is already in testing (arch repo). So I'm afraid that it won't be possible to build pyside2 against the repo version of Qt on arch linux till pyside2 catches up.
@m42kus thanks so much for testing!
Do you mind sharing the build script that you used to test this build ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Supporting Qt5

Post by triplus »

m42kus wrote:Any help would be very much appreciated ;)
Currently not much can be done as PySide2 will need to catch up first.

Some more reference here:

https://forum.freecadweb.org/viewtopic. ... 40#p154788
https://forum.freecadweb.org/viewtopic. ... 50#p155720
Post Reply