4.6.2<div><br></div><div><a href="http://pastebin.com/51APs6Qi">http://pastebin.com/51APs6Qi</a><br><br></div><div>-Adam</div><div><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 10:33 AM, Arno Rehn <span dir="ltr"><<a href="mailto:arno@arnorehn.de">arno@arnorehn.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Which version of Qt is that? And can you paste that file somewhere?<br>
<div><div></div><div class="h5"><br>
On Tuesday 22 February 2011 16:25:02 Adam Higuera wrote:<br>
> In my header, line 173 is<br>
><br>
> friend class QCoreXmlStreamWriter;<br>
><br>
> it's inside a declartion of<br>
><br>
> class Q_CORE_EXPORT QtTextEncoder<br>
><br>
> -Adam<br>
><br>
> On Tue, Feb 22, 2011 at 9:59 AM, Arno Rehn <<a href="mailto:arno@arnorehn.de">arno@arnorehn.de</a>> wrote:<br>
> > Well this is certainly strange. The compiler already fails on Qt's own<br>
> > header.<br>
> > The generated smokedata.cpp is also wrong, but that might just be a side-<br>
> > effect. What's in qtextcodec.h at line 173? In my version of the file<br>
> > there's<br>
> > no mention of QCoreXmlStreamWriter whatsoever.<br>
> ><br>
> > On Sunday 20 February 2011 18:50:16 Adam Higuera wrote:<br>
> > > I've tried a few pastebins, and they all bork because the file is too<br>
> > > large, so I put it on rapidshare.<br>
> > ><br>
> > > <a href="http://rapidshare.com/files/448973107/smokedata.cpp" target="_blank">http://rapidshare.com/files/448973107/smokedata.cpp</a><br>
> > ><br>
> > > -Adam<br>
> > ><br>
> > > On Sun, Feb 20, 2011 at 12:27 PM, Arno Rehn <<a href="mailto:arno@arnorehn.de">arno@arnorehn.de</a>> wrote:<br>
> > > > On Sunday 20 February 2011 17:27:50 Adam Higuera wrote:<br>
> > > > > Got this error trying to build smokeqt<br>
> > > > ><br>
> > > > > Scanning dependencies of target smokeqtcore<br>
> > > > > [  2%] Building CXX object<br>
> > > > > qtcore/CMakeFiles/smokeqtcore.dir/smokedata.cpp.o<br>
> ><br>
> > > > > /Library/Frameworks/QtCore.framework/Headers/qtextcodec.h:173:<br>
> > warning:<br>
> > > > > ‘QCoreXmlStreamWriter’ is already a friend of ‘QTextEncoder’<br>
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp: In function ‘void*<br>
> > > > > __smokeqtcore::cast(void*, short int, short int)’:<br>
> > > ><br>
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:12: error:<br>
> > > > ‘ExtensionOption’<br>
> > > ><br>
> > > > > was not declared in this scope<br>
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:12: error: expected<br>
> > > > > primary-expression before ‘void’<br>
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:12: error: expected<br>
> ><br>
> > `)'<br>
> ><br>
> > > > > before ‘void’<br>
> > > ><br>
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:17: error:<br>
> > > > ‘ExtensionReturn’<br>
> > > ><br>
> > > > > was not declared in this scope<br>
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:17: error: expected<br>
> > > > > primary-expression before ‘void’<br>
> > > > > /Users/adamvh/kdebindings/qtcore/smokedata.cpp:17: error: expected<br>
> ><br>
> > `)'<br>
> ><br>
> > > > > before ‘void’<br>
> > > > > make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/smokedata.cpp.o]<br>
> ><br>
> > Error<br>
> ><br>
> > > > > 1 make[1]: *** [qtcore/CMakeFiles/smokeqtcore.dir/all] Error 2<br>
> > > > > make: *** [all] Error 2<br>
> > > ><br>
> > > > Can you nopaste smokedata.cpp somewhere?<br>
> > > ><br>
> > > > --<br>
> > > > 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>
> ><br>
> > --<br>
> > 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>
<br>
</div></div>--<br>
<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></div>