From: Martin DeMello Date: 2010-09-23T18:16:22+09:00 Subject: Re: QT works! On Wed, Sep 22, 2010 at 1:19 AM, Martin DeMello wrote: > > Seconded. Excellent work, Ryan. Will see if I can get it running on > the N900 too. I got this working on the N900 as follows: 1. Install kaspernj's optified ruby packages from here: http://talk.maemo.org/showthread.php?t=39797 2. Compile the qtbindings gem on the scratchbox apt-get install cmake apt-get install libqt4-dev gem install rake gem install qtbindings cd /opt/ruby/lib/ruby/gems/1.8/gems/qtbindings-4.6.3.0/ rake gemnative 3. Copy the generated qtbindings-4.6.3.0-arm-linux.gem to the N900 and install 4. Add /opt/ruby/lib/ruby/gems/1.8/gems/qtbindings-4.6.3.0-arm-linux/lib/1.8 to /etc/ld.so.conf and run ldconfig Most of the examples work, though the desktop qt widgets aren't too usable (does smoke generate qtmobility bindings too?). One oddity I noted was that the gem copies rather than symlinking libraries, e.g. $ ls -al .rvm/rubies/ruby-1.9.2-p0/lib/ruby/gems/1.9/gems/qtbindings-4.6.3.0/lib/1.9/ ... -rwxr-xr-x 1 martin martin 958109 2010-09-23 14:16 libsmokeqtuitools.so -rwxr-xr-x 1 martin martin 958109 2010-09-23 14:16 libsmokeqtuitools.so.3 -rwxr-xr-x 1 martin martin 958109 2010-09-23 14:16 libsmokeqtuitools.so.3.0.0 martin