[vtkusers] VTK + Qt integration

Bill Lorensen bill.lorensen at gmail.com
Tue Nov 18 15:11:32 EST 2014


What version vtk are you using?


On Tue, Nov 18, 2014 at 2:51 PM, Nima Ajam Gard <ajam.nima at gmail.com> wrote:
> Hi,
>
> I am trying to integrate VTK and Qt but unfortunately for some reasons I
> cannot. Currently, I can run VTK's examples except those using Qt's user
> interface. For example, examples in tutorial work but examples in infovis
> cannot be run.
>
> I followed the guide on http://www.vtk.org/Wiki/VTK/Configure_and_Build. All
> parts were done successfully except :
>
> cmake
> -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qt-4.8.6-build/qt-everywhere-opensource-src-4.8.6/bin/qmake
> \
>       -DVTK_Group_Qt:BOOL=ON \
>       -DBUILD_SHARED_LIBRARIES:BOOL=ON \
>       /path/to/VTK
>
> when I was in VTK-build directory, it said that there was no path/to/VTK.
> So, I changed to VTK and removed /path/to/VTK and it worked.
>
> Whenever I tried to build an aforementioned example, Qt says :
>
> error:cannot find -lQVTK
>
> error: cannot find -lvtkRendering ....
>
> I really appreciate any help you can provide.
>
>
> Bests,
> Nima
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list