# myWidget **Repository Path**: ichdream/my-widget ## Basic Information - **Project Name**: myWidget - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-11 - **Last Updated**: 2025-05-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # myWidget 一个基于Qt的小部件应用程序。 ## 项目结构 ``` myWidget/ ├── CMakeLists.txt # 项目构建配置文件 ├── include/ # 头文件目录 │ └── mainwindow.h # 主窗口类定义 ├── src/ # 源代码目录 │ ├── main.cpp # 程序入口点 │ ├── mainwindow.cpp # 主窗口类实现 │ └── ui/ # UI文件目录 │ └── mainwindow.ui # 主窗口UI定义 ├── resources/ # 资源文件目录 │ ├── icons/ # 图标文件 │ ├── translations/ # 翻译文件 │ │ └── myWidget_zh_CN.ts # 中文翻译 │ └── resources.qrc # Qt资源文件 └── build/ # 构建输出目录(不被版本控制) ``` ## 构建说明 ### 先决条件 - Qt 5.x 或 Qt 6.x - CMake 3.16 或更高版本 ### 编译步骤 1. 创建并进入构建目录: ```bash cd build ``` 2. 使用CMake配置项目: ```bash cmake .. ``` 3. 构建项目: ```bash cmake --build . ``` 4. 运行应用程序: ```bash ./myWidget # Linux/macOS myWidget.exe # Windows ``` ## 许可证 [根据需要添加许可证信息]