[vtkusers] VTK + Qt integration

Bill Lorensen bill.lorensen at gmail.com
Tue Nov 18 16:30:41 EST 2014


So, what is the cmake command you are using?


On Tue, Nov 18, 2014 at 4:06 PM, Nima Ajam Gard <ajam.nima at gmail.com> wrote:
> Thanks Bill for your help. Pages are updated as you can see it has a “new” subscript.
>
>> On Nov 18, 2014, at 4:02 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>
>> Please keep the users list in this conversation.
>>
>> It is possible that those pages have not been updated for vtk6.
>>
>> There are some wiki examples that use Qt. For example see:
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx#Qt
>>
>> Bill
>>
>> On Tue, Nov 18, 2014 at 3:44 PM, Nima Ajam Gard <ajam.nima at gmail.com> wrote:
>>> I exactly followed http://www.vtk.org/Wiki/VTK/Configure_and_Build.
>>> All the commands I used came from above webpage.
>>>
>>> On Nov 18, 2014, at 3:21 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>>
>>> 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
>>>
>>>
>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list