I see.  Yes, they are missing in my x_*.cpp files as well.<div>Guess that explains the quick build.</div><div><br></div><div>Thanks,</div><div>Adam<br><br><div class="gmail_quote">On Fri, Apr 9, 2010 at 5:28 AM, Richard Dale <span dir="ltr"><<a href="mailto:richard.dale@telefonica.net">richard.dale@telefonica.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Friday 09 April 2010 10:03:51 am Adam Higuera wrote:<br>
> I actually figured it out - I was copying the CMakeLists.txt.php-qt text<br>
> file over CMakeLists.txt in the kdebindings directory.<br>
><br>
> To make it build, I needed to add the line<br>
><br>
> add_subdirectory(generator)<br>
><br>
> to that file<br>
><br>
> I was able to successfully build the smoke libraries except for QtScript,<br>
> QtUIToolkit, and any of the others after that.  The error messages, for the<br>
> interested:<br>
</div>Yes, the smoke libs built for me, and I got this same error. But check in the<br>
generated .cpp files to see if there are any actual classes. For instance, each<br>
class in the Qt libs like QWidget should have a corresponding class called<br>
'x_QWidget' in the generated code.<br>
<div class="im"><br>
> [ 97%] Generating smokedata.cpp, x_1.cpp<br>
> using generator<br>
> "/Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/generator/bi<br>
> n/generator_smoke.so" parsing<br>
> "/Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/smoke/qtscri<br>
> pt/qtscript_includes.h" Generating SMOKE sources...<br>
> preparing SMOKE data [qtscript]<br>
> writing out smokedata.cpp [qtscript]<br>
> missing type:  in method  QScriptContextInfo::operator<<(QDataStream&,<br>
> const QScriptContextInfo&) (while writing out methods table)<br>
> /bin/sh: line 1: 31713 Abort trap<br>
>  /Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/generator/bi<br>
> n/smokegen -config<br>
> /Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/smoke/qtscrip<br>
> t/config.xml -smokeconfig<br>
> /Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/smoke/qtscrip<br>
> t/smokeconfig.xml<br>
><br>
</div><div><div></div><div class="h5">> > On Friday 09 April 2010 05:54:26 am Adam Higuera wrote:<br>
> > > I'm on OS X and downloaded the latest SVN version of kdebindings in<br>
> > > order to build smoke for Qt.  I'm not particularly interested in the<br>
> > > rest of<br>
> ><br>
> > the<br>
> ><br>
> > > KDE bindings.<br>
> > ><br>
> > > So far I have failed rather spectacularly, probably because I don't<br>
> ><br>
> > really<br>
> ><br>
> > > have any idea what I'm doing.<br>
> > ><br>
> > > Does anyone have any pointers about building the smoke bindings for Qt<br>
> > > on Mac OS X?<br>
> ><br>
> > I did try build the smoke libs with Snow Leopard on my MacBook a few<br>
> > weeks ago. I used the pre-built Cocoa framework based version of Qt 4.6<br>
> > downloaded<br>
> > from the Nokia site. It didn't work because the 'smokegen' tool wasn't<br>
> > finding<br>
> > the headers, and there were no classes in the smoke lib code it<br>
> > generated. I'll try and investigate what is going wrong - it might be<br>
> > quite easy to fix -<br>
> > maybe smokegen isn't following symbolic links or something like that.<br>
> ><br>
> > -- Richard<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>
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>