Modifying a standard Qt image plugin

I created a Qt image format plugin to write CCITT-compressed TIFF files by stripping out everything that wasn't needed from the standard TIFF plugin in Qt.

Here's a recipe for those of you interested in doing the same thing:

  1. Locate the src/plugins/imageformats/tiff directory in the Qt source package.
  2. Copy it, creating a new directory called tiff_ccitt for the modifications. Make the following modifications to files in that directory.
  3. Apply the set of patches to the files in that directory, typically by entering the directory at the command line and typing

    {{{patch < tiff_ccitt.patches }}}

Now, you should be able to build the plugin by typing the following commands:

PyQt/Modifying_a_standard_Qt_image_plugin (last edited 2014-06-08 00:06:39 by DavidBoddie)

Unable to edit the page? See the FrontPage for instructions.