4 Star 0 Fork 4

src-openEuler/kiran-qt5-integration

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0008-fix-cmake-target-change-cmake-target-name.patch 2.78 KB
一键复制 编辑 原始数据 按行查看 历史
From 7082e9f88b6d70afbb63fea8f97ecc7c2ef47347 Mon Sep 17 00:00:00 2001
From: liuxinhao <liuxinhao@kylinsec.com.cn>
Date: Mon, 4 Sep 2023 13:25:50 +0800
Subject: [PATCH] fix(cmake target): change cmake target name
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修改CMake target name 为test导致的编译问题
---
CMakeLists.txt | 2 +-
{test => integration-test}/CMakeLists.txt | 2 +-
{test => integration-test}/src/main.cpp | 0
{test => integration-test}/src/qt-widget-factor.cpp | 0
{test => integration-test}/src/qt-widget-factor.h | 0
{test => integration-test}/src/qt-widget-factor.ui | 0
{test => integration-test}/src/test.ui | 0
7 files changed, 2 insertions(+), 2 deletions(-)
rename {test => integration-test}/CMakeLists.txt (97%)
rename {test => integration-test}/src/main.cpp (100%)
rename {test => integration-test}/src/qt-widget-factor.cpp (100%)
rename {test => integration-test}/src/qt-widget-factor.h (100%)
rename {test => integration-test}/src/qt-widget-factor.ui (100%)
rename {test => integration-test}/src/test.ui (100%)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf571f2..3b7eafc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,4 +17,4 @@ add_subdirectory(platformtheme)
add_subdirectory(style-helper)
#QStyle插件
add_subdirectory(style)
-add_subdirectory(test)
\ No newline at end of file
+#add_subdirectory(integration-test)
diff --git a/test/CMakeLists.txt b/integration-test/CMakeLists.txt
similarity index 97%
rename from test/CMakeLists.txt
rename to integration-test/CMakeLists.txt
index bc286f3..c757e4f 100644
--- a/test/CMakeLists.txt
+++ b/integration-test/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.5)
-project(test)
+project(integration-test)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
diff --git a/test/src/main.cpp b/integration-test/src/main.cpp
similarity index 100%
rename from test/src/main.cpp
rename to integration-test/src/main.cpp
diff --git a/test/src/qt-widget-factor.cpp b/integration-test/src/qt-widget-factor.cpp
similarity index 100%
rename from test/src/qt-widget-factor.cpp
rename to integration-test/src/qt-widget-factor.cpp
diff --git a/test/src/qt-widget-factor.h b/integration-test/src/qt-widget-factor.h
similarity index 100%
rename from test/src/qt-widget-factor.h
rename to integration-test/src/qt-widget-factor.h
diff --git a/test/src/qt-widget-factor.ui b/integration-test/src/qt-widget-factor.ui
similarity index 100%
rename from test/src/qt-widget-factor.ui
rename to integration-test/src/qt-widget-factor.ui
diff --git a/test/src/test.ui b/integration-test/src/test.ui
similarity index 100%
rename from test/src/test.ui
rename to integration-test/src/test.ui
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/kiran-qt5-integration.git
git@gitee.com:src-openeuler/kiran-qt5-integration.git
src-openeuler
kiran-qt5-integration
kiran-qt5-integration
master

搜索帮助