MantisBT - VTK |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015469 | VTK | (No Category) | public | 2015-05-14 10:18 | 2016-08-12 09:55 |
|
Reporter | David C. Lonie | |
Assigned To | Ben Boeckel (Kitware) | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | moved | |
Platform | | OS | | OS Version | |
Product Version | 6.2.1 | |
Target Version | | Fixed in Version | | |
Project | TBD |
Type | incorrect functionality |
|
Summary | 0015469: Qt5 no longer provide window-system information |
Description | In 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. |
Steps To Reproduce | |
Additional Information | |
Tags | hackaton |
Relationships | related to | 0014630 | closed | Utkarsh Ayachit | Transparency and linker issues installing against custom QT 5.2.1 bulid |
|
Attached Files | |
|
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 | bug_revision_view_page.php?bugnote_id=35876#r1568 |
2016-04-08 03:34 | Jerome Velut | Note Edited: 0035876 | bug_revision_view_page.php?bugnote_id=35876#r1569 |
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 |
Notes |
|
(0034679)
|
Ben Boeckel (Kitware)
|
2015-07-07 15:47
|
|
|
|
(0035327)
|
Ben Boeckel (Kitware)
|
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ć
|
2015-10-21 12:45
|
|
Sure, if QVTKWidget2 works better, we should mark the old one as deprecated. |
|
|
(0035347)
|
Jean-Christophe Fillion-Robin
|
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)
|
2015-10-21 13:35
|
|
No, VTK wasn't setting up the context properly. |
|
|
(0035487)
|
Clinton Stimpson
|
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
|
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
|
2016-05-18 13:41
|
|
|
|
(0035992)
|
Utkarsh Ayachit
|
2016-05-18 13:43
|
|
|
|
(0037387)
|
Kitware Robot
|
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. |
|