View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015469VTK(No Category)public2015-05-14 10:182016-08-12 09:55
ReporterDavid C. Lonie 
Assigned ToBen Boeckel (Kitware) 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.2.1 
Target VersionFixed in Version 
Summary0015469: Qt5 no longer provide window-system information
DescriptionIn Qt5, the Q_WS_X11 (and similar) preprocessor definitions are no longer provided, nor is QX11Info.

This causes much of the GLX initialization to be skipped in QVTKWidget, including the configuration of a visual that respects the requested multisampling, alpha planes, stencil buffer, etc.

This means that any build against Qt5 will not provide these features, leading to the broke MSAA report on the mailing list and bugs like http://www.vtk.org/Bug/view.php?id=14630. [^] A rework of QVTKWidget to no longer rely on the Qt4 convenience API is needed to address this issue.
Tagshackaton
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships
related to 0014630closedUtkarsh Ayachit Transparency and linker issues installing against custom QT 5.2.1 bulid 

  Notes
(0034679)
Ben Boeckel (Kitware) (developer)
2015-07-07 15:47

QVTKWidget2 is the way to go here. However, it still has problems with the transparency since Qt5 doesn't set up the OpenGL context properly by default for depth peeling to work fully (other things such as the depth buffer, alpha support, and the stencil buffer are also disabled). I have some patches for QVTKWidget2 which makes it work with Qt5, but it doesn't support OpenGL2 yet.

<https://gitlab.kitware.com/vtk/vtk/merge_requests/372> [^]
<https://gitlab.kitware.com/vtk/vtk/merge_requests/373> [^]
(0035327)
Ben Boeckel (Kitware) (developer)
2015-10-21 11:29

The linked branches have been merged, so code should be migrating to QVTKWidget2. Should we mark QVTKWidget for deprecation?
(0035337)
Dženan Zukić (developer)
2015-10-21 12:45

Sure, if QVTKWidget2 works better, we should mark the old one as deprecated.
(0035347)
Jean-Christophe Fillion-Robin (manager)
2015-10-21 13:28

Is there any reason to keep using QVTKWidget ?

=> Based on Ben comment, QVTKWidget2 doesn't yet work well with OpenGL2.

Having a class with a "2" suffix seems awkward. While there is probably a good historical reason, deprecating and having a plan for removal of the other class may be good.


> problems with the transparency since Qt5 doesn't set up the OpenGL context properly by default for depth peeling

Should an issue be reported to Qt ?
(0035350)
Ben Boeckel (Kitware) (developer)
2015-10-21 13:35

No, VTK wasn't setting up the context properly.
(0035487)
Clinton Stimpson (developer)
2015-11-27 10:36

QVTKWidget is not dependent on OpenGL. For example, it may be used with mangled mesa.
QVTKWidget2 does not support that use case.
(0035876)
Jerome Velut (reporter)
2016-04-08 03:05
edited on: 2016-04-08 03:34

Strangely, I have a transparency issue with Qt also in my application. But in ParaView!
So what does paraview special on the QVTKWidget ?

*EDIT Ok, forget about it: ParaView uses Qt4 even in 5.0RC :) *

(0035991)
Utkarsh Ayachit (administrator)
2016-05-18 13:41

BTW, this MR is related: https://gitlab.kitware.com/vtk/vtk/merge_requests/1478 [^]
(0035992)
Utkarsh Ayachit (administrator)
2016-05-18 13:43

Also, QVTKWidget2 uses QGLWidget which Qt has deprecated and wants us to use QOpenGLWidget.

http://blog.qt.io/blog/2014/09/10/qt-weekly-19-qopenglwidget/ [^]
(0037387)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2015-05-14 10:18 David C. Lonie New Issue
2015-05-14 10:18 David C. Lonie Relationship added related to 0014630
2015-07-07 15:47 Ben Boeckel (Kitware) Note Added: 0034679
2015-10-19 14:57 Utkarsh Ayachit Tag Attached: hackaton
2015-10-21 11:29 Ben Boeckel (Kitware) Note Added: 0035327
2015-10-21 12:45 Dženan Zukić Note Added: 0035337
2015-10-21 13:23 Dženan Zukić Assigned To => Ben Boeckel (Kitware)
2015-10-21 13:28 Jean-Christophe Fillion-Robin Note Added: 0035347
2015-10-21 13:35 Ben Boeckel (Kitware) Note Added: 0035350
2015-11-27 10:36 Clinton Stimpson Note Added: 0035487
2016-04-08 03:05 Jerome Velut Note Added: 0035876
2016-04-08 03:34 Jerome Velut Note Edited: 0035876
2016-04-08 03:34 Jerome Velut Note Edited: 0035876
2016-05-18 13:41 Utkarsh Ayachit Note Added: 0035991
2016-05-18 13:43 Utkarsh Ayachit Note Added: 0035992
2016-08-12 09:55 Kitware Robot Note Added: 0037387
2016-08-12 09:55 Kitware Robot Status backlog => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team