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. Qt Modeling - Is it possible to generate source code and documentation from model?
Forum Updated to NodeBB v4.3 + New Features

Qt Modeling - Is it possible to generate source code and documentation from model?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 869 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.
  • K Offline
    K Offline
    kaisbe
    wrote on 4 Aug 2019, 14:40 last edited by
    #1

    Hi,

    I have recently discovered an interesting feature of Qt which is about modeling the software architecture in UML.

    This is very nice, but I'm still not sure if there is an option for C++ code generation, as well as a support for generating documentation from model.

    Any ideas?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 4 Aug 2019, 20:32 last edited by
      #2

      Hi
      I assume you found
      https://doc.qt.io/qtcreator/creator-modeling.html
      As far as i know, it does not do doc or code generation.

      K 1 Reply Last reply 4 Aug 2019, 21:13
      1
      • K Offline
        K Offline
        kaisbe
        wrote on 4 Aug 2019, 21:13 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • M mrjj
          4 Aug 2019, 20:32

          Hi
          I assume you found
          https://doc.qt.io/qtcreator/creator-modeling.html
          As far as i know, it does not do doc or code generation.

          K Offline
          K Offline
          kaisbe
          wrote on 4 Aug 2019, 21:13 last edited by
          #4

          @mrjj Thanks for your response.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 4 Aug 2019, 21:29 last edited by
            #5

            Btw, just as a note.
            I use StarUML http://staruml.io/ +
            https://github.com/staruml/staruml-cpp
            for c++ generation. It's not perfect but allows prototyping from the model.

            K 1 Reply Last reply 4 Aug 2019, 22:16
            1
            • M mrjj
              4 Aug 2019, 21:29

              Btw, just as a note.
              I use StarUML http://staruml.io/ +
              https://github.com/staruml/staruml-cpp
              for c++ generation. It's not perfect but allows prototyping from the model.

              K Offline
              K Offline
              kaisbe
              wrote on 4 Aug 2019, 22:16 last edited by kaisbe 8 Apr 2019, 22:24
              #6

              @mrjj Thanks for the information. I was using it too, and yes it supports both generation of code and doc - But its C++ code generation feature is implemented via 3rd party plugin. I prefer Qt for modeling though, since I find it more integrated with my Qt development and also has better UX and performance.

              1 Reply Last reply
              1

              1/6

              4 Aug 2019, 14:40

              • Login

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