Mercurial > hg > orthanc-stone
comparison Resources/CMake/QtConfiguration.cmake @ 1028:6d5382fa45e1
fix qt
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 04 Oct 2019 21:58:13 +0200 |
parents | a750f11892ec |
children | 4e713ef78a5a |
comparison
equal
deleted
inserted
replaced
1027:dd8ff977aaf2 | 1028:6d5382fa45e1 |
---|---|
56 QT4_WRAP_CPP(${ARGN}) | 56 QT4_WRAP_CPP(${ARGN}) |
57 endmacro() | 57 endmacro() |
58 | 58 |
59 endif() | 59 endif() |
60 | 60 |
61 | |
61 list(APPEND QT_SOURCES | 62 list(APPEND QT_SOURCES |
62 ${ORTHANC_STONE_ROOT}/Applications/Qt/QCairoWidget.cpp | 63 ${ORTHANC_STONE_ROOT}/Applications/Qt/QCairoWidget.cpp |
63 ${ORTHANC_STONE_ROOT}/Applications/Qt/QtStoneApplicationRunner.cpp | |
64 ${ORTHANC_STONE_ROOT}/Applications/Qt/QStoneMainWindow.cpp | |
65 ) | 64 ) |
66 | 65 |
67 ORTHANC_QT_WRAP_CPP(QT_SOURCES | 66 ORTHANC_QT_WRAP_CPP(QT_SOURCES |
68 ${ORTHANC_STONE_ROOT}/Applications/Qt/QCairoWidget.h | 67 ${ORTHANC_STONE_ROOT}/Applications/Qt/QCairoWidget.h |
69 ${ORTHANC_STONE_ROOT}/Applications/Qt/QStoneMainWindow.h | |
70 ) | 68 ) |
71 | 69 |
70 if (ENABLE_STONE_DEPRECATED) | |
71 list(APPEND QT_SOURCES | |
72 ${ORTHANC_STONE_ROOT}/Applications/Qt/QtStoneApplicationRunner.cpp | |
73 ${ORTHANC_STONE_ROOT}/Applications/Qt/QStoneMainWindow.cpp | |
74 ) | |
75 | |
76 ORTHANC_QT_WRAP_CPP(QT_SOURCES | |
77 ${ORTHANC_STONE_ROOT}/Applications/Qt/QStoneMainWindow.h | |
78 ) | |
79 endif() | |
80 | |
72 | 81 |
73 # NB: Including CMAKE_CURRENT_BINARY_DIR is mandatory, as the CMake | 82 # NB: Including CMAKE_CURRENT_BINARY_DIR is mandatory, as the CMake |
74 # macros for Qt will put their result in that directory, which cannot | 83 # macros for Qt will put their result in that directory, which cannot |
75 # be changed. | 84 # be changed. |
76 # https://stackoverflow.com/a/4016784/881731 | 85 # https://stackoverflow.com/a/4016784/881731 |