From 4420c6c6085e6d528bd22726e22e9e6c9bd29f27 Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Fri, 20 Sep 2024 13:46:57 +0800 Subject: [PATCH] update --- example/res/template/src/CMakeLists.txt.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/example/res/template/src/CMakeLists.txt.in b/example/res/template/src/CMakeLists.txt.in index 003feb30..2b663ec0 100644 --- a/example/res/template/src/CMakeLists.txt.in +++ b/example/res/template/src/CMakeLists.txt.in @@ -72,11 +72,6 @@ install(TARGETS ${PROJECT_NAME} BUNDLE DESTINATION . LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) -if(QT_VERSION_MAJOR EQUAL 6) - qt_import_qml_plugins(${PROJECT_NAME}) - qt_finalize_executable(${PROJECT_NAME}) -endif() - if (CMAKE_BUILD_TYPE MATCHES "Release") if (APPLE) find_program(QT_DEPLOY_QT NAMES macdeployqt)