[vtk-developers] Qt5 linker issues

Brad King brad.king at kitware.com
Wed May 7 14:58:39 EDT 2014


On 05/07/2014 12:19 PM, Christopher Mullins wrote:
> Adding the find_package(Qt5Widgets REQUIRED) works without needing
> the extra syntax inside target_link_libraries, but then of course I have to specify 
> 
> -DQt5Widgets_DIR:PATH=/home/chris/Projects/qt-5.2.1-install/5.2.1/gcc_64/lib/cmake/Qt5Widgets
> 
> which I should not have to do, because VTK already knows where that is. 

Actually I think you should not have to do the find_package either.
Here is a proposed fix:

 http://review.source.kitware.com/15372

-Brad




More information about the vtk-developers mailing list