Salome HOME
Merge Qt5 porting.
[modules/hexablock.git] / src / HEXABLOCKGUI / MyDlgRef / CMakeLists.txt
index d3fa1289a055217c85196a8da6e567e2babea75b..25fd40ccc456719f1ef3cb5186673b4550e41cdd 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2012-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2015  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -17,6 +17,8 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
+INCLUDE(UseQtExt)
+
 # --- options ---
 # additional include directories
 INCLUDE_DIRECTORIES(
@@ -41,7 +43,7 @@ SET(MyDlgRef_HEADERS
 # --- sources ---
 
 # sources / moc wrappings
-QT4_WRAP_CPP(_moc_SOURCES ${MyDlgRef_HEADERS})
+QT_WRAP_MOC(_moc_SOURCES ${MyDlgRef_HEADERS})
 
 # sources / static
 SET(_other_SOURCES
@@ -51,63 +53,16 @@ SET(_other_SOURCES
 
 # uic files / to be processed by pyuic
 SET(_pyuic_files
-  DlgRef_1List1Spin1Btn_QTD.ui
-  DlgRef_1Sel1Check1List_QTD.ui
-  DlgRef_1Sel1Check1Sel_QTD.ui
-  DlgRef_1Sel1Check_QTD.ui
-  DlgRef_1Sel1List1Check3Btn_QTD.ui
-  DlgRef_1Sel1Spin1Check_QTD.ui
-  DlgRef_1Sel1Spin_QTD.ui
-  DlgRef_1Sel2Spin1View1Check_QTD.ui
   DlgRef_1Sel2Spin_QTD.ui
-  DlgRef_1Sel3Check_QTD.ui
   DlgRef_1Sel3Spin_QTD.ui
-  DlgRef_1Sel3Spin1Check_QTD.ui
-  DlgRef_1Sel4Spin2Check_QTD.ui
-  DlgRef_1Sel4Spin_QTD.ui
-  DlgRef_1Sel5Spin1Check_QTD.ui
-  DlgRef_1Sel5Spin_QTD.ui
-  DlgRef_1Sel_QTD.ui
-  DlgRef_1SelExt_QTD.ui
-  DlgRef_1Spin_QTD.ui
-  DlgRef_2Sel1List1Check_QTD.ui
-  DlgRef_2Sel1List2Check_QTD.ui
-  DlgRef_2Sel1List_QTD.ui
-  DlgRef_2Sel1Spin2Check_QTD.ui
   DlgRef_2Sel1Spin_QTD.ui
-  DlgRef_2Sel1SpinInt_QTD.ui
-  DlgRef_2Sel2List_QTD.ui
-  DlgRef_2Sel2Spin1Check_QTD.ui
-  DlgRef_2Sel2Spin3Check_QTD.ui
-  DlgRef_2Sel2Spin_QTD.ui
-  DlgRef_2Sel3Spin2Rb_QTD.ui
-  DlgRef_2Sel3Spin_QTD.ui
-  DlgRef_2Sel4Spin1Check_QTD.ui
   DlgRef_2Sel_QTD.ui
-  DlgRef_2SelExt_QTD.ui
-  DlgRef_2Spin_QTD.ui
-  DlgRef_3Check_QTD.ui
-  DlgRef_3Radio_QTD.ui
-  DlgRef_3Radio1Sel1Spin_QTD.ui
-  DlgRef_3Sel1Check_QTD.ui
-  DlgRef_3Sel1Spin_QTD.ui
-  DlgRef_3Sel2Spin_QTD.ui
-  DlgRef_3Sel3Spin1Check_QTD.ui
-  DlgRef_3Sel3Spin2Check_QTD.ui
-  DlgRef_3Sel4Spin2Check_QTD.ui
-  DlgRef_3Sel_QTD.ui
-  DlgRef_3Spin1Check_QTD.ui
   DlgRef_3Spin_QTD.ui
-  DlgRef_4Sel1List1Check_QTD.ui
-  DlgRef_4Sel1List_QTD.ui
-  DlgRef_4Sel1Spin2Check_QTD.ui
-  DlgRef_4Sel1Spin3Check_QTD.ui
-  DlgRef_6Sel_QTD.ui
   DlgRef_Skeleton_QTD.ui
 )
 
 # scripts / pyuic wrappings
-QT4_WRAP_UI(_uic_HEADERS ${_pyuic_files})
+QT_WRAP_UIC(_uic_HEADERS ${_pyuic_files})
 
 # sources / to compile
 SET(MyDlgRef_SOURCES ${_other_SOURCES} ${_moc_SOURCES} ${_uic_HEADERS})