<div dir="ltr">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.<br>
<br><div class="gmail_quote">On Tue, Aug 5, 2008 at 2:18 AM, Chris Burel <span dir="ltr"><<a href="mailto:chrisburel@gmail.com">chrisburel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">On Saturday 02 August 2008 01:57:21 Chris Burel wrote:<br>> I used the CMakeLists.txt.qtruby file to "build a Qt only version of<br>> QtRuby." Â But when I try to run the Hello World example included in the<br>

> readme, I get this:<br>><br>> qtruby4.so: libqtruby4shared.so: cannot open shared object file: No such<br>> file or directory - /usr/lib/ruby/1.8/i386-linux/qtruby4.so (LoadError)<br>> Â  Â  Â  Â  from /usr/lib/ruby/1.8/i386-linux/Qt.rb:1<br>

> Â  Â  Â  Â  from ./hello:3:in `require'<br>> Â  Â  Â  Â  from ./hello:3<br>><br>> I've also got a c++ program that links to libsmokeqt.so.2, and it doesn't<br>> run either:<br>> ./helloqt4: symbol lookup error: libsmokeqt.so.2: undefined symbol:<br>

> _ZN18QCommandLinkButton11qt_metacastEPKc<br>Make sure you do a 'make clean' and 'make' in your smoke/qt directory to <br>regenerate the bindings against your current headers. I have a <br>QCommandLinkButton class in my version of Qt 4.4 from the qt-copy sources in <br>

the KDE svn.<br><br>> There were no problems compiling. Â Is there something else I need to link<br>> to?<br>><br>> >ldd libsmokeqt.so.2<br>There were big changes to QtRuby for the KDE 4.1 release and in the current <br>

trunk (the 'modular smoke' changes). I haven't had time to try and build a Qt <br>only QtRuby release yet, and so I think you're on of the first to try it. We <br>will probably need to update the kdebindings/CMakeLists.txt file. Although <br>

KDE 4.1 has come out, I don't think QtRuby is quite ready for a new release <br>yet. But certainly debugging the Qt-only build is something worth doing.<br><br>-- Richard<br><br><br></div>
</blockquote></div><br></div>