ENDMACRO(QT_INSTALL_TS_RESOURCES)
MACRO(QT_WRAP_MOC)
-IF (NOT SALOME_BUILD_WITH_QT5)
+IF (QT_VERSION VERSION_LESS "5.0")
QT4_WRAP_CPP(${ARGN})
ELSE()
QT5_WRAP_CPP(${ARGN})
ENDMACRO(QT_WRAP_MOC)
MACRO(QT_WRAP_UIC)
-IF (NOT SALOME_BUILD_WITH_QT5)
+IF (QT_VERSION VERSION_LESS "5.0")
QT4_WRAP_UI(${ARGN})
ELSE()
QT5_WRAP_UI(${ARGN})
ENDMACRO(QT_WRAP_UIC)
MACRO(QT_ADD_RESOURCES)
-IF (NOT SALOME_BUILD_WITH_QT5)
+IF (QT_VERSION VERSION_LESS "5.0")
QT4_ADD_RESOURCES(${ARGN})
ELSE()
QT5_ADD_RESOURCES(${ARGN})