Commit 456539b0 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'qt4-qvtkwidget2-test-missing-link'

fcec93c7 TestQVTKWidget2: link QtOpenGL in Qt4
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Dan Lipsa's avatarDan Lipsa <dan.lipsa@kitware.com>
Merge-request: !648
parents 2b37b7fe fcec93c7
......@@ -7,6 +7,7 @@ if(VTK_QT_VERSION VERSION_GREATER "4")
else ()
find_package(Qt4 REQUIRED)
set(QT_USE_QTGUI 1)
set(QT_USE_QTOPENGL 1)
include(${QT_USE_FILE})
qt4_wrap_cpp(moc_srcs QTestMainWindow.h)
endif ()
......@@ -15,4 +16,5 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests
${moc_srcs})
target_link_libraries(${vtk-module}CxxTests LINK_PRIVATE
${QT_QTGUI_LIBRARY}
${QT_QTOPENGL_LIBRARY}
${QT_QTWIDGETS_LIBRARY})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment