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

Packages that can target either Qt5, or Qt6, but not both at the same time #208

Open
hmaarrfk opened this issue Nov 12, 2023 · 6 comments
Open
Labels
question Further information is requested

Comments

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Nov 12, 2023

Comment:

I got a question from @looooo about how to package a feedstock they cared about for qt6.
conda-forge/soqt-feedstock#18

This kinda brought up some issues I've had on OpenCV.

In short:

  • It would be desirable to provide a flag to allow users to install the package for qt6.
  • The library can be built with qt5, or qt6
  • We would like to prefer the version of qt that the user currently has installed. that is qt-main or qt6-main, but we would like to avoid having to install a new version of qt if one of them is already present

Is there a way to achieve this with the current semantics?

Do we need a CONDA_QT or __qt metapackage?

List of packakges

  • opencv supports qt6
  • paraview supports qt6 in 5.12
  • soqt supports qt6 on master development branch
@hmaarrfk hmaarrfk added the question Further information is requested label Nov 12, 2023
@jschueller
Copy link
Contributor

jschueller commented Nov 13, 2023

I dont know if its possible.
But if both are available, does conda pick the one matching with the qt version already installed ?
Do we have a list of qt packages somewhere ? Maybe we can assess the status of each to see if all can be migrated to qt6, for example I know paraview 5.12 will support qt6.

@hmaarrfk
Copy link
Contributor Author

But if both are available, does conda pick the one matching with the qt version already installed ?

conda ends up picking a random one (or the one with the higher build number), since for all it knows the packages are pretty much equivalent.

@hmaarrfk
Copy link
Contributor Author

Trying to address this:
conda-forge/staged-recipes#25688

@jschueller
Copy link
Contributor

Maybe we should try to begin switching to qt6 ; I already moved paraview
are there still packages left that can only target qt5 ?

@hmaarrfk
Copy link
Contributor Author

hmaarrfk commented Mar 14, 2024

Spyder. Needs qt webengine

And napari, pyside6 still causes some segfaults

@hmaarrfk
Copy link
Contributor Author

Do we have pyqt6 yet? I couldn't find a package. that one might be critical for some projects like spyder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants