zoukankan      html  css  js  c++  java
  • Qt assistant .qch显示乱码问题

    一、.qhp文档里xml 编码格式

      1、UTF-8, qhelpgenerator生成qch文档会报错。

            2、ISO-8859-1, 在Qt assistant里面看起来全是乱码

      3、GB2312,在Qt assistant里面,目录正确显示,详情乱码

    二、 html文档里的格式

      

    <?xml version="1.0" encoding="GB2312"?>
    <QtHelpProject version="1.0">
      <namespace>romtekAssistantOrange.myHelp</namespace>
        <virtualFolder>doc</virtualFolder>
        <filterSection>
          <toc>
            <section title="Orange 帮助系统" ref = "index.html">
              <section title = "1.引言" ref = "1.引言.html"></section>
              <section title = "2.软件概述" ref = "2.软件概述.html"></section>
              <section title = "3.运行环境与安装" ref = "3.运行环境与安装.html"></section>
              <section title = "4.软件工程介绍" ref = "4.软件工程介绍.html"></section>
              <section title = "加入我们" ref = "joinUs.html"></section>
          </section>
        </toc>
        <keywords>
          <keyword name = "1.引言" ref = "1.引言.html"/>
          <keyword name = "2.软件概述" ref = "2.软件概述.html"/>
          <keyword name = "3.运行环境与安装" ref = "3.运行环境与安装.html"/>
          <keyword name = "4.软件工程介绍" ref = "4.软件工程介绍.html"/>
          <keyword name = "加入我们" ref = "joinUs.html"/>
        </keywords>
        <files>
           <file>index.html</file>
           <file>1.引言.html</file>
            <file>2.软件概述.html</file>
           <file>3.运行环境与安装.html</file>
           <file>4.软件工程介绍.html</file>
          <file>joinUs.html</file>
          <file>images/*.png</file>
        </files>
      </filterSection>
    </QtHelpProject>

  • 相关阅读:
    使用SpringAOP
    Alpha 冲刺 (5/10)
    Alpha 冲刺 (4/10)
    Alpha 冲刺 (3/10)
    Alpha 冲刺 (2/10)
    Alpha 冲刺 (1/10)
    项目需求分析答辩总结
    项目UML设计(团队)
    项目选题报告答辩总结
    第七次作业--项目需求分析
  • 原文地址:https://www.cnblogs.com/azbane/p/12326525.html
Copyright © 2011-2022 走看看