[BUG: libvtk5-qt4; Hardy Heron] 24: error: QVTKWidget.h: No such file or directory

Bug #272429 reported by Murat Uenalan
4
Affects Status Importance Assigned to Milestone
vtk (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libvtk5-qt4

after assembling a dialog with designer-qt4 which used the QVTKWidget, qmake-qt4 failed to compile the file (see email subject)

It seems to be an old known issue on debian (already in 2006), which was closed:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384908
vtk 384908 libvtk5-dev: missing QVTKWidget.h header

As i have the libvtk.* files installed having version:
5.0.3-1ubuntu1

The bug-report on debian says to have solved the issue at
Source-Version: 5.0.2-1

Can anybody help me to find a ubuntu package thats based on the fixed recent debian release ?

Thanks,
Mue

It seems that I did not install an outdaten package ? libvtk5(.*) seem recent enough:

OUTPUTS

Package: libvtk5-qt4
New: yes
State: installed
Automatically installed: no
Version: 5.0.3-1ubuntu1
Priority: optional
Section: universe/libs
Maintainer: Ubuntu MOTU Developers <email address hidden>
Uncompressed Size: 279k
Depends: libc6 (>= 2.5-5), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2), libgcc1 (>= 1:4.2-20070516), libgl1-mesa-glx | libgl1, libice6 (>= 1:1.0.0), libjpeg62, libpng12-0 (>= 1.2.13-4), libqt4-core (>=
         4.3.0), libqt4-gui (>= 4.3.0), libsm6, libstdc++6 (>= 4.2-20070516), libtiff4, libvtk5, libx11-6, libxcursor1 (> 1.1.2), libxext6, libxinerama1, libxrandr2 (>= 2:1.2.0), libxrender1, libxt6, zlib1g (>= 1:1.2.1)
Conflicts: libvtk5-qt3
Description: Visualization Toolkit - A high level 3D visualization library
 This provides the VTK GUI support for Qt4.
 Package: libvtk5
New: yes
State: installed
Automatically installed: no
Version: 5.0.3-1ubuntu1
Priority: optional
Section: universe/libs
Maintainer: Ubuntu MOTU Developers <email address hidden>
Uncompressed Size: 28.1M
Depends: libc6 (>= 2.5-5), libexpat1 (>= 1.95.8), libfreetype6 (>= 2.2), libgcc1 (>= 1:4.2-20070516), libgl1-mesa-glx | libgl1, libice6 (>= 1:1.0.0), libjpeg62, libpng12-0 (>= 1.2.13-4), libsm6, libstdc++6 (>= 4.2-20070516), libtiff4,
         libx11-6, libxext6, libxt6, zlib1g (>= 1:1.2.1)
Suggests: libvtk5-dev, vtk-examples, vtk-doc
Conflicts: libvtk, libvtk32, libvtk4, libvtk4c2, libvtk4c2a, python-vtk (< 4.4)
Replaces: libvtk, libvtk32, libvtk4, libvtk4c2, libvtk4c2a
Description: Visualization Toolkit - A high level 3D visualization library
 VTK - the Visualization Toolkit is an object oriented, high level library that allows one to easily write C++ programs, Tcl, Python and Java scripts that do 3D visualization. This package provides the shared libraries needed to run C++
 programs that use VTK. To compile C++ code that uses VTK you have to install libvtk5-dev.

 VTK enables users to concentrate on their work by providing a large number of excellent and feature packed high level functions that do visualization. The library needs OpenGL to render the graphics and for Linux machines Mesa is
 necessary. The terms/copyright can be read in /usr/share/doc/vtk/README and README.html. VTK-Linux-HOWTO has information about using vtk, getting documentataion or help and instructions on building VTK.

Package: libvtk5-dev
New: yes
State: installed
Automatically installed: no
Version: 5.0.3-1ubuntu1
Priority: optional
Section: universe/libdevel
Maintainer: Ubuntu MOTU Developers <email address hidden>
Uncompressed Size: 8942k
Depends: libvtk5, xlibmesa-gl-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libx11-dev, libxt-dev, x11proto-core-dev, libc6-dev
Suggests: vtk-examples, vtk-doc
Conflicts: libvtk4-dev, libvtk-dev, libvtk32-dev
Replaces: libvtk4-dev, libvtk-dev, libvtk32-dev
Description: VTK header files for building C++ code
 This provides the VTK header files required to compile C++ programs that use VTK to do 3D visualisation.

Revision history for this message
KIAaze (zohn-joidberg) wrote :

You can use the VTK package from this PPA: https://launchpad.net/~cae-team/+archive/ppa
It has QVTKwidget support.

Revision history for this message
Martin Thoma (themoosemind) wrote :

They only have VTK 5.4.2. Do you know a solution with which I can use VTK 5.6.0 (the latest release)?
At the moment I have compiled VTK by myself.
When I try to compile a project which uses VTK, ITK and QT I get the same error
(fatal error: QVTKWidget.h: Datei oder Verzeichnis nicht gefunden)

Revision history for this message
Martin Thoma (themoosemind) wrote :

I have solved this issue for me:
$ CPLUS_INCLUDE_PATH=/the/path
$ export CPLUS_INCLUDE_PATH

Revision history for this message
nizar sallem (nizar-sallem) wrote :

You have to link against libQVTK.so which is in /usr/lib and not in /usr/lib/vtk-5.6.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.