Image 01
profile-image

rdale

Richard Dale , Spain
ClickSpotter

Network by cschlaeg 10 comments

I'm afraid it will only be fixed in the next release of qtruby (1.0.12). You can apply this patch to qtruby.rb in the meantime:

Index: qtruby.rb
===================================================================
--- qtruby.rb (revision 486772)
+++ qtruby.rb (revision 496305)
@@ -721,7 +721,7 @@
if argtype == 'i'
if typename =~ /^int&?$|^signed int&?$|^signed$|^qint32&?$/
return 1
- elsif typename =~ /^(?:short|ushort|unsigned short int|uint|long|ulong|unsigned long int|unsigned|float|double)$/
+ elsif typename =~ /^(?:short|ushort|unsigned short int|uchar|uint|long|ulong|unsigned long int|unsigned|float|double)$/
return 0
elsif typename =~ /^(quint|qint|qulong|qlong|qreal)/
return 0 - Jan 24 2006