[Kde-bindings] Building smoke for Mac OS X

Richard Dale richard.dale at telefonica.net
Fri Apr 9 09:28:26 UTC 2010


On Friday 09 April 2010 10:03:51 am Adam Higuera wrote:
> I actually figured it out - I was copying the CMakeLists.txt.php-qt text
> file over CMakeLists.txt in the kdebindings directory.
> 
> To make it build, I needed to add the line
> 
> add_subdirectory(generator)
> 
> to that file
> 
> I was able to successfully build the smoke libraries except for QtScript,
> QtUIToolkit, and any of the others after that.  The error messages, for the
> interested:
Yes, the smoke libs built for me, and I got this same error. But check in the 
generated .cpp files to see if there are any actual classes. For instance, each 
class in the Qt libs like QWidget should have a corresponding class called 
'x_QWidget' in the generated code.

> [ 97%] Generating smokedata.cpp, x_1.cpp
> using generator
> "/Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/generator/bi
> n/generator_smoke.so" parsing
> "/Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/smoke/qtscri
> pt/qtscript_includes.h" Generating SMOKE sources...
> preparing SMOKE data [qtscript]
> writing out smokedata.cpp [qtscript]
> missing type:  in method  QScriptContextInfo::operator<<(QDataStream&,
> const QScriptContextInfo&) (while writing out methods table)
> /bin/sh: line 1: 31713 Abort trap
>  /Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/generator/bi
> n/smokegen -config
> /Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/smoke/qtscrip
> t/config.xml -smokeconfig
> /Users/adamvh/Documents/Programming/Lisp/CommonQt/kdebindings/smoke/qtscrip
> t/smokeconfig.xml
> 
> > On Friday 09 April 2010 05:54:26 am Adam Higuera wrote:
> > > I'm on OS X and downloaded the latest SVN version of kdebindings in
> > > order to build smoke for Qt.  I'm not particularly interested in the
> > > rest of
> > 
> > the
> > 
> > > KDE bindings.
> > > 
> > > So far I have failed rather spectacularly, probably because I don't
> > 
> > really
> > 
> > > have any idea what I'm doing.
> > > 
> > > Does anyone have any pointers about building the smoke bindings for Qt
> > > on Mac OS X?
> > 
> > I did try build the smoke libs with Snow Leopard on my MacBook a few
> > weeks ago. I used the pre-built Cocoa framework based version of Qt 4.6
> > downloaded
> > from the Nokia site. It didn't work because the 'smokegen' tool wasn't
> > finding
> > the headers, and there were no classes in the smoke lib code it
> > generated. I'll try and investigate what is going wrong - it might be
> > quite easy to fix -
> > maybe smokegen isn't following symbolic links or something like that.
> > 
> > -- Richard
> > _______________________________________________
> > Kde-bindings mailing list
> > Kde-bindings at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-bindings



More information about the Kde-bindings mailing list