Short:        Image DataTypes plugin for Qt
Author:       chris@unsatisfactorysoftware.co.uk (Chris Young)
Uploader:     chris unsatisfactorysoftware co uk (Chris Young)
Type:         gfx/misc
Version:      1.4
Requires:     qt-4.7-amigaos-native == 0.9.0
Architecture: ppc-amigaos >= 4.0.0

This plugin allows Qt applications to open images using DataTypes.
When installed, applications will automatically gain the ability
to open Datatypes-supported filetypes (for example, Extreme Image
Converter will be able to convert IFF ILBM files)

It also supports writing in IFF ILBM format, and in DataTypes'
native formats where supported (subclass implementers please
see below)

The file ENVARC:QT_DT_BLACKLIST contains a list of filetypes,
one per line, that the plugin will not report read support for.
This is necessary for eg. libQtWebKit which assumes some
capability not supported by this plugin, and forces Qt to use
the native plugins for these formats instead.

To install:

METHOD 1
* Double-click Install and run through the Installer script

METHOD 2
* Copy libqdt.so to Qt:plugins/imageformats
* Create your own ENVARC:QT_DT_BLACKLIST file

Source code included.  To build run the following two commands:
qmake
gmake


HISTORY
v1.4 (03.07.2013)
* Added Blacklist to pacify libQtWebKit

v1.3 unreleased

v1.2 (30.07.2011)
* Added native datatypes format writing
* Added Qt "Name" support (not tested) to get/set DTA_ObjName

v1.1 first release

LICENCE
Licensed under the GPL.  This plugin is provided AS IS without
warranty of any kind, neither expressed nor implied.

TODO
Add support for animation datatypes
Add support for Qt "Description"/other DTA_Obj#? data

DATATYPES SUBCLASS IMPLEMENTERS
For writing support to work through Qt/libqdt.so you need two things:

1. Support for DTST_RAM source in OM_NEW
This simply needs to initialise a blank DataType object.
If you have no class data, simply don't return an error for DTST_RAM
source.

2. Support for DTM_WRITE format DTWM_RAW

(1) is required to show the datatype as supporting writing when queried
by Qt.
(2) Actually does the writing.


-----BEGIN PGP MESSAGE-----
Version: 2.6.3in

iQB7AwUAUdap2bO1+24s2ZO5AQEaAAMrBe7mii4OjtZnL4pA7YcUetlZ/9U6sQ02
mchvH68VsjGz9kuUe/SrXw7n0ARkK0zqaUKC7ev8ZRAlELG0So5qdVSGtJk5TWjY
/x6OqNZJKZER9RMJjBqPX9c32O629Lnli/eqpcbm
=YiYr
-----END PGP MESSAGE-----