Kunda1 wrote:
@m42kus thanks so much for testing!
Do you mind sharing the build script that you used to test this build ?
Sorry, at the time I was only trying out stuff in the command line and didn't have anything to share.
However I did some packaging work over the weekend (for arch linux). Because PySide2 doesn't support Qt>=5.7 jet, I was forced to create a Qt5.6 package. I haven't uploaded the packages to the AUR jet, but interrested testers can check them out on github. If there aren't any big issues left I'm going to upload them to the AUR in a week or so (didn't have the time to thoroughly test all the packages jet). If you encounter/find problems concerning the PKGBUILD's pls pm me before posting (don't want to hijack this thread ).
The PySide2 package is not jet complete. I disabled QWebEngine stuff because it broke the build for me and isn't used by FreeCAD atm. A fix for that would be awesome .
Edit: The freecad-qt5-git package doesn't conflict with freecad, freecad-git or freecad-netgen-git. The launcher is called FreeCAD-Qt5, the binaries FreeCAD-Qt5, FreeCADCmd-Qt5, freecad-qt5 and freecadcmd-qt5.
m42kus wrote:
However I did some packaging work over the weekend (for arch linux). Because PySide2 doesn't support Qt>=5.7 jet, I was forced to create a Qt5.6 package. I haven't uploaded the packages to the AUR jet, but interrested testers can check them out on github. If there aren't any big issues left I'm going to upload them to the AUR in a week or so (didn't have the time to thoroughly test all the packages jet). If you encounter/find problems concerning the PKGBUILD's pls pm me before posting (don't want to hijack this thread ).
The PySide2 package is not jet complete. I disabled QWebEngine stuff because it broke the build for me and isn't used by FreeCAD atm. A fix for that would be awesome .
It seems like the QWebEngine related bug was resolved upstream (or I did something different this time, don't know...). However I uploaded the packages to the AUR this morning. The freecad package name hasn't changed (freecad-qt5-git). As soon as pyside2 is avaliable in the official repositories I plan to remove the package and migrate the freecad-git package to qt5.
m42kus wrote:
It seems like the QWebEngine related bug was resolved upstream (or I did something different this time, don't know...). However I uploaded the packages to the AUR this morning. The freecad package name hasn't changed (freecad-qt5-git). As soon as pyside2 is avaliable in the official repositories I plan to remove the package and migrate the freecad-git package to qt5.
m42kus wrote:
It seems like the QWebEngine related bug was resolved upstream (or I did something different this time, don't know...). However I uploaded the packages to the AUR this morning. The freecad package name hasn't changed (freecad-qt5-git). As soon as pyside2 is avaliable in the official repositories I plan to remove the package and migrate the freecad-git package to qt5.
Well, at this point I'm not sure what PKGBUILDs I should maintain on the AUR. I have quite a few PKGBUILDs that I use personally, but I don't know which combination of build-time options would be most useful to you and other users and I don't want to maintain all of them One possibility would be to have two packages: freecad-git which doesn't require the user to wait 5+ hours to compile because of all the dependencies in the AUR and freecad-qt5-opencascade7-<whatever>-git that uses all the latest exciting stuff (that package could than also be customised quite easily to exclude certain "features").
Edit: I didn't really follow the opencascade7 exclusive development, are there stability issues? And how useful are the features? Maybe it woudn't be such a bad idear to build both, freecad-git and freecad-qt5-git, against it.
During initialization the error No module named QtCore occurred in /opt/freecad-qt5/Mod/Ship/InitGui.py
Please look into the log file for further informationDuring initialization the error cannot import name QtCore occurred in /opt/freecad-qt5/Mod/Draft/InitGui.py
Please look into the log file for further informationDuring initialization the error cannot import name QtCore occurred in /opt/freecad-qt5/Mod/Tux/InitGui.py
Please look into the log file for further informationDuring initialization the error No module named QtCore occurred in /opt/freecad-qt5/Mod/Plot/InitGui.py
Please look into the log file for further informationDuring initialization the error cannot import name QtCore occurred in /opt/freecad-qt5/Mod/Arch/InitGui.py
Please look into the log file for further informationWizard shaft module cannot be loaded
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/freecad-qt5/Mod/Part/AttachmentEditor/Commands.py", line 27, in <module>
from PySide import QtCore
File "/opt/freecad-qt5/bin/PySide/QtCore.py", line 1, in <module>
from PySide2.QtCore import *
<type 'exceptions.ImportError'>: No module named QtCore
Involute gear module cannot be loaded
Unknown command 'PartDesign_InvoluteGear'
Am I missing something?
BTW I also successfully compiled FreeCAD with current QT5.8 in Arch but it gives me segmentation fault right at start...
I'm not realy into this topic... But as far as know. you need to compile with qt<5.6 because of pyside see https://wiki.qt.io/PySide2.
I'm not sure if everything is ported to Qt5 the 0.17_pre still uses Qt4.
Hi everyone,
I updated the freecad-qt5-git package on arch linux. Now it should work again It uses Qt5.9 from the official repositories. Before updating make sure the latest pyside2-git, shiboken2-git and pyside2-tools-git packages are used.