qt-rebuild

This is a utility for gentoo (gentoo.org) linux.

When QT is upgraded, you may have to rebuild any QT plugins. This utility attempts to find and rebuild packages with QT plugins.

Here’s the discussion thread:

archives.gentoo.org/gentoo-user/msg_d9357c6f26dec67492b794f8f66db29d.xml

Installation

$ emerge ruby rubygems
$ sudo gem install royw-qt-rebuild --source http://gems.github.com --source http://gems.rubyforge.org

Usage

$ qt-rebuild -h
OPTIONS

  --version,-v
      This version of qt-rebuild

  --help,-h
      Print usage.

  --quiet,-q
      Display error messages only.

  --debug,-d
      Display debug messages.

  --set,-s
      Output in portage's set format.

  --nocolor,-C
      Turn off colored output. (This option is also passed to
      portage.)

  --pretend,-p
      Do a dry-run.

It is recommended to do a dry run first:

$ qt-rebuild -p

To create a set file:

$ qt-rebuild -s -p > /etc/portage/sets/qt-rebuild

Copyright © 2009 Roy Wright. See LICENSE for details.