<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Qt on Logic&#39;s Lab</title>
    <link>https://logmagic.top/tags/qt/</link>
    <description>Recent content in Qt on Logic&#39;s Lab</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-cn</language>
    <lastBuildDate>Tue, 12 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://logmagic.top/tags/qt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Qt6 安卓开发环境部署完全指南</title>
      <link>https://logmagic.top/posts/qt6-android-setup/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/posts/qt6-android-setup/</guid>
      <description>从零到 APK：在 Ubuntu 20.04 上搭建 Qt6 Android 交叉编译环境，覆盖 JDK、Android SDK/NDK、Qt6 for Android 安装，以及 CMake 配置、交叉编译、APK 打包全流程</description>
    </item>
    
    <item>
      <title>第1课：QStyle 体系基础 — 继承链、绘制机制与 QStyleOption</title>
      <link>https://logmagic.top/courses/custom-qstyle/01-qstyle-basics/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/custom-qstyle/01-qstyle-basics/</guid>
      <description>继承 QCommonStyle（非 QProxyStyle）、绘制三剑客、qstyleoption_cast、State 标志映射</description>
    </item>
    
    <item>
      <title>第2课：Theme 系统设计 — 颜色体系、JSON 序列化与热切换</title>
      <link>https://logmagic.top/courses/custom-qstyle/02-theme-system/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/custom-qstyle/02-theme-system/</guid>
      <description>深入解析 QStyle Theme 系统的四层颜色模型、JSON 序列化/反序列化方案与 ThemeManager 热切换机制</description>
    </item>
    
    <item>
      <title>第3课：polish / EventFilter — 样式生命周期与事件拦截</title>
      <link>https://logmagic.top/courses/custom-qstyle/03-polish-eventfilter/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/custom-qstyle/03-polish-eventfilter/</guid>
      <description>拆解 polish() 生命周期钩子与 EventFilter 事件拦截机制，覆盖 7 种 Filter 类型及完整代码示例</description>
    </item>
    
    <item>
      <title>第4课：绘制引擎核心 — drawPrimitive/drawControl 全景解剖</title>
      <link>https://logmagic.top/courses/custom-qstyle/04-drawing-engine/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/custom-qstyle/04-drawing-engine/</guid>
      <description>全面剖析 QStyle 三层绘制架构：drawPrimitive 最小单元、drawControl 复合控件、drawComplexControl 多子控件</description>
    </item>
    
    <item>
      <title>第5课：动画系统 — WidgetAnimationManager 与焦点动画</title>
      <link>https://logmagic.top/courses/custom-qstyle/05-animation/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/custom-qstyle/05-animation/</guid>
      <description>WidgetAnimationManager 三层动画架构、焦点指示动画、Switch 控件动画与 QEasingCurve 选择指南</description>
    </item>
    
    <item>
      <title>第6课：扩展与集成 — 自定义控件、SVG 图标与 Qt5/Qt6 双版本</title>
      <link>https://logmagic.top/courses/custom-qstyle/06-integration-qt5-qt6/</link>
      <pubDate>Mon, 11 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/custom-qstyle/06-integration-qt5-qt6/</guid>
      <description>自定义枚举扩展 QStyle 绘制、SVG 图标缓存与着色引擎、Qt5/Qt6 双版本编译兼容层完整方案</description>
    </item>
    
    <item>
      <title>Qt6 中的 OpenGL 编程 — 从 QOpenGLWidget 开始</title>
      <link>https://logmagic.top/posts/qt6-opengl-programming/</link>
      <pubDate>Sun, 10 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/posts/qt6-opengl-programming/</guid>
      <description>Qt6 的 OpenGL 模块和 Qt5 有微妙差别，这篇文章帮你避开最常见的坑</description>
    </item>
    
    <item>
      <title>第11章：成品打磨 — 性能剖析与跨平台发布</title>
      <link>https://logmagic.top/courses/voxel-engine/ch-11-release/</link>
      <pubDate>Sun, 10 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/voxel-engine/ch-11-release/</guid>
      <description>用 RenderDoc 找到瓶颈、用 windeployqt/AppImage 打包——让你的体素引擎跑在别人电脑上</description>
    </item>
    
    <item>
      <title>QStyle 内核解剖：从像素到框架的深度之旅</title>
      <link>https://logmagic.top/posts/qstyle-internals/</link>
      <pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/posts/qstyle-internals/</guid>
      <description>为什么你应该关心 QStyle 的内部机制 大多数 Qt 开发者对 QStyle 的认知停留在 QApplication::setStyle(&amp;quot;Fusion&amp;quot;) 或者换个主题色。但如果你正在做以下任何一件事，理解 QStyle 内核就不是&amp;quot;加分项</description>
    </item>
    
    <item>
      <title>QStyle 枚举值完全参考手册：PixelMetric、StyleHint 与全部绘制元素</title>
      <link>https://logmagic.top/posts/qstyle-enums-reference/</link>
      <pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/posts/qstyle-enums-reference/</guid>
      <description>前言 上一篇文章我们剖析了 QStyle 的内核架构。这篇文章是它的「字典」——把 QStyle 中定义的每一个枚举值列出来，给出中文说明、实际使用场景和代码示例。你可以</description>
    </item>
    
    <item>
      <title>Qt Style Sheets 与 QStyle：两种外观系统的关系、冲突与共存之道</title>
      <link>https://logmagic.top/posts/qss-vs-qstyle/</link>
      <pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/posts/qss-vs-qstyle/</guid>
      <description>为什么你需要搞懂这两者的关系 几乎所有 Qt 开发者都经历过这个困惑时刻： &amp;ldquo;我用 setStyleSheet 给按钮改了个颜色，为什么之前自定义 QStyle 的圆角效果全没了？</description>
    </item>
    
    <item>
      <title>Qt 渲染管线底层剖析：QPainter vs OpenGL vs QML 场景图</title>
      <link>https://logmagic.top/posts/qt-rendering-pipeline/</link>
      <pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/posts/qt-rendering-pipeline/</guid>
      <description>前言 上一篇文章讲到 QSS 在每次重绘时都要走 CSS 解析和盒模型计算，而 QStyle 直接用 C++ 计算。这只是冰山一角——Qt 的渲染管线远比&amp;quot;画出来&amp;quot</description>
    </item>
    
    <item>
      <title>第8章：高级建造 — 专属 Qt 编辑器</title>
      <link>https://logmagic.top/courses/voxel-engine/ch-08-qt-editor/</link>
      <pubDate>Sat, 02 May 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/voxel-engine/ch-08-qt-editor/</guid>
      <description>用 QSS 自绘做出体素风格的方块选择轮，把编辑器 UI 优雅地嵌入 3D 视口之上</description>
    </item>
    
    <item>
      <title>第4章：无限世界的幻觉 — Chunk 动态加载卸载</title>
      <link>https://logmagic.top/courses/voxel-engine/ch-04-chunk-loading/</link>
      <pubDate>Fri, 24 Apr 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/voxel-engine/ch-04-chunk-loading/</guid>
      <description>一个 256×256 的地面要装 65536 个 Chunk，全加载内存直接爆炸。多线程按需加载，只渲染玩家周围一圈</description>
    </item>
    
    <item>
      <title>第1章：启程 — Qt &#43; OpenGL 渲染基石</title>
      <link>https://logmagic.top/courses/voxel-engine/ch-01-opengl-foundation/</link>
      <pubDate>Sat, 18 Apr 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/voxel-engine/ch-01-opengl-foundation/</guid>
      <description>初始化 OpenGL 谁都会写，但主循环怎么设计、渲染接口怎么抽象，才是拉开差距的地方</description>
    </item>
    
    <item>
      <title>第0章：启程之前 — 工程化地基</title>
      <link>https://logmagic.top/courses/voxel-engine/ch-00-foundation/</link>
      <pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate>
      
      <guid>https://logmagic.top/courses/voxel-engine/ch-00-foundation/</guid>
      <description>CMake 一键构建、架构全景图、编码规范 — 三件事做完再写第一行渲染代码</description>
    </item>
    
  </channel>
</rss>
