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

@@ -25,26 +25,6 @@ set(SketcherGui_LIBS
FreeCADGui
)
set(SketcherGui_MOC_HDRS
EditDatumDialog.h
TaskSketcherConstrains.h
TaskSketcherElements.h
TaskSketcherCreateCommands.h
TaskSketcherGeneral.h
TaskSketcherMessages.h
TaskSketcherSolverAdvanced.h
TaskSketcherValidation.h
TaskDlgEditSketch.h
SketchOrientationDialog.h
SketchMirrorDialog.h
SketcherSettings.h
SketchRectangularArrayDialog.h
SketcherRegularPolygonDialog.h
PropertyConstraintListItem.h
)
fc_wrap_cpp(SketcherGui_MOC_SRCS ${SketcherGui_MOC_HDRS})
SOURCE_GROUP("Moc" FILES ${SketcherGui_MOC_SRCS})
if(BUILD_QT5)
qt5_add_resources(SketcherGui_SRCS Resources/Sketcher.qrc)
else()