On Sat, Mar 5, 2011 at 3:37 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: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 _almost_<br>
> > > > > 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. 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 they<br>
> 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>
</div></div>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 wrong<br>
here as it seems.<font color="#888888"><br></font></blockquote><div><br></div><div>Somehow that didn't fix it. Here's the patch I used.</div><div><br></div><div><div>diff --git a/phonon/phonon_includes.h b/phonon/phonon_includes.h</div>
<div>index acf03d6..a3fe857 100644</div><div>--- a/phonon/phonon_includes.h</div><div>+++ b/phonon/phonon_includes.h</div><div>@@ -38,3 +38,4 @@</div><div> #include <phonon/volumeslider.h></div><div> </div><div> #include <QtCore/qurl.h></div>
<div>+#include <QtCore/qglobal.h></div></div><div><br></div><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>