Test script: require 'Qt4' Qt::Image.new('/path/to/image').bits ArgumentError: Cannot handle 'uchar*' as return-type of QImage::bits from (irb):3:in `method_missing' from (irb):3