From 1a0801a23f917f534d4dabe8c956df4cd206e2a2 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 6 Mar 2023 11:22:51 +0100 Subject: [PATCH] Qt6: port template and Cloud module to Qt6 --- src/Mod/Cloud/Gui/CMakeLists.txt | 6 +----- src/Tools/_TEMPLATE_/Gui/CMakeLists.txt | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/Mod/Cloud/Gui/CMakeLists.txt b/src/Mod/Cloud/Gui/CMakeLists.txt index 72d09e6c0a..ee16f469e3 100644 --- a/src/Mod/Cloud/Gui/CMakeLists.txt +++ b/src/Mod/Cloud/Gui/CMakeLists.txt @@ -13,11 +13,7 @@ set(CloudGui_LIBS FreeCADGui ) -if (BUILD_QT5) - qt5_add_resources(Cloud_QRC_SRCS Resources/Cloud.qrc) -else() - qt4_add_resources(Cloud_QRC_SRCS Resources/Cloud.qrc) -endif() +qt_add_resources(Cloud_QRC_SRCS Resources/Cloud.qrc) SET(CloudGui_SRCS ${Cloud_QRC_SRCS} diff --git a/src/Tools/_TEMPLATE_/Gui/CMakeLists.txt b/src/Tools/_TEMPLATE_/Gui/CMakeLists.txt index ebfbfde36f..5e1fee6d3f 100644 --- a/src/Tools/_TEMPLATE_/Gui/CMakeLists.txt +++ b/src/Tools/_TEMPLATE_/Gui/CMakeLists.txt @@ -14,11 +14,7 @@ set(_TEMPLATE_Gui_LIBS FreeCADGui ) -if (BUILD_QT5) - qt5_add_resources(_TEMPLATE__QRC_SRCS Resources/_TEMPLATE_.qrc) -else() - qt4_add_resources(_TEMPLATE__QRC_SRCS Resources/_TEMPLATE_.qrc) -endif() +qt_add_resources(_TEMPLATE__QRC_SRCS Resources/_TEMPLATE_.qrc) SET(_TEMPLATE_Gui_SRCS ${_TEMPLATE__QRC_SRCS}