Bug#406449: libqt4-ruby1.8: devel tools are missing
Sylvain Joyeux wrote: Could you check it please ? rbuic4 works, but I have problem running the generated file. It is not related to rbuic since the generated file matches the one I got with my own build of qtruby 1.4.7 I attached the .ui and the generated .rb. The library complains that: offline_control_ui.rb:198:in `method_missing': undefined method `setAlignment' for #Qt::LineEdit:0x8458f28 (NoMethodError) offline_control_ui.rb:198:in `setupUi' I have no problem running the same UI under with my own build of qtruby Yes, I fixed the priorities for argument conversion to have Qt::KeySequence.new work properly, but it broke something else. I hope I fixed it in the attached patch. To apply it: cd /usr/lib/ruby/1.8/Qt patch -p1 path_to_diff/qtruby4.diff Please double check that all your applications are behaving properly after this patch, as it has the potential to break quite a few things... Cheers, Vincent -- Vincent Fourmond, PhD student http://vincent.fourmond.neuf.fr/ *** old/qtruby4.rb 2007-01-11 22:36:18.0 +0100 --- new/qtruby4.rb 2007-01-12 09:33:54.0 +0100 *** *** 1425,1430 --- 1425,1432 class Variant Qt::Base String = 10 Time = 15 + Date = 14 + DateTime = 16 def to_a return toStringList() *** *** 1878,1892 t = typename.sub(/^const\s+/, '') t.sub!(/[*]$/, '') if argtype == t ! return 2 elsif classIsa(argtype, t) return 0 elsif isEnum(argtype) and (t =~ /int|qint32|uint|quint32|long|ulong/) # We cast only to int, not to another enum type. ! return 1 # We prefer to cast ! # elsif isEnum(argtype) and isEnum(t)) ! # return 1 end end return -99 --- 1880,1894 t = typename.sub(/^const\s+/, '') t.sub!(/[*]$/, '') if argtype == t ! return 1 elsif classIsa(argtype, t) return 0 elsif isEnum(argtype) and (t =~ /int|qint32|uint|quint32|long|ulong/) # We cast only to int, not to another enum type. ! return 1 # We prefer to cast to int than to an enum of different type ! elsif isEnum(argtype) and isEnum(t) ! return 0 end end return -99
Bug#406449: libqt4-ruby1.8: devel tools are missing
Package: libqt4-ruby1.8 Version: 1.4.6-2 Severity: normal The devel tools like rbrcc and rbuic4 are missing -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (400, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages libqt4-ruby1.8 depends on: ii libruby1.8 1.8.5-4.1doudou Libraries necessary to run Ruby 1. ii libsmokeqt4-11.4.6-2 smoke library for Qt4 ii ruby 1.8.2-1 An interpreter of object-oriented ii ruby1.8 1.8.5-4.1doudou Interpreter of object-oriented scr libqt4-ruby1.8 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#406449: libqt4-ruby1.8: devel tools are missing
> The devel tools like rbrcc and rbuic4 are missing Yep, I just realized recently that they were not build automatically from configure/make (at least by the wrapper I'm using). I'm preparing an upstream releases that fixes many segfaults as well, I'll include the tools at that moment. Thanks, Vincent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#406449: libqt4-ruby1.8: devel tools are missing
On Thursday 11 January 2007 12:27, you wrote: The devel tools like rbrcc and rbuic4 are missing Yep, I just realized recently that they were not build automatically from configure/make (at least by the wrapper I'm using). I'm preparing an upstream releases that fixes many segfaults as well, I'll include the tools at that moment. FYI, I downloaded 1.4.7 today, and the tools are built by the default build system -- Sylvain Joyeux http://www.laas.fr/~sjoyeux === PhD student, Robotics and Interactions group, LAAS/CNRS 7 Av. du Colonel Roche 31077 Toulouse Cedex 4 Tel: +33 (0)5 61 33 64 51 === -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#406449: libqt4-ruby1.8: devel tools are missing
Sylvain Joyeux wrote: On Thursday 11 January 2007 12:27, you wrote: The devel tools like rbrcc and rbuic4 are missing Yep, I just realized recently that they were not build automatically from configure/make (at least by the wrapper I'm using). I'm preparing an upstream releases that fixes many segfaults as well, I'll include the tools at that moment. FYI, I downloaded 1.4.7 today, and the tools are built by the default build system I don't understand why it doesn't the way I build them, but it doesn't matter. A version with tools included is available on my personal repository, see here: http://vincent.fourmond.neuf.fr/debian.html Could you check it please ? Vincent -- Vincent Fourmond, PhD student http://vincent.fourmond.neuf.fr/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]