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

Linux Qt binding granurality #127

Merged
merged 11 commits into from
Jul 24, 2024

Conversation

jakubjezek001
Copy link
Member

@jakubjezek001 jakubjezek001 commented Jul 16, 2024

MODIFIED BY @iLLiCiTiT

Changelog Description

Added distro python module to detect linux distribution name used for detection of Qt binding. Also added option to use PySide2 during docker build.

Source issue

Rocky 8 might not support PySide6 by default and that might require to use PySide2 instead of PySide6. That was case because of specific rocky 8 state and GPU drivers. For now that is considered as edge case as most of machines should use PySide6 by rather.

Error

qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

@jakubjezek001 jakubjezek001 added the type: bug Something isn't working label Jul 16, 2024
@iLLiCiTiT
Copy link
Member

iLLiCiTiT commented Jul 16, 2024

We do the same for centos7 by adding ENV QT_BINDING=centos7 in docker, so now we have 2 different approaches to that, so we should probably remove the env from docker image.

pyproject.toml Outdated Show resolved Hide resolved
poetry.lock Outdated Show resolved Hide resolved
@iLLiCiTiT iLLiCiTiT changed the title Linux Run time dependencies Linux Qt binding granurality Jul 16, 2024
@iLLiCiTiT
Copy link
Member

Modified the original PR to be able to build any linux installer with PySide2.

@64qam 64qam self-requested a review July 24, 2024 10:52
Copy link
Member

@64qam 64qam left a comment

Choose a reason for hiding this comment

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

works at client's end

@iLLiCiTiT iLLiCiTiT merged commit 11b4130 into develop Jul 24, 2024
@iLLiCiTiT iLLiCiTiT deleted the bugfix/linux_distro_runtime_dependencies branch July 24, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants