Merge pull request #9806 from mshabunin:fix-static-7
authorVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Mon, 9 Oct 2017 12:09:55 +0000 (12:09 +0000)
committerVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Mon, 9 Oct 2017 12:09:55 +0000 (12:09 +0000)
modules/highgui/CMakeLists.txt

index 4fba298..c117043 100644 (file)
@@ -42,9 +42,11 @@ if(HAVE_QT5)
   set(CMAKE_INCLUDE_CURRENT_DIR ON)
 
   QT5_ADD_RESOURCES(_RCC_OUTFILES ${CMAKE_CURRENT_LIST_DIR}/src/window_QT.qrc)
+  QT5_WRAP_CPP(_MOC_OUTFILES ${CMAKE_CURRENT_LIST_DIR}/src/window_QT.h)
   list(APPEND highgui_srcs
        ${CMAKE_CURRENT_LIST_DIR}/src/window_QT.cpp
        ${CMAKE_CURRENT_LIST_DIR}/src/window_QT.h
+       ${_MOC_OUTFILES}
        ${_RCC_OUTFILES})
 
   foreach(dt5_dep Core Gui Widgets Test Concurrent)