<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 12, 2016 at 12:57 AM, Ralf Habacker <span dir="ltr"><<a href="mailto:ralf.habacker@freenet.de" target="_blank">ralf.habacker@freenet.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span class="">
    <div>Am 11.09.2016 um 17:29 schrieb Shawn
      McKenney:<br>
    </div>
    </span><blockquote type="cite">
      <div dir="ltr"><span class="">Hello all -
        <div><br>
        </div>
        <div>I have just installed KDE neon and would like to join the
          development community. I am trying to build umbrello master:</div>
        </span><span class=""><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">^</span><span style="color:rgb(0,0,0)">
          </span><br>
          <span style="font-weight:bold;color:rgb(0,0,0)">/home/mckenney/kde/umbrello-<wbr>build/umbrello/../../umbrello/<wbr>umbrello/models/objectsmodel.<wbr>h:20:1:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">redefinition of ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">struct
            QMetaTypeId<UMLObject*></span><span style="color:rgb(0,0,0)">’
          </span><br>
          <span style="font-weight:bold;color:rgb(0,0,0)">/usr/include/x86_64-linux-gnu/<wbr>qt5/QtCore/qmetatype.h:1596:8:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">previous definition of ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">struct
            QMetaTypeId<UMLObject*></span><span style="color:rgb(0,0,0)">’
          </span><br>
          struct QMetaTypeId : public QMetaTypeIdQObject<T>
          <br>
        </span></span></div>
    </blockquote>
    Thanks for pointing this out. The issue has been fixed in git master
    with commit  <a href="http://commits.kde.org/umbrello/e1553eb3d71d28c1afd87d074330601e9f781144" target="_blank">http://commits.kde.org/<wbr>umbrello/<wbr>e1553eb3d71d28c1afd87d07433060<wbr>1e9f781144</a>
    <blockquote type="cite">
      <div dir="ltr"><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">        ^</span><span style="color:rgb(0,0,0)">
          </span></span>
        <div>
          <div style="font-family:monospace"><br>
          </div>
          <div><span style="color:rgb(0,0,0)"><font face="arial,
                helvetica, sans-serif">I am definitely a rookie at
                building any KDE software, but I have a bit of Qt anda
                lot of C++ background. If you would like some help, I'd
                be more than happy to jump in.</font></span></div>
        </div>
      </div>
    </blockquote>
    <font face="arial, helvetica, sans-serif">Nice to hear you like to
      contribute to umbrello :-)</font><span class=""><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div><span style="color:rgb(0,0,0)"><font face="arial,
                helvetica, sans-serif"> Just point me in the right
                direction.</font></span></div>
        </div>
      </div>
    </blockquote></span>
    Not sure if you have knowledge or interest on working with ast
    parsers: If so there is a outstanding request to extend c++ import
    with c++11 support at <font face="arial, helvetica, sans-serif"><a href="https://bugs.kde.org/show_bug.cgi?id=338649" target="_blank">https://bugs.kde.org/show_bug.<wbr>cgi?id=338649</a>.
    </font>Parser testcases has been added recently
    <a href="https://quickgit.kde.org/?p=umbrello.git&a=commit&h=13a513d629e86e8cc98d750f1d9e5741bbc8791a" target="_blank">https://quickgit.kde.org/?p=<wbr>umbrello.git&a=commit&h=<wbr>13a513d629e86e8cc98d750f1d9e57<wbr>41bbc8791a</a>.
    <br>
    <br></div></blockquote><div><br></div><div>This looks like a good spot to start. It looks like a lot of work has gone into the current cppparser. Any plans on using clang? At a glance, the code generators and importers seem to have been abstracted pretty well. I would certainly be interesting in helping to add a clang-based AST generator (and perhaps code generator).</div><div><br></div><div>Regards,</div><div>Shawn</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    Quick importing files could be performed with umbrello in two ways:
    <br>
    1. Using gui on linux<br>
    1.1 start umbrello from command line<br>
    1.2 open debug window if not already open (right click on the right
    side of the menu 'help' entry)<br>
    1.3 enable 'cppparser' <br>
    1.4 right click entry "Logical view" in the tree view and select
    "import file(s)..." <br>
    umbrello should print several c++ import related debug messages on
    stderr <br>
    <br>
    2. Using command line<br>
    2.1 run umbrello with command line parameter --import-files  e.g.
    umbrello --import-files
    <source-root>/test/import/cxx/<wbr>cxx11-alternative-function-<wbr>syntax.h
    <br>
    2. 2 c++ parser related debug messages are disabled by default. To
    increase c++ parser debug level by default you may rename all
    occurrences of DEBUG_REGISTER_DISABLED in umbrello source subdir
    lib/cppparser/ with DEBUG_REGISTER and recompile.<br>
    <br>
    Regards<span class="HOEnZb"><font color="#888888"><br>
     Ralf <br>
    <br>
  </font></span></div>

</blockquote></div><br><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Shawn McKenney<div>President, Emmion</div><div>858 254 5468</div></div></div>
</div></div>