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. Qt Assistant always shows two TOCs
Forum Updated to NodeBB v4.3 + New Features

Qt Assistant always shows two TOCs

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 903 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.
  • B Offline
    B Offline
    bkacenas
    wrote on last edited by
    #1

    I have just started working with Qt Assistant for creating a help system for my applications. Everything seems to be working as advertised except that I always get two identical tables of contents instead of a single table like I should. I have included the .qhp file below. I removed the contents of the keywords and files section to reduce amount of text.

    @<?xml version="1.0" encoding="UTF-8"?>
    <QtHelpProject version="1.0">
    <namespace>printdir</namespace>
    <virtualFolder>doc</virtualFolder>
    <filterSection>
    <toc>
    <section title = "PrintDir - Diretory Listing Utility" ref = "index.html">
    <section title = "Menus" ref = "Menus.html">
    <section title = "Print/Save" ref = "PrintSave.html">
    <section title = "Print" ref = "Print.html"></section>
    <section title = "Print Preview" ref = "PrintPreview.html"></section>
    <section title = "Page Setup" ref = "PageSetup.html"></section>
    <section title = "Save As" ref = "SaveAs.html"></section>
    </section>

                    <section title = "Help" ref = "HelpMenu.html">
                        <section title = "What's This" ref = "WhatsThis.html"></section>
                    </section>
                </section>
    
                <section title = "Tool Bar" ref = "ToolBar.html">
                    <section title = "Print" ref = "Print.html"></section>
                    <section title = "Print Preview" ref = "PrintPreview.html"></section>
                    <section title = "Save As" ref = "SaveAs.html"></section>
                    <section title = "What's This" ref = "WhatsThis.html"></section>
                </section>
    
                <section title = "Controls" ref = "Controls.html">
                    <section title = "Directory Edit Box" ref = "DirectoryEdit.html"></section>
                    <section title = "Browse Pushbutton" ref = "Browse.html"></section>
                    <section title = "Include In Listing Group" ref = "IncludedIn.html"></section>
                    <section title = "Save Listing Group" ref = "SaveListing.html"></section>
                    <section title = "Print Pushbutton" ref = "Print.html"></section>
                    <section title = "Print Preview Pushbutton" ref = "PrintPreview.html"></section>
                </section>
    
                <section title = "Short Cuts" ref = "ShortCuts.html"></section>
            </section>
        </toc>
    
        <keywords>
        </keywords>
    
        <files>
        </files>
    </filterSection>
    

    </QtHelpProject>
    @

    As you can see, I have only one toc but two complete tables always appear in Qt Assistant.

    I would appreciate any thoughts you might have on this subject.

    Regards,

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It is quite possible that the table of contents is created automatically based on the actual contents. Not sure because I've not hand-crafted qhp files myself, always used a doc generator like qdoc or doxygen.

      (Z(:^

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bkacenas
        wrote on last edited by
        #3

        Thanks for the lead. I’ll look into that possibility.

        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