Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cura 8640 PyQt6 upgrade #11792

Merged
merged 145 commits into from
Apr 14, 2022
Merged

Cura 8640 PyQt6 upgrade #11792

merged 145 commits into from
Apr 14, 2022

Conversation

jellespijker
Copy link
Member

@jellespijker jellespijker commented Apr 12, 2022

In order to get this to work on our build-system and working for all three OSes we did a shit tons of boy scouting in our cmake. We removed old methods with variables and try to be consisted in a target-based approach. The idea is that we don't patch stuff down the line, but that the install should place everything in the correct path in a uniform way across all of Cura's dependencies. Most of these changes are in the other PR's. The CMakeLists.txt changes here are for consistency overal.

The other changes to qml and in most of the Python side I have were made by @rburema , @casperlamboo @Joeydelarago @nallath and @rburema Maybe they can supplement this comment.

Part of

Fixes

Todo

rburema and others added 30 commits December 28, 2021 14:46
part of upgrading Qt to v6.2: CURA-8591
We'll miss that status update then, but the next time Cura starts it'll update the printer status anyway.

Found during testing of CURA-8591.
Otherwise we can't even look for them.

Contributes to issue CURA-8591.
Conflicts:
	cura/PlatformPhysics.py -> Removed shapely on master, while QTimer import got updated to Qt6.
	plugins/Toolbox -> Entire folder is deleted in master, but it was updated to Qt6 here. This can all be removed.
Was using Qt5 still, even though we're dumping that. Need a bit of a level playing field for an update to the way we handle libArcus and libSavitar.

part of CURA-7924
Because we had to rename our Python bindings module from Arcus to pyArcus
we also changed our import downstream (Cura and Uranium). But in order
to limit the changes on our existing code we decided during the review
that we should just import pyArcus as Arcus.

Contributes to CURA-7924
Because we had to rename our Python bindings module from Savitar to
pySavitar we also changed our import downstream (Cura and Uranium). But
in order to limit the changes on our existing code we decided during the
review that we should just import pySavitar as Savitar.

Contributes to CURA-7924
Open CTM has been used 5 times on million of slices
the past year. Since OpenCTM seems to be abounded
since 2012 we have decided to drop support. There
are plenty of conversion tools for this file type
available.

See ultimaker/cura-build-environment#333456c068944ff6b3e7afb2f02a243f0f488371

Contributes to CURA-8640
The Update copyright feature of Pycharm automatically removed the
mentioning of one of our main contributors in this license header.
Added it manually again, unchecked the Update Copyright check box from
the commit window (on the second attempt) and order is restored to the
universe.

Mea Culpa @fieldOfView, Mea Maxima Culpa
# Conflicts:
#	cura/CuraApplication.py
#	resources/qml/Preferences/Materials/MaterialsSyncDialog.qml
#	resources/qml/Preferences/Materials/MaterialsView.qml
This should also install cura and UM in the site-packages in a uniform
OS agnotisc path. I also removed the renaming of cura_app.py to cura
on Linux. Because this seemed to confuse pyinstaller.

Contribute to CURA-8640
Such as a virtual environment

Contributes to CURA-8640
# Conflicts:
#	cura/UI/CuraSplashScreen.py
Copy link
Collaborator

@Ghostkeeper Ghostkeeper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's still some TODOs in this code with the two dropshadows. But I think that is kept out of scope for this change.

resources/qml/TableView.qml Outdated Show resolved Hide resolved
plugins/ModelChecker/ModelChecker.qml Outdated Show resolved Hide resolved
jellespijker and others added 2 commits April 14, 2022 14:49
Looks like a left over

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
@Ghostkeeper Ghostkeeper merged commit 1e1b4f3 into 5.0 Apr 14, 2022
@Ghostkeeper Ghostkeeper deleted the qt6_beyond_the_splash branch May 10, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants