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?
QtWS25 Last Chance

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 829 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
    kaisbe
    wrote on 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
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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
      1
      • K Offline
        K Offline
        kaisbe
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • mrjjM mrjj

          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 last edited by
          #4

          @mrjj Thanks for your response.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on 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
            1
            • mrjjM mrjj

              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 last edited by kaisbe
              #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

              • Login

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