Problem with qt version while installing
Moderators: thorsten, sebastian
Re: Problem with qt version while installing
Well that sounds to me like vtk was build without a Qt binding... That is not good and cannot be used for the openEMS GUI...
-
- Posts: 12
- Joined: Sun 15 May 2022, 06:03
Re: Problem with qt version while installing
I found this online. Perhaps That variable isn't set anymore.
https://discourse.vtk.org/t/vtk-8-90-mi ... aded/145/4
https://discourse.vtk.org/t/vtk-8-90-mi ... aded/145/4
Re: Problem with qt version while installing
Well then the gentoo vtk build is without qt5 support which makes it useless for this ...
-
- Posts: 12
- Joined: Sun 15 May 2022, 06:03
Re: Problem with qt version while installing
Qt5 is explicitly enabled in the vtk package USE flags in gentoo. The link I provided isn't gentoo specific.
Re: Problem with qt version while installing
Yes I understand, but then I don't know why the required Qt version cannot be read.
In any case, try to remove this from the if clause and see what happens...
In future openEMS will drop older vtk and qt4 support in any case.
In any case, try to remove this from the if clause and see what happens...
In future openEMS will drop older vtk and qt4 support in any case.
-
- Posts: 12
- Joined: Sun 15 May 2022, 06:03
Re: Problem with qt version while installing
Thank you for your help. I managed to build the software by defining VTK_QT_VERSION whenever it is not defined.
It also took some additional work due to some breaking changes in VTK like:
https://gitlab.kitware.com/vtk/vtk/-/me ... uests/6506
I will be pleased to open pull requests on github to the corresponding projects with all my changes, if you would like to take a look.
It also took some additional work due to some breaking changes in VTK like:
https://gitlab.kitware.com/vtk/vtk/-/me ... uests/6506
I will be pleased to open pull requests on github to the corresponding projects with all my changes, if you would like to take a look.
Re: Problem with qt version while installing
What breaking changes in vtk? It builds fine for me with vtk 9.1
And I'm still puzzled to why "VTK_QT_VERSION" is not set for your vtk? I have never seen that and really questioning if your vtk is build correctly.
And I'm still puzzled to why "VTK_QT_VERSION" is not set for your vtk? I have never seen that and really questioning if your vtk is build correctly.
-
- Posts: 12
- Joined: Sun 15 May 2022, 06:03
Re: Problem with qt version while installing
Check the link I've provided. patching code according to those changes fixes the build.
According to the first link I've provided, this error is not something specific to my installation of vtk.
I will prepare the prs on gh later
Last edited by leather_rebel on Wed 18 May 2022, 08:12, edited 1 time in total.
-
- Posts: 12
- Joined: Sun 15 May 2022, 06:03
Re: Problem with qt version while installing
Are you sure you have the latest version? Because all of that mentioned in the link "should" be already fixed?
As I said, it builds fine for me with vtk 9.0.x and 9.1 as it is...
As for vtk, why is "VTK_QT_VERSION" not set in cmake for your vtk build? This is not related to openEMS at all.
But as I said, I think we could drop support for older vtk depending on qt4
As I said, it builds fine for me with vtk 9.0.x and 9.1 as it is...
As for vtk, why is "VTK_QT_VERSION" not set in cmake for your vtk build? This is not related to openEMS at all.
But as I said, I think we could drop support for older vtk depending on qt4