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. Cant get QDoc to work

Cant get QDoc to work

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 611 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.
  • G Offline
    G Offline
    GrahamLa
    wrote on last edited by
    #1

    I have set up a minimal qdoc config file

    include(C:\Qt\5.12.2\mingw73_64\doc\global\compat.qdocconf)
    outputdir = html
    headerdirs = ./
    sourcedirs = ./
    exampledirs = ./
    imagedirs

    I run this command

    c:\qt\5.12.2\mingw73_64\bin\qdoc.exe ./ProfileTest.qdocconf

    and an index is produced but putting this in a browser gives

    This XML file does not appear to have any style information associated with it. The document tree is shown below.

    This is the index file

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE QDOCINDEX>
    <INDEX url="" title="" version="" project="">
    <namespace threadsafety="unspecified" name="" status="active" access="public" documented="false"/>
    </INDEX>

    What am I doing wrong

    Thanks

    sierdzioS raven-worxR 2 Replies Last reply
    0
    • G GrahamLa

      I have set up a minimal qdoc config file

      include(C:\Qt\5.12.2\mingw73_64\doc\global\compat.qdocconf)
      outputdir = html
      headerdirs = ./
      sourcedirs = ./
      exampledirs = ./
      imagedirs

      I run this command

      c:\qt\5.12.2\mingw73_64\bin\qdoc.exe ./ProfileTest.qdocconf

      and an index is produced but putting this in a browser gives

      This XML file does not appear to have any style information associated with it. The document tree is shown below.

      This is the index file

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE QDOCINDEX>
      <INDEX url="" title="" version="" project="">
      <namespace threadsafety="unspecified" name="" status="active" access="public" documented="false"/>
      </INDEX>

      What am I doing wrong

      Thanks

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @GrahamLa said in Cant get QDoc to work:

      What am I doing wrong

      You're using qdoc, which is an internal Qt documentation tool - it does not guarantee any stability, API, etc.. Consider using doxygen instead.

      (Z(:^

      1 Reply Last reply
      0
      • G GrahamLa

        I have set up a minimal qdoc config file

        include(C:\Qt\5.12.2\mingw73_64\doc\global\compat.qdocconf)
        outputdir = html
        headerdirs = ./
        sourcedirs = ./
        exampledirs = ./
        imagedirs

        I run this command

        c:\qt\5.12.2\mingw73_64\bin\qdoc.exe ./ProfileTest.qdocconf

        and an index is produced but putting this in a browser gives

        This XML file does not appear to have any style information associated with it. The document tree is shown below.

        This is the index file

        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE QDOCINDEX>
        <INDEX url="" title="" version="" project="">
        <namespace threadsafety="unspecified" name="" status="active" access="public" documented="false"/>
        </INDEX>

        What am I doing wrong

        Thanks

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by raven-worx
        #3

        @GrahamLa
        backslash is considered as escape character, try using a slash instead.
        Also your imagedirs variable is incomplete
        also see this

        Maybe you also want to include the online or offline template:

        include($QTDIR/doc/global/qt-html-templates-offline.qdocconf)
        # or
        include($QTDIR/doc/global/qt-html-templates-online.qdocconf)
        

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        2

        • Login

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