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. Running QDoc out of Qt's source tree

Running QDoc out of Qt's source tree

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qdoc
8 Posts 2 Posters 2.1k 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.
  • K Offline
    K Offline
    kshegunov
    Moderators
    wrote on 15 Jun 2016, 05:19 last edited by
    #1

    How can I run qdoc out of Qt's source? I can build the Qt docs fine, but somehow I can't get to configure the paths and includes (e.g. compat.qdocconf) in a reasonable way. The only thing I could think of is to hardcode the paths, which is iffy at best.

    The qdoc manual treats syntax and configuration files extensively, but covers next to nothing on how to use the tool.

    Read and abide by the Qt Code of Conduct

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 15 Jun 2016, 22:34 last edited by
      #2

      Hi,

      Do you need this for a custom Qt module or for a classic project ?

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

      K 1 Reply Last reply 15 Jun 2016, 23:33
      0
      • S SGaist
        15 Jun 2016, 22:34

        Hi,

        Do you need this for a custom Qt module or for a classic project ?

        K Offline
        K Offline
        kshegunov
        Moderators
        wrote on 15 Jun 2016, 23:33 last edited by
        #3

        @SGaist
        A classic project; it's for my daemon library. If qdoc can't be used that way, I could switch to doxygen, but I wanted to give it a try first.

        Read and abide by the Qt Code of Conduct

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 16 Jun 2016, 21:09 last edited by
          #4

          Would you like that library to be usable like a Qt module ?

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

          K 1 Reply Last reply 17 Jun 2016, 21:53
          0
          • S SGaist
            16 Jun 2016, 21:09

            Would you like that library to be usable like a Qt module ?

            K Offline
            K Offline
            kshegunov
            Moderators
            wrote on 17 Jun 2016, 21:53 last edited by
            #5

            @SGaist
            Hi,

            What's the difference between a Qt module and plain ol' dynamic library?
            If you're asking if I'm interfacing against the private API, then no, I'm not. It's a standalone library.

            Read and abide by the Qt Code of Conduct

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 17 Jun 2016, 21:59 last edited by
              #6

              With a Qt module you can do something like

              QT += daemon
              

              like you would for e.g the Qt serial port module.

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

              K 1 Reply Last reply 18 Jun 2016, 03:09
              0
              • S SGaist
                17 Jun 2016, 21:59

                With a Qt module you can do something like

                QT += daemon
                

                like you would for e.g the Qt serial port module.

                K Offline
                K Offline
                kshegunov
                Moderators
                wrote on 18 Jun 2016, 03:09 last edited by
                #7

                @SGaist
                No, I don't intend to do that, at least not at this stage. For now it's a simple library that you link and include by yourself.

                Read and abide by the Qt Code of Conduct

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 7 Aug 2016, 19:53 last edited by
                  #8

                  The technique was to use a qdoc configuration file and load the appropriate Qt features.

                  In the end, the library was converted to a Qt module.

                  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