FreeCAD Qt5 plan for deprecated WebKit?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
blacey
Posts: 370
Joined: Tue Dec 08, 2015 11:28 pm

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby blacey » Tue Mar 21, 2017 5:19 pm

wmayer wrote: So, the fix is simple: git commit b9934f05

Now the only open issues so far are:
  • When the content looks weird then some OpenGL states are messed up (like disabled GL_LIGHTING)
  • The loss of multisampling after undocking
@wmayer, awesome work. I have regressed the following on macOS, per your request:

Mantis #0002953 - Fixed!
Mantis #0002942 - Fixed!

Also, docking and undocking on macOS would reliably crash the OpenGL driver with a bad access exception. That is also fixed. Nice!

*EDIT* Save Picture... also works again.
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby ian.rees » Tue Mar 21, 2017 7:51 pm

Woohoo! Thanks Werner!

I'll try to put a PR together soon to remove the hacky warning about OpenGL on MacOS. -Ian-
blacey
Posts: 370
Joined: Tue Dec 08, 2015 11:28 pm

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby blacey » Tue Mar 21, 2017 10:20 pm

With @wmayer's hard work and merge today, Travis just cranked out a very solid Qt 5 (10600) build for those interested in testing it. Any Qt 5 build that is 10600 or later will include the recent Qt 5 fixes making it very usable on macOS. In fact, the Qt 5 builds address a number of longstanding FreeCAD on macOS usability issues offering the best user experience to date.

Code: Select all

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10600 (Git)
Build type: Release
Branch: (detached from 4d9169f)
Hash: 4d9169faf778e9716fc647fb3fcf46462b5d99a4
Python version: 2.7.13
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.1.0
Unless someone discovers a Qt 5 show stopper on macOS, we will soon deem the Qt 4 builds on macOS deprecated and abandon the secondary Qt 4 builds within the next month or so. Thanks again to @f3nix and @wmayer for pushing hard on the Qt 5 port.
Jee-Bee
Posts: 1992
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby Jee-Bee » Wed Mar 22, 2017 7:01 am

in cluding this one?
Screen Shot 2017-03-22 at 07.59.14.png
Screen Shot 2017-03-22 at 07.59.14.png (171.29 KiB) Viewed 1229 times
showing the open models while on start page/ (macro) editor etc?
User avatar
nemesis
Posts: 350
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby nemesis » Wed Mar 22, 2017 12:11 pm

Jee-Bee wrote:in cluding this one?
YES :D
that's the worst little annoying bug I know.
blacey wrote:Travis just cranked out a very solid Qt 5 (10600) build for those interested in testing it. Any Qt 5 build that is 10600 or later will include the recent Qt 5 fixes making it very usable on macOS
Coool can't wait to test it tonight! thanks for the great work !
Jee-Bee
Posts: 1992
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby Jee-Bee » Wed Mar 22, 2017 2:22 pm

nemesis wrote:
Jee-Bee wrote:in cluding this one?
YES :D
that's the worst little annoying bug I know.
+1 great it is fixed!!
User avatar
nemesis
Posts: 350
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby nemesis » Thu Mar 23, 2017 6:58 pm

So, after some hours of work..... I didn't notice any bug relative to the interface for the moment.
really great work

Code: Select all

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10611 (Git)
Build type: Release
Branch: (detached from 44a9ecd)
Hash: 44a9ecd25f27ec3efe52c9de9c95ef2b3e19dd17
Python version: 2.7.13
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.1.0
Barny
Posts: 2
Joined: Sat Feb 03, 2018 3:22 pm

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby Barny » Sat Feb 03, 2018 3:34 pm

The last message about this topic was before over a year.
Up to now I used Freecad and I thought it is one of the greatest tools I ever used on a Gentoo installation.
But now qtwebkit4 has been removed from the distribution and it is not possible to build it any more.
One year is a long time and I think also other distributions will remove qtwebkit in the near future.
What are now the plans in the future?
triplus
Posts: 9278
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby triplus » Thu Feb 08, 2018 10:24 pm

triplus
Posts: 9278
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD Qt5 plan for deprecated WebKit?

Postby triplus » Thu Feb 08, 2018 10:59 pm

It does look like QtWebKit development (albeit outside Qt tree) was preserved for now (new maintainers):

https://github.com/annulen/webkit/wiki

P.S. Therefore FreeCAD modules relying on QtWebKit could i guess continue to work for now.