Hi Alexey,

The dependency is inherited. As stated in the wiki
(http://www.paraview.org/Wiki/ParaView:Plugin_Deployment_with_Development_Installs)
you'll need to provide your own installation of Qt 4.6.2 - but not necessarily
using the path used at Kitware on their build hosts.

I typically fix up the Makefiles *every time cmake has been rerun* as follows:

* alter the installation path of qt (use something appropriate instead of
  /path/to/qt/lib !)

sed -i -e
's,/home/kitware/.*ParaView-3-.*/Support/qt-4.6.2/bin/lib,/path/to/qt/lib,g' \
        CMakeFiles/*.dir/build.make \
        CMakeFiles/*.dir/flags.make \
        CMakeFiles/*.dir/link.txt

* get rid of ffmpeg, hdf5, sz and python dependency (which my plugins do not
depend on)

sed -i -e '/^lib.*.so: \/home\/kitware\/.*ParaView-3-.*\/Support\//d;' \
        CMakeFiles/*.dir/build.make
sed -i -e 's/ [^ ]*libhdf5.a//; s/ [^ ]*libsz.a//; s/-lpython2.5//;' \
        CMakeFiles/*.dir/link.txt

Hope that helps
Sven




Alexey I. Baranov wrote, On 07.10.2010 17:14:
> Hello All,
> 
> am I the only one who has problems while building plugins with Development 
> installation? I have downloaded fresh 3.8.1-Dev, unpacked, configured my 
> plugin with CMake, generated makefile and get after typing make the following:
> 
> make[2]: *** No rule to make target 
> `/home/kitware/Kitware/ParaView-3.8.1/Support/qt-4.6.2/bin/lib/libQtUiTools.a',
>  
> needed by `libGUIMyPlugin.so'.  Stop. 
> make[1]: *** [CMakeFiles/GUIMyPlugin.dir/all] Error 2
> make: *** [all] Error 2
> 
> I have never specified explicit dependence of my plugin on 
> `/home/kitware/Kitware/ParaView-3.8.1/Support/qt-4.6.2/bin/lib/libQtUiTools. 
> 
> Am I doing something wrong?
> 
> Best regards,
> 
> 
> Dr. Alexey Baranov
> 
> Max Planck Institute for Chemical Physics of Solids
> Noethnitzer Str. 40
> 01187 Dresden, Germany
> 
> Tel.:  +49-(0)351-4646-4320
> Fax:  +49-(0)351-4646-3002
> _______________________________________________
> 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 ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
> 
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview

_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to