Releases: XMuli/myapp-template
Releases · XMuli/myapp-template
v1.1
Introduction
myapp-template
is a universal, minimal desktop application template designed to support Windows, macOS, and Linux platforms.
This template helps you build a comprehensive and functional desktop application, saving time on setting up foundational code. It supports both Qt 5 and Qt 6 versions.
Features
-
Settings Window with Tabs:
- General: Multi-language support, font and font size configuration, auto-start on system boot.
- Updates: Check for new software versions, proxy settings, and new version downloads.
- About: Software build and runtime information.
-
Main Window:
- Displays the core functionality of the application.
-
System Tray:
- System tray icon with menu options.
- Hover tooltips.
-
Additional Features:
- Build and packaging support for Windows, Linux, and macOS.
- Script to batch convert source files to UTF-8 BOM:
convert_to_utf8_bom.py
. - Multi-language translation script:
create_update_ts2qm.bat
. - Custom installation package script without requiring admin privileges:
setup_package.iss
. - Script to convert CMake (
CMakeLists.txt
) to a Visual Studio 2022 (.sln
) solution:build.bat
. - Common Git ignore configuration file:
.gitignore
.
介绍
myapp-template 是一款通用的最小窗体的桌面应用程序模板示例,支持 Windows,MacOS,Linux 平台;
用以帮助构建一个通用且完整的桌面应用程序,节省开始的基础代码搭建。均支持 Qt 5 和 6 两个大版本。
功能
-
一个带有标签页的设置窗口
- 常规:多语言、字体和字号、开机自启动
- 更新:检测软件新版本、代理设置、下载新版本
- 关于:软件构建和运行信息
-
主窗口:
- 显示主要实现的功能
-
托盘:
- 系统右下角托盘和菜单选项
- 悬浮提示
-
其它:
- windows、Linux、Macos 构建和已经打包封装
- 批量的源文件转为 utf8-bom 脚本 convert_to_utf8_bom.py
- 多语言翻译脚本:create_update_ts2qm.bat
- 自定义制作安装包脚本,无需任何 admin 权限:setup_package.iss
- CMake (CMakeLists.txt) 转 Visual Studio 2022 (.sln) 解决方案的脚本:build.bat
- 提交 Git 常见忽略配置文件:.gitignore