[vtk-developers] QT_QMAKE_EXECUTABLE is not used when building VTK-7.0.0

Sankhesh Jhaveri sankhesh.jhaveri at kitware.com
Tue Jun 21 16:41:15 EDT 2016


​Hi Sangeetha,

The CMake variables for VTK have changed since VTK modularization
<https://blog.kitware.com/vtk-modularization-and-modernization/>. Variables
like VTK_USE_QT, VTK_USE_RENDERING, VTK_USE_TK are obsolete since VTK 6.

Because VTK is a large project, you should try running the cmake from the
GUI (either the cmake-gui or ccmake) to figure out the variables you would
need to change. For guidance on configuring VTK with cmake, take a look at
this wiki page:
http://www.vtk.org/Wiki/VTK/Configure_and_Build#Configure_VTK_with_CMake

Hope that helps.

Sankhesh



On Tue, Jun 21, 2016 at 4:30 PM, Sangeetha Banavathi Srinivasa <
bsangee at vt.edu> wrote:

> Hi,
> I am trying to compile vtk-7.0.0 from source and when I use the option
> QT_QMAKE_EXECUTABLE with CMAKE to build VTK I get manually specified
> option ignored.
>
> Below is the cmake I am using:
>
> cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="%{INSTALL_DIR}" -DVTK_USE_SYSTEM_HDF5=ON -DVTK_USE_PARALLEL=ON -DVTK_USE_QT=ON -DVTK_USE_RENDERING=ON -DVTK_WRAP_PYTHON=ON -DPYTHON_EXECUTABLE=$PYTHON_BIN/python -DPYTHON_INCLUDE_DIR=$PYTHON_INC -DPYTHON_LIBRARY=$PYTHON_LIB/
> libpython2.7.so -DVTK_USE_TK=OFF -DQT_QMAKE_EXECUTABLE=$QT_BIN/qmake ..
>
>
> Below is the warning I see:
> CMake Warning:
>   Manually-specified variables were not used by the project:
>
>     QT_QMAKE_EXECUTABLE
>     VTK_USE_PARALLEL
>     VTK_USE_QT
>     VTK_USE_RENDERING
>     VTK_USE_TK
>
> Could you please let me know as to how I can build VTK using Parallel and
> QT
>
> Thanks,
> Sangeetha
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160621/88c13662/attachment.html>


More information about the vtk-developers mailing list