Skip to content

fix: PySide6 errors when using slicer.#476

Merged
jchanvfx merged 1 commit intojchanvfx:mainfrom
timothyliu3d:PySide6
Sep 30, 2025
Merged

fix: PySide6 errors when using slicer.#476
jchanvfx merged 1 commit intojchanvfx:mainfrom
timothyliu3d:PySide6

Conversation

@timothyliu3d
Copy link
Copy Markdown
Contributor

  • Using class enums cannot be done from an instance; update to use QtGui.QPainter.Antialiasing.
  • QFontMetrics.width has been deprecated since PySide2 5.* and removed in PySide6; update to use horizontalAdvance().

* Using class enums cannot be done from an instance.
* QFontMetrics.width has been deprecated since PySide2 5.* and removed in PySide6.
@jchanvfx jchanvfx merged commit 7ddea12 into jchanvfx:main Sep 30, 2025
@timothyliu3d timothyliu3d deleted the PySide6 branch November 5, 2025 22:46
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.

2 participants