diff Resources/CMake/QtConfiguration.cmake @ 423:574fc54056af am-vsol-upgrade

WRAP_UI and WRAP_CPP commonly used files in stone makefile instead of project makefile
author am@osimis.io
date Wed, 21 Nov 2018 17:07:43 +0100
parents ef31240a73f6
children a750f11892ec
line wrap: on
line diff
--- a/Resources/CMake/QtConfiguration.cmake	Tue Nov 20 21:44:48 2018 +0100
+++ b/Resources/CMake/QtConfiguration.cmake	Wed Nov 21 17:07:43 2018 +0100
@@ -64,6 +64,11 @@
   ${ORTHANC_STONE_ROOT}/Applications/Qt/QStoneMainWindow.cpp
   )
 
+ORTHANC_QT_WRAP_CPP(QT_SOURCES
+  ${ORTHANC_STONE_ROOT}/Applications/Qt/QCairoWidget.h
+  ${ORTHANC_STONE_ROOT}/Applications/Qt/QStoneMainWindow.h
+  )
+
 
 # NB: Including CMAKE_CURRENT_BINARY_DIR is mandatory, as the CMake
 # macros for Qt will put their result in that directory, which cannot