On Sat, Mar 5, 2011 at 3:59 PM, Arno Rehn <span dir="ltr"><<a href="mailto:arno@arnorehn.de">arno@arnorehn.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Sunday 06 March 2011 00:54:17 Elliott Slaughter wrote:<br>
> On Sat, Mar 5, 2011 at 3:37 PM, Arno Rehn <<a href="mailto:arno@arnorehn.de">arno@arnorehn.de</a>> wrote:<br>
> > On Sunday 06 March 2011 00:29:15 Elliott Slaughter wrote:<br>
> > > On Sat, Mar 5, 2011 at 3:14 PM, Arno Rehn <<a href="mailto:arno@arnorehn.de">arno@arnorehn.de</a>> wrote:<br>
> > > > On Sunday 06 March 2011 00:03:36 Elliott Slaughter wrote:<br>
> > > > > On Sat, Mar 5, 2011 at 2:51 PM, Arno Rehn <<a href="mailto:arno@arnorehn.de">arno@arnorehn.de</a>> wrote:<br>
> > > > > > On Saturday 05 March 2011 22:46:43 Cyrus Harmon wrote:<br>
> > > > > > > is required to get past Elliott's latest bug. Now, I get<br>
> > > > > > > _almost_ to the end:<br>
> > > > > > ><br>
> > > > > > > [100%] Building CXX object<br>
> > > ><br>
> > > > phonon/CMakeFiles/smokephonon.dir/x_10.cpp.o<br>
> > > ><br>
> > > > > > > /Users/sly/src/kde/smokeqt/phonon/x_10.cpp: In static member<br>
> > > > > > > function ‘static void<br>
> > > > > > > __smokephonon::x_QGlobalSpace::x_1(Smoke::StackItem*)’:<br>
> > > ><br>
> > > > > > > /Users/sly/src/kde/smokeqt/phonon/x_10.cpp:18: error:<br>
> > > > ‘Q_COMPLEX_TYPE’<br>
> > > ><br>
> > > > > > was<br>
> > > > > ><br>
> > > > > > > not declared in this scope<br>
> > > ><br>
> > > > /Users/sly/src/kde/smokeqt/phonon/x_10.cpp:<br>
> > > > > > > In static member function ‘static void<br>
> > > > > > > __smokephonon::x_QGlobalSpace::x_2(Smoke::StackItem*)’:<br>
> > > > > > > /Users/sly/src/kde/smokeqt/phonon/x_10.cpp:21: error:<br>
> > > > > > > ‘Q_PRIMITIVE_TYPE’ was not declared in this scope ...<br>
> > > > > ><br>
> > > > > > Does this only happen with phonon? These constants are all<br>
> > > > > > unconditionally declared in qglobal.h, so this shouldn't happen.<br>
> ><br>
> > Can<br>
> ><br>
> > > > you<br>
> > > ><br>
> > > > > > post the complete error message?<br>
> > > > ><br>
> > > > > Thanks for pushing :-).<br>
> > > > ><br>
> > > > > I can duplicate this error. It's long so I put it in a paste.<br>
> > > > ><br>
> > > > > Error: <a href="http://pastebin.com/spA85f1F" target="_blank">http://pastebin.com/spA85f1F</a><br>
> > > > > x_10.cpp: <a href="http://pastebin.com/sDaXpTjk" target="_blank">http://pastebin.com/sDaXpTjk</a><br>
> > > ><br>
> > > > Right, I think this should be fixed now.<br>
> > ><br>
> > > I'm still getting the same error. New pastes are attached (although<br>
> > > they look the same to me as the originals).<br>
> > ><br>
> > > Error: <a href="http://pastebin.com/MCZD1fQp" target="_blank">http://pastebin.com/MCZD1fQp</a><br>
> > > x_10.cpp: <a href="http://pastebin.com/bSPNuZUG" target="_blank">http://pastebin.com/bSPNuZUG</a><br>
> ><br>
> > Strange. Can you try adding #include <QtCore/qglobal.h> at the beginning<br>
> > and/or end of <src>/phonon/phonon_includes.h? Something's going really<br>
> > wrong<br>
> > here as it seems.<br>
><br>
> Somehow that didn't fix it. Here's the patch I used.<br>
><br>
> diff --git a/phonon/phonon_includes.h b/phonon/phonon_includes.h<br>
> index acf03d6..a3fe857 100644<br>
> --- a/phonon/phonon_includes.h<br>
> +++ b/phonon/phonon_includes.h<br>
> @@ -38,3 +38,4 @@<br>
>  #include <phonon/volumeslider.h><br>
><br>
>  #include <QtCore/qurl.h><br>
> +#include <QtCore/qglobal.h><br>
</div></div>That's fine. I didn't really expect it to be fixed by this... try to build<br>
with 'make VERBOSE=1' and post the output. I'm really interested in what it's<br>
doing there..<font color="#888888"><br></font></blockquote><div><br></div><div>Here you go: <a href="http://pastebin.com/xzpspSCn">http://pastebin.com/xzpspSCn</a></div><div><br></div><div>I think you're most interested in the part starting at line 698.</div>
<div><br></div><div>By the way, I did a git checkout HEAD phonon/phonon_includes.h before doing this, so this is without the qglobal include.</div><meta charset="utf-8"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888">
--<br>
</font><div><div></div><div class="h5">Arno Rehn<br>
<a href="mailto:arno@arnorehn.de">arno@arnorehn.de</a><br>
_______________________________________________<br>
Kde-bindings mailing list<br>
<a href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-bindings" target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>