Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. chm2qch: Converter CHM -> QCH

chm2qch: Converter CHM -> QCH

Scheduled Pinned Locked Moved Showcase
2 Posts 2 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mtrch
    wrote on last edited by
    #1

    I've created a simple utility for converting Windows CHM files to Qt Help format. It extract CHM contents, creates Qt Help project file (.qhp) with TOC & keywords and runs qhelpgenerator.
    https://bitbucket.org/mitrich_k/chm2qch

    Installing:
    Build it..

    qmake chm2qch.pro
    make
    

    ...or download Win32 build (can be outdated)

    Running:

    chm2qch [options] helpfile.chm
    
    Option Description
    -?, -h, --help Displays help.
    -g, --generate Run qhelpgenerator to produce QCH file
    -c, --clean Delete intermediate files (*.htm, *.gif, etc.) - use with -g
    -r, --no-root Do not write root contents section
    -q, --quiet Quiet mode. Do not write any messages to stdout
    -n, --namespace <name> Set documentation namespace to <name>
    -d, --directory <dir> Set output directory to <dir>

    Example:

    chm2qch sapi.chm -n=com.microsoft.sapi.51 -g -c
    
    1 Reply Last reply
    3
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Thanks for sharing ! :)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved