AminetAminet
Search:
84716 packages online
About
Recent
Browse
Search
Upload
Setup
Services

gfx/misc/qdt.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Image DataTypes plugin for Qt
Author:chris at 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
Date:2013-07-05
Download:http://aminet.net/gfx/misc/qdt.lha - View contents
Readme:http://aminet.net/gfx/misc/qdt.readme
Downloads:1470

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-----


Contents of gfx/misc/qdt.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 9577   11420  83.9% -lh6- 649f Jul  3 12:23 qtdtimage.info
[unknown]                    0       0 ****** -lh0- 0000 Jul 24  2011 qtdtimage/.moc/release-shared/
[unknown]                 9734   24620  39.5% -lh6- f4cd Nov 17  2011 qtdtimage/.obj/release-shared/dthandler.o
[unknown]                 3958   10304  38.4% -lh6- d360 Nov 17  2011 qtdtimage/.obj/release-shared/dtplugin.o
[unknown]                    0       0 ****** -lh0- 0000 Jul 24  2011 qtdtimage/.pch/release-shared/
[unknown]                   91     108  84.3% -lh6- 8c23 Jul 30  2011 qtdtimage/AutoInstall
[unknown]                 2811    8515  33.0% -lh6- e9b3 Jul  3 12:12 qtdtimage/dthandler.cpp
[unknown]                  796    1691  47.1% -lh6- fc83 Nov 20  2011 qtdtimage/dthandler.h
[unknown]                 9936   24456  40.6% -lh6- a4c2 Jul  3 12:13 qtdtimage/dthandler.o
[unknown]                 1025    2461  41.6% -lh6- ac09 Jun 30 12:19 qtdtimage/dtplugin.cpp
[unknown]                 4085   10672  38.3% -lh6- cec8 Jul  3 12:06 qtdtimage/dtplugin.o
[unknown]                  153     210  72.9% -lh6- 9ffe Jul 24  2011 qtdtimage/dtplugin.pro
[unknown]                 2300   68068   3.4% -lh6- c040 Jul 30  2011 qtdtimage/dtwritetest
[unknown]                  653    1422  45.9% -lh6- b837 Jul 30  2011 qtdtimage/dtwritetest.c
[unknown]                  441     904  48.8% -lh6- 96c3 Jul  3 12:16 qtdtimage/Install
[unknown]                13114   18267  71.8% -lh6- acc7 Jul  3 12:23 qtdtimage/Install.info
[unknown]                17036   77853  21.9% -lh6- 9026 Jul  3 12:13 qtdtimage/libqdt.so
[unknown]                  113     193  58.5% -lh6- 979e Jul  3 11:57 qtdtimage/libqdt.so_rev.h
[unknown]                  127     242  52.5% -lh6- 33f1 Jun 30 12:20 qtdtimage/libqdt.so_rev.i
[unknown]                    2       2 100.0% -lh0- c796 Jun 30 12:20 qtdtimage/libqdt.so_rev.rev
[unknown]                  132     255  51.8% -lh6- c0ba Jun 30 12:20 qtdtimage/libqdt.so_rev.s
[unknown]                 1682    5721  29.4% -lh6- f18f Jun 30 11:04 qtdtimage/Makefile
[unknown]                 1132    2114  53.5% -lh6- 9351 Jul  5 11:54 qtdtimage/qdt.readme
[unknown]                 3163    5120  61.8% -lh6- ed77 Jul  3 12:23 qtdtimage/qdt.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        24 files   82061  274618  29.9%            Jul  5 20:13

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>