Search found 6062 matches

by sgrogan
Tue Oct 20, 2020 8:37 pm
Forum: Developers corner
Topic: Travis failing on all Pull Requests
Replies: 15
Views: 788

Re: Travis failing on all Pull Requests

@wmayer, unfortunately caching homebrew package with travis is a "nightmare" and the I/O speed from their server is not the best we could expect. I didn't really found an easy way to reduce the 30 minutes pre-install time. I can try to discuss with the travis people directly and see if they want to...
by sgrogan
Mon Oct 19, 2020 11:43 pm
Forum: Install / Compile
Topic: ubuntu and python3-pyside2uic
Replies: 12
Views: 337

Re: ubuntu and python3-pyside2uic

For Ubuntu 20.10, it should be possible to use rcc and uic provided by Qt. For 20.04, I kinda hacked at things until it was working: pyqt5-dev-tools is required for building, and I think also python3-pyqt5 as a runtime dependency. For reference you can check the last couple commits at https://salsa...
by sgrogan
Mon Oct 19, 2020 11:04 pm
Forum: Install / Compile
Topic: ubuntu and python3-pyside2uic
Replies: 12
Views: 337

Re: ubuntu and python3-pyside2uic

It's already been taken care of in cMake/FindPySide2Tools.cmake, if the Qt version is new enough it's just a matter of using rcc --generator=python instead of pyside2-rcc, same for uic and pyside2-uic. And on Debian/Ubuntu the necessary Qt package is qtbase5-dev-tools, version 5.14 minimum. So it's...
by sgrogan
Mon Oct 19, 2020 10:53 pm
Forum: Install / Compile
Topic: ubuntu and python3-pyside2uic
Replies: 12
Views: 337

Re: ubuntu and python3-pyside2uic

kkremitzki wrote:
Mon Oct 19, 2020 10:46 pm
Basically pyside2uic and pyside2rcc binaries' functionality was moved to Qt5's uic and rcc binaries
Thanks, this speaks to what wmayer was saying. So in the future FreeCAD will need to be ported to use QT's native uic?
And this will be packaged with QT somewhere?
by sgrogan
Mon Oct 19, 2020 10:50 pm
Forum: Developers corner
Topic: Travis failing on all Pull Requests
Replies: 15
Views: 788

Re: Travis failing on all Pull Requests

And is it possible to avoid to install the packages for the macOS build environment for every build again and again? When e.g. comparing it with the Linux build then the latter starts the compile process immediately while for macOS it takes half an hour until the packages are installed. This is sup...
by sgrogan
Mon Oct 19, 2020 10:01 pm
Forum: Python scripting and macros
Topic: Cannot import Draft library
Replies: 30
Views: 631

Re: Cannot import Draft library

This is the anaconda python. Somehow, i coulnt' load the lirbaries for it. Ah, this makes sense. You probably want to pip uninstall PySide2 because this won't be compatible with you anaconda installation. For anaconda you need this package https://anaconda.org/conda-forge/pyside2 If you prefer to w...
by sgrogan
Mon Oct 19, 2020 9:39 pm
Forum: Install / Compile
Topic: ubuntu and python3-pyside2uic
Replies: 12
Views: 337

Re: ubuntu and python3-pyside2uic

When checking the official pyside2-tools for Ubuntu Focal then it lacks of the uic or rcc tools. It only provides pyside2-lupdate. I haven't found any package that provides a uic for Python For Focal(20.04) Kurt is using python3-pyqt5 and patching FreeCAD for the daily PPA. https://packages.ubuntu....
by sgrogan
Mon Oct 19, 2020 4:48 pm
Forum: Install / Compile
Topic: ubuntu and python3-pyside2uic
Replies: 12
Views: 337

Re: ubuntu and python3-pyside2uic

For Ubuntu 18.04 get it from the FreeCAD-daily PPA
For Ubuntu 20.04 see here: https://forum.freecadweb.org/viewtopic. ... 20#p395462
by sgrogan
Sun Oct 18, 2020 2:19 pm
Forum: Developers corner
Topic: Lazy loading of python modules
Replies: 17
Views: 737

Re: Lazy loading of python modules

Kunda1 wrote:
Sun Oct 18, 2020 12:27 pm
Question: Was documentation ever written for this functionality ? is it on the wiki ?
https://wiki.freecadweb.org/Extra_python_modules
At the bottom of the page
by sgrogan
Sat Oct 17, 2020 11:14 pm
Forum: Developers corner
Topic: Travis failing on all Pull Requests
Replies: 15
Views: 788

Re: Travis failing on all Pull Requests

Bei3lay wrote:
Sat Oct 17, 2020 9:40 pm
I think this error is described in the Travis CI docs https://docs.travis-ci.com/user/common- ... ing-errors
Thanks for the clue!
vejmarie wrote: pinged by pinger macro