Python 3/Qt 5 package uploaded to daily PPA

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby NormandC » Sat Sep 22, 2018 7:49 pm

triplus wrote:
Fri Sep 21, 2018 1:20 am
Tasks panel uses QSint based widget and some styling is applied by default. Likely here for Linux:
Ah, thanks, that explains it.

triplus wrote:
Fri Sep 21, 2018 1:20 am
If that is desired i can take a look in about 3 days time.
I would appreciate it, but there is no rush, I can live without. I do think that "branch lines" should be default in the Model tree, without needing to set a stylesheet. It would help newcomers understand the tree structure better - and help experienced users too. But this seems to be controlled by the host system's default for file lists, and since Win7 and on Linux DEs too, lists no longer use branches as in the WinXP era. It may be OK for desktop file explorers, or a help file, but for a parametric CAD program's history tree, I think it's a usability setback.

FYI https://doc.qt.io/qt-5/qtwidgets-itemvi ... ample.html shows this image:

Image

I'm afraid I have completely hijacked Kurt's topic. :(
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby NormandC » Sat Sep 22, 2018 7:52 pm

oddtopus wrote:
Sat Sep 22, 2018 1:44 pm
Hi Kurt,
today I installed freecad-python3 on a Mint19-64bit system to find out the necessary to upgrade flamingo w.b. to Py3 and Qt5.
As I wrote earlier, this package is completely broken and unusable. It has not been updated since August 13th.

Maybe for now, you could use the Conda_Py3Qt5 AppImage?

https://github.com/FreeCAD/FreeCAD/rele ... g/0.18_pre
User avatar
sgrogan
Posts: 5071
Joined: Wed Oct 22, 2014 5:02 pm

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby sgrogan » Sat Sep 22, 2018 9:05 pm

NormandC wrote:
Sat Sep 22, 2018 7:52 pm
Maybe for now, you could use the Conda_Py3Qt5 AppImage?
This is also a work in progress.
oddtopus
Posts: 116
Joined: Tue Sep 20, 2016 6:17 pm

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby oddtopus » Sun Sep 23, 2018 4:57 pm

sgrogan wrote:
Sat Sep 22, 2018 9:05 pm
NormandC wrote:
Sat Sep 22, 2018 7:52 pm
Maybe for now, you could use the Conda_Py3Qt5 AppImage?
This is also a work in progress.
Thanks to all for the hints.
Well, I guess anything is somewhat a work-in-progress here. :) I keep trying, in a way or another.
User avatar
sgrogan
Posts: 5071
Joined: Wed Oct 22, 2014 5:02 pm

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby sgrogan » Sun Sep 23, 2018 5:02 pm

oddtopus wrote:
Sun Sep 23, 2018 4:57 pm
Well, I guess anything is somewhat a work-in-progress here. :) I keep trying, in a way or another.
Some issues are that the About FreeCAD isn't reported properly, I know the build is old but am not sure how old. We'll get there, we just aren't there yet. The build is usable but there have been many PY3 fixes in master since it was created.
triplus
Posts: 8364
Joined: Mon Dec 12, 2011 4:45 pm

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby triplus » Mon Sep 24, 2018 6:31 pm

NormandC wrote:
Sat Sep 22, 2018 7:49 pm
Ah, thanks, that explains it.
You're welcome.
I would appreciate it, but there is no rush, I can live without.

...

I'm afraid I have completely hijacked Kurt's topic. :(
I agree. Best if you open a new thread (or if a moderator will split this one). And we can discuss more about achieving this custom style sheet in dedicated thread.
User avatar
Joel_graff
Posts: 1304
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby Joel_graff » Thu Nov 01, 2018 11:52 pm

I noticed @Normandc encountered this same issue with the sip module not loading under Py3 / ubuntu, but I didn't see a clear solution was found as I scanned the thread..

Specifically, when I try to load my transportation WB, I get:

Code: Select all

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/home/shawty/.FreeCAD/Mod/freecad-transportation-wb/transportationwb/corridor/CellPath.py", line 42, in <module>
    from DraftTools import translate
  File "/usr/lib/freecad-python3/Mod/Draft/DraftTools.py", line 43, in <module>
    from DraftGui import todo, QtCore, QtGui, translate, utf8_decode
  File "/usr/lib/freecad-python3/Mod/Draft/DraftGui.py", line 2367, in <module>
    FreeCADGui.draftToolBar = DraftToolBar()
  File "/usr/lib/freecad-python3/Mod/Draft/DraftGui.py", line 357, in __init__
    mw = FreeCADGui.getMainWindow()
ImportError: Cannot load sip module
OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14220 (Git)
Build type: None
Branch: master
Hash: 1d81fd66b84af9ef8330ba1f1f6d1c5d6443f0c4
Python version: 3.6.5
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
You can find the FreeCAD Trails workbench for transportation engineering on my github at:
https://www.github.com/joelgraff/freecad.trails
abdullah
Posts: 3115
Joined: Sun May 04, 2014 3:16 pm

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby abdullah » Sat Nov 24, 2018 1:53 pm

I think we need a more serious debugging of QT5 and I was about to suggest moving the PPA to QT5 and I "discovered" this thread.

What do you think?
triplus
Posts: 8364
Joined: Mon Dec 12, 2011 4:45 pm

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby triplus » Sat Nov 24, 2018 9:25 pm

Yes. Whenever possible and feasible (newest Debian/Ubuntu ...) FreeCAD 0.19 development builds should default to Py3/Qt5.
edub
Posts: 6
Joined: Wed Apr 08, 2015 3:10 pm
Location: Bozen

Re: Python 3/Qt 5 package uploaded to daily PPA

Postby edub » Fri Mar 01, 2019 1:34 pm

I am not finding freecad-python3 in the daily ppa. Has it been removed?