[vtkusers] Find reason for exclusion of vtkGUISupportQtOpenGL in build output?
Elvis Stansvik
elvis.stansvik at orexplore.com
Wed Jun 29 10:33:57 EDT 2016
2016-06-29 16:27 GMT+02:00 Mike Chinander <chinander at gmail.com>:
> Was vtkGUISupportQtOpenGL2 built instead? What is your
> VTK_RENDERING_BACKEND set to? OpenGL2 is the default for 7.0.
>
vtkGUISupportQtOpenGL2 was not built either AFAICS (I don't think there is
such a module). I don't set VTK_RENDERING_BACKEND explicitly, so it's
defaulting to OpenGL2:
-- Setting rendering backend to 'OpenGL2' as none was specified.
But I think the name of the QtOpenGL modules is the same, regardless of the
rendering backend used.
I now found that the vtkGUISupportQtOpenGL is defined (in
GUISupport/QtOpenGL/module.cmake) with:
if(VTK_RENDERING_BACKEND STREQUAL "OpenGL")
set(_groups GROUPS Qt)
endif()
vtk_module(vtkGUISupportQtOpenGL
${_groups}
DEPENDS
vtkGUISupportQt
vtkRendering${VTK_RENDERING_BACKEND}
TEST_DEPENDS
vtkTestingCore
vtkTestingRendering
vtkFiltersSources
EXCLUDE_FROM_WRAPPING
)
Does this mean the module will only be part of the Qt group if the OpenGL
backend is used? Not when using the OpenGL2 backend? If so, how do I
activate it when using OpenGL2?
Elvis
> On Wed, Jun 29, 2016 at 9:22 AM, Elvis Stansvik <
> elvis.stansvik at orexplore.com> wrote:
>
>> Hi,
>>
>> I'm building a custom Ubuntu package of VTK-7.0.0 at this PPA:
>>
>> https://launchpad.net/~elvstone/+archive/ubuntu/vtk7
>>
>> the full build log is at:
>>
>>
>> https://launchpadlibrarian.net/261625779/buildlog_ubuntu-xenial-amd64.vtk7_7.0.0-0ubuntu2_BUILDING.txt.gz
>>
>> I only recently discovered that the vtkGUISupportQtOpenGL module was not
>> included.
>>
>> Anyone know how I can deduce from the build log why it wasn't built?
>>
>> The only relevant message I could find in the CMake output is:
>>
>> -- Group Qt modules:
>> vtkRenderingQt;vtkGUISupportQtSQL;vtkGUISupportQt;vtkViewsQt
>>
>> But I can't find anything stating the reason for vtkGUISupportQtOpenGL
>> not being built.
>>
>> The build slave has libqt5opengl5 and libqt5opengl5-dev installed (search
>> for "Setting up libqt5opengl5" in the build log linked above).
>>
>> Do I have to specify something more than -DVTK_Group_Qt=ON and
>> -DVTK_QT_VERSION=5 to get this module?
>>
>> Thanks in advance,
>> Elvis
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160629/5ecda81e/attachment.html>
More information about the vtkusers
mailing list