## From GUI
##
IF(SALOME_BUILD_GUI)
- # Qt4
- FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui QtXml)
- INCLUDE(${QT_USE_FILE})
+ # Qt
+ IF(NOT SALOME_GUI_BUILD_WITH_QT5)
+ FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui QtXml)
+ INCLUDE(${QT_USE_FILE})
+ ELSE()
+ FIND_PACKAGE(SalomeQt5 REQUIRED)
+ ENDIF()
ENDIF(SALOME_BUILD_GUI)
# VTK
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-INCLUDE(UseQt4Ext)
+INCLUDE(UseQtExt)
# --- options ---
# additional include directories
# --- sources ---
# sources / moc wrappings
-QT4_WRAP_CPP(_moc_SOURCES ${GHS3DPRLPluginGUI_HEADERS})
+QT_WRAP_MOC(_moc_SOURCES ${GHS3DPRLPluginGUI_HEADERS})
# sources / static
SET(_other_SOURCES
INSTALL(FILES ${GHS3DPRLPluginGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
-QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GHS3DPRLPLUGIN_INSTALL_RES_DATA}")
+QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GHS3DPRLPLUGIN_INSTALL_RES_DATA}")
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-INCLUDE(UseQt4Ext)
+INCLUDE(UseQtExt)
# --- options ---
# additional include directories
# --- sources ---
# sources / moc wrappings
-QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
+QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
# sources / static
SET(_other_SOURCES
)
# header files / uic wrappings
-QT4_WRAP_UI(_uic_HEADERS ${_uic_files})
+QT_WRAP_UIC(_uic_HEADERS ${_uic_files})
# sources / to compile
SET(tepal2med_SOURCES tepal2med.cxx ${_other_SOURCES} ${_moc_SOURCES} ${_uic_HEADERS})
bool ReadFilePOINTS(const QString FileName);
bool Find_VerticesDomainToVerticesSkin();
bool Write_masterxmlMEDfile();
- bool Write_MEDfiles_v0(bool deletekeys=FALSE);
- bool Write_MEDfiles_v1(bool deletekeys=FALSE);
- bool Write_MEDfiles_v2(bool deletekeys=FALSE);
+ bool Write_MEDfiles_v0(bool deletekeys=false);
+ bool Write_MEDfiles_v1(bool deletekeys=false);
+ bool Write_MEDfiles_v2(bool deletekeys=false);
};
#endif