Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. List *.qch (Qt Compressed Help) files referenced by *.qhc (Qt Help Collection)

List *.qch (Qt Compressed Help) files referenced by *.qhc (Qt Help Collection)

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 770 Views
  • 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.
  • Graham_ICSG Offline
    Graham_ICSG Offline
    Graham_ICS
    wrote on last edited by
    #1

    Using Qt Assistant GUI I can see which documentation is registered to a given collection by going to Edit → Preferences... and selecting the Documentation tab. Hovering over the entries can show the *.qch file associated with the namespace (On Windows, doesn't seem to work on Linux).

    I'm looking for a way to list the full path of *.qch files associated with a collection on the command line, though I can't see a way this is possible with the assistant—ideally keeping to native tools, I'm aware it's possible to do this with sqlite3 like:

    $ sqlite3 ./CollectionFile.qhc "SELECT FilePath FROM NamespaceTable;"
    

    However I need a solution that works on Windows as well as Linux, and I can't guarantee sqlite3 will be available on Linux either.

    Can anyone help? Thanks.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You can write your own small tool using Qt's SQL module which has support for SQLite by default.

      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
      1
      • Graham_ICSG Offline
        Graham_ICSG Offline
        Graham_ICS
        wrote on last edited by
        #3

        So to be clear, you're not aware of any way it can be achieved with just the Qt tools themselves?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Indeed, I'm not aware of such an option (which doesn't mean it doesn't exists though).

          Modifying Assistant's code could be another option as in a new feature you could provide.

          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
          1

          • Login

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