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

Any plans for Qt 6? #103

Closed
VarLad opened this issue Dec 28, 2020 · 9 comments
Closed

Any plans for Qt 6? #103

VarLad opened this issue Dec 28, 2020 · 9 comments

Comments

@VarLad
Copy link

VarLad commented Dec 28, 2020

Since Qt6 is the new major release of Qt, any plan to support that?

@barche
Copy link
Collaborator

barche commented Dec 28, 2020

Yes, already WIP on my local machine. It looks easy enough, luckily :)

@VarLad
Copy link
Author

VarLad commented Dec 28, 2020

What about the binaries/artifacts?

@zmactep
Copy link

zmactep commented Apr 7, 2022

Hi, @barche!

Thanks for the great project. So, do you still have a plan to release any Qt6 version of the library?

@barche
Copy link
Collaborator

barche commented Apr 24, 2022

There is now a qt6 branch in this repository as well as in the jlqml and QmlJuliaExamples repositories. This experimental work relies on JLL packages that can be installed after adding https://github.com/barche/CxxWrapTestRegistry.git as a registry (Linux and Mac only).

Next steps:

  • Publish the Qt6* JLL build scripts to Yggdrasil
  • Implement a TableModel, since dynamic columns in a ListView are not supported anymore in Qt6
  • Update most examples
  • Rebuild GR against Qt6

@barche
Copy link
Collaborator

barche commented May 7, 2022

With the first step done, it is now fairly easy to test Qt6 with the examples. First clone the example qt6 branch and start Julia in its directory:

git clone --branch qt6 https://github.com/barche/QmlJuliaExamples
cd QmlJuliaExamples
julia --project

I Julia pkg mode, make sure to switch to the Qt 6 version of QML:

add QML#qt6

And then run e.g. the gui.jl example:

include("gui.jl")

@zmactep
Copy link

zmactep commented May 7, 2022

Great, works for me!

@barche
Copy link
Collaborator

barche commented Jan 17, 2023

The Qt 6 changes are now merged into main. To test these, you need to add my test registry to get the correct shared library JLL:

registry add https://github.com/barche/CxxWrapTestRegistry.git

@barche
Copy link
Collaborator

barche commented Feb 6, 2023

I had hoped the Qt6 version would be released by now, but I hit a problem running the tests with Qt 6.4, see description here: https://forum.qt.io/post/746459

@ufechner7
Copy link
Member

Perhaps this can be closed now that 0.8 is released?

@barche barche closed this as completed Sep 28, 2023
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

No branches or pull requests

4 participants