[vtkusers] VTK + Qt integration

QtITK VTKHelp qt.itk.vtk.help at gmail.com
Tue Dec 2 12:23:41 EST 2014


check this link
http://qtitkvtkhelp.blogspot.in/2012/12/vtk-with-qvtk-configuration.html .
They have shown for 5.10 version completely.

On Wed, Nov 19, 2014 at 5:22 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> I mean the cmake command or CMakeLists.txt file you use to build your
> application.
>
> On Tue, Nov 18, 2014 at 7:57 PM, Nima Ajam Gard <ajam.nima at gmail.com>
> wrote:
> > It is what I used to build CMake:
> >
> > ./configure --prefix=$HOME/software
> > make
> > make install
> >
> > And, it is how I configured VTK with CMake:
> >
> > mkdir $HOME/projects/VTK-build
> > cd $HOME/projects/VTK-build
> >
> > ccmake $HOME/projects/VTK
> >
> > is it what you mean by cmake command?
> >
> > On Nov 18, 2014, at 4:30 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> >
> > 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
> >
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141202/0479604d/attachment.html>


More information about the vtkusers mailing list