[vtkusers] VTK with Qt Creator
Jothy
jothybasu at gmail.com
Mon Jul 19 06:51:40 EDT 2010
Of course, I have set all of the variables you have mentioned. I clicked
configure (several times) then generate. It has generated some cmake files
and one big make file. Now how to build it with Qt creator.
Thank you
Jothy
On Mon, Jul 19, 2010 at 11:45 AM, mtaverne at engits.eu <mtaverne at engits.eu>wrote:
> Did you enable QT GUI support in cmake?
>
> If you set the following variables in cmake and make && make install, it
> should set up a VTK plugin for you in Qt Designer:
> BUILD_SHARED_LIBS = ON
> VTK_USE_GUISUPPORT = ON
> VTK_USE_QVTK = ON
> VTK_USE_QT = ON
> DESIRED_QT_VERSION = 4
>
> enGrid uses Qt+VTK: http://engits.eu/cms/index.php?id=4
> cmake configuration: http://engits.eu/phpBB3/viewtopic.php?f=2&t=34
>
> That's probably not the easiest example to get started with, but I think it
> can help.
> I'll try preparing a simpler example later eventually.
>
>
> On 19/07/2010 11:32, Jothy wrote:
>
> Hi all,
>
> Has anyone use vtk with Qt ccreator? I have downloaded the source files of
> vtk5.6 and used cmake to generate makefiles. Now how to procedd further, I
> did not see any pro file in the vtkBuild directory, as it creates proj file
> for visual studio.
>
> Thank you
>
> Jothy
>
>
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100719/7cf30c7d/attachment.htm>
More information about the vtkusers
mailing list