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. recent build/use of Doxygen plugin?
QtWS25 Last Chance

recent build/use of Doxygen plugin?

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 3 Posters 2.5k 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #3

    I haven't used the plugin yet, but I was hopeful that it would automate some of the comment formatting for doxygen.

    The plugin certainly isn't essential, but if it did what I thought it would do, it would be very convenient.

    1 Reply Last reply
    0
    • artwawA Offline
      artwawA Offline
      artwaw
      wrote on last edited by
      #4

      But QtCreator already does that to some extend?

      For more information please re-read.

      Kind Regards,
      Artur

      1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #5

        Hi
        Not sure what the plugin does.

        Creator can do tricks
        ( @artwaw beat me to it :)

        like
        ///(and press enter)
        class MainWindow : public QMainWindow {
        gives
        ///
        /// \brief The MainWindow class
        ///
        class MainWindow : public QMainWindow {
        
        and same with functions
        ///
        /// \brief PointSegmentDistanceSquared
        /// \param px
        /// \param py
        /// \param p1x
        /// \param p1y
        /// \param p2x
        /// \param p2y
        /// \param t
        /// \param qx
        /// \param qy
        /// \return 
        ///
        double PointSegmentDistanceSquared( double px, double py,
                                            double p1x, double p1y,
                                            double p2x, double p2y,
                                            double& t,
                                            double& qx, double& qy) {
        
        
        1 Reply Last reply
        2
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #6

          I don't get that behavior from Creator. Did you have to do something to enable it?

          mrjjM 1 Reply Last reply
          0
          • mzimmersM mzimmers

            I don't get that behavior from Creator. Did you have to do something to enable it?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #7

            @mzimmers
            Really?
            I know only of these
            alt text

            1 Reply Last reply
            1
            • mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by
              #8

              I have that option enabled, but it doesn't seem to do anything. Are you using C++? And you just type "///" ? Do you select any code first?

              mrjjM 1 Reply Last reply
              0
              • mzimmersM mzimmers

                I have that option enabled, but it doesn't seem to do anything. Are you using C++? And you just type "///" ? Do you select any code first?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by mrjj
                #9

                @mzimmers

                I place cursor on line directly above class or function
                i type /// (3 of them) and press enter

                and yes c++.

                1 Reply Last reply
                2
                • mzimmersM Offline
                  mzimmersM Offline
                  mzimmers
                  wrote on last edited by
                  #10

                  OK, I got it to work for me. So, is the /// \ a newer format than the /*! listed in the doxygen help?

                  mrjjM 1 Reply Last reply
                  0
                  • mzimmersM mzimmers

                    OK, I got it to work for me. So, is the /// \ a newer format than the /*! listed in the doxygen help?

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by mrjj
                    #11

                    @mzimmers
                    Not really. it is just one way.
                    you can also use
                    /**

                    (and enter) to get the other style.

                    /**
                       * @brief MainWindow
                       * @param parent
                       */
                      explicit MainWindow(QWidget* parent = 0);
                    

                    I assume there are even more :)

                    1 Reply Last reply
                    2
                    • mzimmersM Offline
                      mzimmersM Offline
                      mzimmers
                      wrote on last edited by
                      #12

                      Yay! Thanks...and yes there are more, at least this one: /!* (which supposedly is the Qt form).

                      So, once you get this in, do you just run doxygen separately?

                      mrjjM artwawA 2 Replies Last reply
                      0
                      • mzimmersM mzimmers

                        Yay! Thanks...and yes there are more, at least this one: /!* (which supposedly is the Qt form).

                        So, once you get this in, do you just run doxygen separately?

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by mrjj
                        #13

                        @mzimmers said in recent build/use of Doxygen plugin?:

                        So, once you get this in, do you just run doxygen separately?

                        Yes, i have .sh (bat) file to run it from the project folder.
                        I use a options file for it to specify settings.

                        1 Reply Last reply
                        0
                        • mzimmersM mzimmers

                          Yay! Thanks...and yes there are more, at least this one: /!* (which supposedly is the Qt form).

                          So, once you get this in, do you just run doxygen separately?

                          artwawA Offline
                          artwawA Offline
                          artwaw
                          wrote on last edited by
                          #14

                          @mzimmers I can confirm that this also works on Windows. I use standalone Doxygen, with dot, dia and all the stack.

                          For more information please re-read.

                          Kind Regards,
                          Artur

                          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