[Kde-bindings] temp

Chris Burel chrisburel at gmail.com
Tue Aug 5 09:23:38 UTC 2008


It turns out my problem was I hadn't compiled the QtWebKit module in my
build of Qt.  Once I compiled that and linked to it, everything worked out.
Perhaps a better check is in order?  But I don't really care about getting
it to work with Ruby, I'm just linking to libsmokeqt.so.2 to get PerlQt4 to
work.

On Tue, Aug 5, 2008 at 2:18 AM, Chris Burel <chrisburel at gmail.com> wrote:

> On Saturday 02 August 2008 01:57:21 Chris Burel wrote:
> > I used the CMakeLists.txt.qtruby file to "build a Qt only version of
> > QtRuby." Â But when I try to run the Hello World example included in the
> > readme, I get this:
> >
> > qtruby4.so: libqtruby4shared.so: cannot open shared object file: No such
> > file or directory - /usr/lib/ruby/1.8/i386-linux/qtruby4.so (LoadError)
> > Â  Â  Â  Â  from /usr/lib/ruby/1.8/i386-linux/Qt.rb:1
> > Â  Â  Â  Â  from ./hello:3:in `require'
> > Â  Â  Â  Â  from ./hello:3
> >
> > I've also got a c++ program that links to libsmokeqt.so.2, and it doesn't
> > run either:
> > ./helloqt4: symbol lookup error: libsmokeqt.so.2: undefined symbol:
> > _ZN18QCommandLinkButton11qt_metacastEPKc
> Make sure you do a 'make clean' and 'make' in your smoke/qt directory to
> regenerate the bindings against your current headers. I have a
> QCommandLinkButton class in my version of Qt 4.4 from the qt-copy sources
> in
> the KDE svn.
>
> > There were no problems compiling. Â Is there something else I need to
> link
> > to?
> >
> > >ldd libsmokeqt.so.2
> There were big changes to QtRuby for the KDE 4.1 release and in the current
>
> trunk (the 'modular smoke' changes). I haven't had time to try and build a
> Qt
> only QtRuby release yet, and so I think you're on of the first to try it.
> We
> will probably need to update the kdebindings/CMakeLists.txt file. Although
> KDE 4.1 has come out, I don't think QtRuby is quite ready for a new release
>
> yet. But certainly debugging the Qt-only build is something worth doing.
>
> -- Richard
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20080805/21f9cf73/attachment.html>


More information about the Kde-bindings mailing list