Commit fcec93c7 authored by Ben Boeckel's avatar Ben Boeckel

TestQVTKWidget2: link QtOpenGL in Qt4

parent d12a9fa9
......@@ -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