Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christian Butz
VTK
Commits
fcec93c7
Commit
fcec93c7
authored
Sep 10, 2015
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TestQVTKWidget2: link QtOpenGL in Qt4
parent
d12a9fa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
GUISupport/QtOpenGL/Testing/Cxx/CMakeLists.txt
GUISupport/QtOpenGL/Testing/Cxx/CMakeLists.txt
+2
-0
No files found.
GUISupport/QtOpenGL/Testing/Cxx/CMakeLists.txt
View file @
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
}
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment