[vtkusers] VTK + Qt integration

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


The cmake you showed is for vtk 5.x.

Many people use VTK and Qt. Can you be more specific by providing the
exact cmake command line you are using?


On Tue, Nov 18, 2014 at 3:15 PM, Nima Ajam Gard <ajam.nima at gmail.com> wrote:
> Hi Bill,
>
> Since, I could not use VTK-6.1 properly, I changed to VTK-6.0 but still I have same problems.
>
>
>> On Nov 18, 2014, at 3:11 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>
>> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list