Hello !

Andreas Pakulat wrote:
> today I need to install the qt3 ruby bindings while I already had the
> qt4 bindings installed. Unfortunately this deinstalled the qt4 bindings.
> I asked Richard Dale a kdevelop developer working with ruby very much if
> qt4 and qt3 ruby bindings cannot be installed at the same time and he
> told me that it is possible and that he does this all the time.
> 
> So I'd like you to make this possible with the debian packages too,
> after all one can have Qt3 and Qt4 side-by-side and the same applies to
> the python bindings.

  This is a known problem. There are several aspects of it:
  * the smoke library: I did need to tweak it quite a bit to be able,
say, to have both perl Qt3 bindings and Ruby Qt4 bindings on the same
machine. This is fixed and working.
  * the ruby part of the bindings.

  The latter is unfortunately more delicate. Consider: folks using
qt3/ruby simply use a require 'Qt' statement in their program. On the
other side, to use version 1.4.6 of the qt4 ruby bindings, you also need
to use require 'Qt'. So obviously, they can't coexist on the same machine.

  The solution in qt4/qtruby 1.4.7 was to rename the appropriate files
so that now you need to say require 'Qt4', with a symlink for Qt.rb to
Qt3.rb or Qt4.rb. This works on a host-by-host basis, but it can't for a
distribution, since I can't simply provide an upgrade path. How shall I
handle the fact that Qt.rb is used to include completely different
functionalities ?

  The only answer I have, is to make Qt.rb point to Qt4.rb and issue a
warning that the support for it will be dropped later. Then, when this
package has been around for a while, I'll consider that all the people
did migrate, and I'll drop Qt.rb, and at this moment I'll remove the
conflict with Qt3 bindings.

  But that won't be for etch, as it *does* break the package.

  If you want, as a temporary workaround, I can provide a new version of
the package without the conflict (and without Qt.rb) on my personal apt
repository.

  Cheers,

        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]

Reply via email to