Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6.

This commit is contained in:
Mateusz Skowroński
2021-04-05 00:02:35 +02:00
committed by wwmayer
parent 3f3df7d8e3
commit 9ade68e9bf
24 changed files with 14 additions and 492 deletions

View File

@@ -38,36 +38,6 @@ if (BUILD_QT5)
)
endif()
set(PartGui_MOC_HDRS
CrossSections.h
Mirroring.h
DlgBooleanOperation.h
DlgExtrusion.h
DlgFilletEdges.h
DlgPartBoxImp.h
DlgPartCylinderImp.h
DlgPartImportIgesImp.h
DlgPartImportStepImp.h
DlgPrimitives.h
DlgRevolution.h
DlgSettings3DViewPartImp.h
DlgSettingsGeneral.h
DlgSettingsObjectColor.h
DlgProjectionOnSurface.h
PropertyEnumAttacherItem.h
TaskFaceColors.h
TaskShapeBuilder.h
TaskLoft.h
TaskOffset.h
TaskSweep.h
TaskThickness.h
TaskDimension.h
TaskCheckGeometry.h
TaskAttacher.h
)
fc_wrap_cpp(PartGui_MOC_SRCS ${PartGui_MOC_HDRS})
SOURCE_GROUP("Moc" FILES ${PartGui_MOC_SRCS})
if (BUILD_QT5)
qt5_add_resources(PartGui_QRC_SRCS Resources/Part.qrc)
else()