Skip to content
Snippets Groups Projects
Commit 789c40b3 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

Examples/TouchGestureViewer: use `AUTOUIC`

This makes it easier to support Qt5 and Qt6 at the same time.
parent af066125
No related branches found
No related tags found
No related merge requests found
......@@ -42,10 +42,8 @@ include_directories(
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
# CMAKE_AUTOMOC in ON so the MocHdrs will be automatically wrapped.
qt5_wrap_ui(UI_Srcs ${UIs})
add_executable(QtVTKTouchscreenRenderWindows
${Srcs} ${Hdrs} ${UI_Srcs})
${Srcs} ${Hdrs} ${UIs})
target_link_libraries(QtVTKTouchscreenRenderWindows
PRIVATE
${VTK_LIBRARIES}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment