I am going through each of the Qtruby examples and working through the problems.  <br>The draggableicons example fails because the operator<< is not found for QDatastream and QPixmap.<br>Smoke for qtgui does contain the method, but it isn't being found for some reason.<br>
<br>Here is a piece of code that shows the problem:<br><br>require 'Qt'<br><br>Qt::Application.new(ARGV)<br><br>pixmap = Qt::Pixmap.new<br>itemData = Qt::ByteArray.new("")<br>dataStream = Qt::DataStream.new(itemData, Qt::IODevice::WriteOnly.to_i)<br>
<br>dataStream << pixmap<br><br>----------<br><br>/Users/ryanmelt/git/qtbindings/lib/Qt/qtruby4.rb:126:in `method_missing': undefined method `<<' for Qt:Module (NoMethodError)<br>    from /Users/ryanmelt/git/qtbindings/lib/Qt/qtruby4.rb:126:in `<<'<br>
    from datastream_and_pixmap.rb:9:in `<main>'<br><br>----------<br><br>Any ideas?<br><br>Thanks,<br>Ryan<br>