<div dir="ltr"><div>Hi,</div><div><br></div><div>issue is there: <a href="https://invent.kde.org/graphics/kdiagram/-/blob/2.7/src/KChart/CMakeLists.txt#L126">https://invent.kde.org/graphics/kdiagram/-/blob/2.7/src/KChart/CMakeLists.txt#L126</a></div><div>
<code><span class="gmail-nf">qt5_wrap_cpp</span><span class="gmail-p">(</span>KChart kchart_LIB_SRCS KChartEnums.h<span class="gmail-p">)</span></code> should be <br></div><div>
<code><span class="gmail-nf">qt5_wrap_cpp</span><span class="gmail-p">(</span>kchart_LIB_SRCS KChartEnums.h<span class="gmail-p">)</span></code> <br></div><div><br></div><div>I'm fixing it.</div><div><br></div><div>Johnny</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 12 oct. 2020 à 16:32, Milian Wolff <<a href="mailto:mail@milianw.de">mail@milianw.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Montag, 12. Oktober 2020 14:04:06 CEST Dag wrote:<br>
> mandag den 12. oktober 2020 12.58.36 CEST skrev Dag:<br>
> > mandag den 12. oktober 2020 12.04.04 CEST skrev Milian Wolff:<br>
> >> On Montag, 12. Oktober 2020 11:28:45 CEST Ben Cooksley wrote:<br>
> >>> On Mon, Oct 12, 2020 at 10:24 PM Milian Wolff<br>
> >>> <<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a>> wrote: ...<br>
> >> <br>
> >> Thanks, but that's looking worse then I expected. I guess<br>
> >> backporting `35e86e964908ee906dde4f0678c16a838e4712dd` is worth<br>
> >> a shot.<br>
> >> <br>
> >> @Dag: what do you say, should that be safe enough to do?<br>
> > <br>
> > No, it will not apply cleanly. I'll do it.<br>
> <br>
> Done, but made no difference, still fails.<br>
> Also tried qt_wrap_cpp -> qt5_wrap_cpp w/o sucess.<br>
> <br>
> I'm clueless on windows and can't run any virtual on my machine.<br>
> <br>
> Afaics we have this situation, please comment if wrong:<br>
> - The windows build worked earlier, prior to move to invent.<br>
> - There has been no changes to the stable branch between the successful<br>
> build and the failed build.<br>
> - At the first failing build of stable (oct 6), the code that seems to<br>
> trigger the failure was the same in stable and unstable except for the<br>
> qt5_wrap_cpp.<br>
> - There has been some modernization of unstable, mostly Q_FOREACH() -><br>
> for()<br>
> <br>
> I'm at loss of even where to start to look, so I hope somebody can point a<br>
> finger in the right direction.<br>
<br>
Try to add a src/KChart/KChartEnums.cpp file - I actually wonder how this <br>
compiles at all on non-windows platforms :)<br>
<br>
Also add this line to the .h:<br>
<br>
```<br>
~KChartEnums();<br>
```<br>
<br>
and then this in the .cpp:<br>
<br>
```<br>
#include "KChartEnums.h"<br>
<br>
KChartEnums::~KChartEnums() = default;<br>
```<br>
<br>
This should ensure that moc knows where to put the include for the generated <br>
code (into KChartEnums.cpp).<br>
<br>
Cheers<br>
-- <br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a><br>
<a href="http://milianw.de" rel="noreferrer" target="_blank">http://milianw.de</a></blockquote></div>