Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can I make a navigation bar in QDoc

How can I make a navigation bar in QDoc

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 147 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.
  • Y Offline
    Y Offline
    ynakane
    wrote on last edited by
    #1

    Hi.

    I am using QDoc to create documentation.
    I was creating a qdocconf file following the Qt reference.
    But I noticed something strange.
    Even though I specified a navigation variable, the part of navigation of HTML was generated in list style instead of bar style.
    In the Qt reference, it is a bar style as shown below.
    f08b3497-e14b-45e2-a399-765d6e009bd6-image.png

    What do I need to do to make it look like this?
    Attached is a simplified qdocconf file and its HTML output.

    test.qdocconf

    project = TestPrj
    description = TestPrj Reference Documentation
    version = 0.1
    
    headers.fileextensions  = "*.h"
    sources.fileextensions  = "*.cpp *.qml *.qdoc"
    
    outputdir   = ./doc/
    outputformats = HTML
    
    headerdirs  = .
    sourcedirs  = .
    exampledirs = .
    imagedirs   = ./images
    
    navigation.landingpage    = "TestPrj"
    navigation.cppclassespage = "All C++ Classes"
    navigation.qmltypespage   = "All QML Types"
    

    navigation part of HTML
    29071fd0-a317-4860-a179-6f7ed886a086-image.png

    Thanks for your help.

    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