New libpacks for Windows with Qt5.15, OCC7.5

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Syres
Veteran
Posts: 2891
Joined: Thu Aug 09, 2018 11:14 am

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by Syres »

To make sure my config files weren't having some strange impact, I scrapped them for this test.

I loaded up the new FreeCAD_0.19.24047_Win-LPv12.4.3_vc17.x-x86-64 build and changed my background colour with no stylesheet, all responded fine. Then I applied the bundled Behave-Dark stylesheet and repeated the background colour change, OK button on each window appear to not respond for a few seconds.
Repeat exercise using 'old LP' build FreeCAD_0.19.24047_Win-LPv12.1.6_vc14.x-x86-64 and response is near instant as expected.
User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by Roy_043 »

I experience a crash when loading the Mesh WB:
https://forum.freecadweb.org/viewtopic.php?f=3&t=55665

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24097 (Git)
Build type: Release
Branch: master
Hash: 48dc4063f80c1e1d65d6a98d81b24308b0bf28e9
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Dutch/Netherlands (nl_NL)
Last edited by Roy_043 on Tue Feb 16, 2021 2:52 pm, edited 1 time in total.
User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by Roy_043 »

Syres wrote: Sun Feb 14, 2021 10:46 amOK button on each window appear to not respond for a few seconds.
I do not experience that. The only thing I notice is that with the mentioned theme you have to click on the actual text of a button. Clicking on the area around it will highlight the button, but then nothing happens.

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24097 (Git)
Build type: Release
Branch: master
Hash: 48dc4063f80c1e1d65d6a98d81b24308b0bf28e9
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Dutch/Netherlands (nl_NL)
Having to click on the actual button text is not required with this setup:

Code: Select all

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24097 (Git)
Build type: Release
Branch: master
Hash: 48dc4063f80c1e1d65d6a98d81b24308b0bf28e9
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
kisolre
Veteran
Posts: 4159
Joined: Wed Nov 21, 2018 1:13 pm

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by kisolre »

apeltauer wrote: ping
After updating Visual Studio to 16.8.5 I get these errors when trying to compile FreeCAD:

Code: Select all

Severity	Code	Description	Project	File	Line	Suppression State
Error	C1853	'FreeCADApp.dir\Release\\FreeCADApp.pch' precompiled header file is from a different version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)	FreeCADApp	E:\FC_Bld\Code_kiss\src\App\Application.cpp	26
Severity	Code	Description	Project	File	Line	Suppression State
Error	C1853	'FreeCADGui.dir\Release\\FreeCADGui.pch' precompiled header file is from a different version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)	FreeCADGui	E:\FC_Bld\Code_kiss\src\Gui\Tree.cpp	24	
	
I noticed something in the VS release logs (first time actually read them :) ) about compiler updates. Could this be related?
nhg100
Posts: 20
Joined: Wed Jan 01, 2014 9:08 pm

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by nhg100 »

I built for Windows 10 using Libpack v12.4.3_x64_VC17.

The icons in the Draft Workbench Snap Toolbar are blank, but the functionality (e.g. tool-tips etc) appears to be present.
Internet search suggest (for Linux) this can occur when library 'python3-pyqt5' is missing, and suggest the solution is to "add the missing libraries".
I have 'python3-pyqt5' installed but this doesn't appear to help.

During build CMake fails with:
...."Found unsuitable Qt version "5.15.1" from "../FreeCAD/Build FreeCAD/FreeCADLibs_12.4.3_x64_VC17/bin/qmake.exe", and
...."CMake Error at cMake/FreeCAD_Helpers/SetupQt.cmake:26 (message): .... Qt4 libraries not found."
unless I build with "Build_QT5" enabled. With Build_QT5 enabled CMake completes, and a Release Build with Visual Studio Community 2019 Version 16.8.5 is successful. But the Draft Workbench Snap Toolbar icons are blank.

I get the same result with earlier Libpacks, V12.1.2 onwards.

Is the python3-pyqt5 library missing from the Libpacks, or should I configure the build differently, please?
Any thoughts/advice/help would be much appreciated.

OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23856 (Git)
Build type: Release
Branch: master
Hash: 4db83a41ca5800a0238a3030c81e33950c3070a3
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)
Attachments
FCsnap.png
FCsnap.png (152.11 KiB) Viewed 18366 times
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by sgrogan »

kisolre wrote: Sat Feb 20, 2021 9:03 am I noticed something in the VS release logs (first time actually read them :) ) about compiler updates. Could this be related?
Looks like the PCH must be rebuilt after the compiler update.
You should be able to Build > Clean Solution and then Build > Build Solution.
"fight the good fight"
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by apeltauer »

I have created a new libpack with the fillet fix provided by Chris Hennes:
https://github.com/apeltauer/FreeCAD/re ... ack_12.5.1
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by Kunda1 »

Wow, that's awesome! Thank you!
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
chennes
Veteran
Posts: 3868
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by chennes »

apeltauer wrote: Fri Feb 26, 2021 12:20 pm I have created a new libpack with the fillet fix provided by Chris Hennes:
https://github.com/apeltauer/FreeCAD/re ... ack_12.5.1
Kunda1 wrote: Fri Feb 26, 2021 2:16 pm Wow, that's awesome! Thank you!
Thank you @apeltauer. @Kunda1, I think this is a good milestone to use to mark those bugs in the tracker as resolved :).
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: New libpacks for Windows with Qt5.15, OCC7.5

Post by sgrogan »

Test build available as the end of 0.19_pre
https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
The build should be 0.19 tag +1
https://github.com/FreeCAD/FreeCAD/comm ... eeCAD-0-19
"fight the good fight"
Post Reply