<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Am 11.09.2016 um 17:29 schrieb Shawn
McKenney:<br>
</div>
<blockquote
cite="mid:CAMpDnK2_UfwVugk5GKLW7qkqPf8WTy3irQCmp9fEHg2O7uh2ow@mail.gmail.com"
type="cite">
<div dir="ltr">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 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-build/umbrello/../../umbrello/umbrello/models/objectsmodel.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/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></div>
</blockquote>
Thanks for pointing this out. The issue has been fixed in git master
with commit <a class="moz-txt-link-freetext"
href="http://commits.kde.org/umbrello/e1553eb3d71d28c1afd87d074330601e9f781144">http://commits.kde.org/umbrello/e1553eb3d71d28c1afd87d074330601e9f781144</a>
<blockquote
cite="mid:CAMpDnK2_UfwVugk5GKLW7qkqPf8WTy3irQCmp9fEHg2O7uh2ow@mail.gmail.com"
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><br>
<br>
<blockquote
cite="mid:CAMpDnK2_UfwVugk5GKLW7qkqPf8WTy3irQCmp9fEHg2O7uh2ow@mail.gmail.com"
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>
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 class="moz-txt-link-freetext" href="https://bugs.kde.org/show_bug.cgi?id=338649">https://bugs.kde.org/show_bug.cgi?id=338649</a>.
</font>Parser testcases has been added recently
<a class="moz-txt-link-freetext" href="https://quickgit.kde.org/?p=umbrello.git&a=commit&h=13a513d629e86e8cc98d750f1d9e5741bbc8791a">https://quickgit.kde.org/?p=umbrello.git&a=commit&h=13a513d629e86e8cc98d750f1d9e5741bbc8791a</a>.
<br>
<br>
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/cxx11-alternative-function-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<br>
Ralf <br>
<br>
</body>
</html>