Bug 1319504

Summary: update vtk to use qt5
Product: [Fedora] Fedora Reporter: Alin M Elena <alin>
Component: vtkAssignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: axel.thimm, fdc, lemenkov, mjg, mrceresa, msdeleonpeque, neel.basu.z, orion, quantum.analyst
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vtk-8.1.1-1.fc30 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-27 20:03:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alin M Elena 2016-03-20 18:11:42 UTC
Description of problem:

currently vtk is at version 6.3 and using qt4 
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

update it to version 7.0 and usign qt5
Additional info:

Comment 1 Orion Poplawski 2016-03-20 20:02:48 UTC
I'm waiting for an update to 7.0 that includes the ability to determine what OpenGL back-end was selected at compile time.

Comment 2 Alin M Elena 2016-03-20 21:45:24 UTC
thanks for the info!

Comment 3 Elliott Sales de Andrade 2016-07-13 08:06:48 UTC
Is there an upstream bug to track the update?

Also looking for Python 3 support that's available in 7.0.0.

Comment 4 Orion Poplawski 2016-07-13 15:09:03 UTC
Well, this is the change that's needed - https://gitlab.kitware.com/vtk/vtk/merge_requests/1002  From the mailing list I understand that 7.0.1 will be coming fairly soon.

I'm not sure we'll be able to add python3 support to the Fedora vtk package as there is no good way to build both pyhon2 and python3 support together.

Comment 5 Jan Kurik 2016-07-26 04:51:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 6 Peque 2016-11-29 17:28:28 UTC
7.1 is out already. Any updates on this matter? ^^

Comment 7 Orion Poplawski 2016-11-29 17:32:25 UTC
I'm testing builds here: https://copr.fedorainfracloud.org/coprs/orion/vtk7/packages/

I think I'm going to need to go to 7.1 first, and then try to update to qt5 later in coordination with some other users.

Comment 8 Orion Poplawski 2016-11-29 18:14:58 UTC
Currently have a build failure on ppc64le: https://gitlab.kitware.com/vtk/vtk/issues/16919

/builddir/build/BUILD/VTK-7.1.0/build/Common/Core/vtkTypeInt8ArrayTcl.cxx:19:28: error: 'vtkCharArray' was not declared in this scope
 int vtkCharArrayCppCommand(vtkCharArray *op, Tcl_Interp *interp,
                            ^~~~~~~~~~~~

Comment 9 Peque 2017-02-03 20:18:04 UTC
Any updates on this matter? ^^

Comment 10 Orion Poplawski 2017-05-11 21:46:53 UTC
Need to check with vtk users: engrid, mrpt, and pcl.  Looks like engrid BRs qt4, mrpt doesn't BR qt - so may just use what VTK does, and pcl BRs qt5 already.  Will try to do some test builds soon.

Comment 11 Orion Poplawski 2017-05-18 22:53:39 UTC
engrid - https://github.com/enGits/engrid/issues/61

Comment 12 Elliott Sales de Andrade 2017-06-18 08:32:10 UTC
I see 7.1.1 is in F26, but it doesn't appear to have Python 3 support?

Comment 13 Orion Poplawski 2017-06-20 18:39:31 UTC
comment 4 still applies.

Comment 14 Fedora End Of Life 2017-11-16 19:28:25 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 15 Fedora End Of Life 2017-12-12 10:55:07 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 16 Peter Lemenkov 2017-12-12 12:13:34 UTC
We've almost there. It's possible to rebuild VTK srpm with Qt5 and the only thing is missing is other dependent packages, which must switch to Qt5 as well.

Comment 17 Neel Basu 2018-02-19 10:41:25 UTC
Fedora 27 currently uses vtk 7.1.1 But sadly it still uses Qt4. It just needs a recompilation I think. I upgraded my fedora version just to use Vtk with Qt5.

$ ldd /usr/lib64/vtk/libvtkGUISupportQt.so.1 | grep Qt
	libQtGui.so.4 => /lib64/libQtGui.so.4 (0x00007ffaa672f000)
	libQtNetwork.so.4 => /lib64/libQtNetwork.so.4 (0x00007ffaa63e1000)
	libQtCore.so.4 => /lib64/libQtCore.so.4 (0x00007ffaa5edd000)

If Vtk is upgraded to 7.1.1 but compiled with Qt4 Isn't this a bug and should be fixed in Fedora 27 update ? I don't think this should wait for another Fedora release.

Comment 18 Fedora End Of Life 2018-02-20 15:28:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.