20241229

相机 callback 和 多线程

20250105

vlc-qt 播放 udp 没声音

20250206

vcpkg 编译 Qt6 WebEngine

image-20250206002048735

20250210

x

20250224

git clone https://github.com/microsoft/vcpkg.git

vcpkg install gdal --triplet=x64-mingw-dynamic

20250227

多余的断开的网络驱动器,无法删除

20250304

pyinstaller --hidden-import openpyxl.cell._writer main.py

20250410

"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="C:\chrome_dev"

20250427

20250512

编译 webengine 带 codec

win11 sdk version 10.0.22621.0

14.42.34438.0

Visual Studio Community 2022 17.13.6

用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.43.34810 版

20250517

安装vs2022时 vcredist报错,通过控制面板无法清除干净原有的 vcredist2015-2019

使用工具 Windows Installer Cleanup Utility

20250614

目的 解决windows下 可预览svg图标.

方案 如果需要在 Windows 的资源管理器中预览 SVG 图标,就像预览 JPG、PNG 等图片一样方便。

下载svg扩展

https://github.com/tibold/svg-explorer-extension/releases https://download.cnet.com/svg-explorer-extension/3000-2248_4-78237543.html

打开cmd窗口, 清空数据

20250705

你正在配置 Qt 程序的 manifest 和资源文件,使 app.exe管理员权限运行(requireAdministrator),流程基本是这样的:


✅ 步骤汇总:

  1. 创建 app.exe.manifest 文件 内容如下(用于申请管理员权限):

  2. 创建 res.rc 文件 内容如下(把 manifest 包含到资源中):

  3. .pro 文件中添加资源定义


✅ 编译完成后效果

这样编译出来的 .exe 在运行时会自动弹出“以管理员身份运行”提示(UAC)。


✅ 检查点

.\bin\binarycreator --offline-only -t .\bin\installerbase -c .\config\config.xml -p .\packages MiniStarCut