This is Debian/GNU Linux's prepackaged version of the QT GUI Development
library.

This package was put together by me, Heiko Schlittermann
<heiko@lotte.sax.de>, from the sources, which I obtained from
ftp.troll.no. The changes were very minimal to nothing, - merely
adding support for the Debian package maintenance scheme, by adding
various debian/* files and by changing the propagate script to fit the
Debian/GNU Linux filesystem structure.

For the copyright conditions see the file LICENCE in the same
directory as this file (usually /usr/share/doc/qt2).
And for the sake of the DEBIAN policy at the end of this file ;-).

Addional here are the mails I got from Arnt Gulbrandsen 
about the licence to distribute QT as a Debin/GNU Linux package.

(NOTE that for QT2.0 the licence has changed completly!)

** Thanks to the people @ TrollTech and Arnt. **

Heiko Schlittermann <heiko@lotte.sax.de>

-------------------------

From troll.no!agulbra Fri Aug 30 23:12:22 1996
To: heiko@lotte.sax.de
Cc: sales@troll.no, ian@chiark.chu.cam.ac.uk, Bruce@pixar.com
Subject: Re: qt-0.98 and the Debian/GNU Linux distribution
In-Reply-To: Your message of "Fri, 30 Aug 1996 14:04:53 +0200 (MET DST)"
References: <m0uwSJh-000DwhC@iva.lotte.sax.de>
Date: 	Fri, 30 Aug 1996 18:58:02 +0200
From: Arnt Gulbrandsen <agulbra@troll.no>
Message-Id: <96Aug30.185815+0100met_dst.13988-17503+65@lupinella.troll.no>
Status: RO

heiko@lotte.sax.de (Heiko Schlittermann)
> Hello you @ Troll,
> 
> I've just compiled your qt framework and tried some examples.  As far as
> I can see, it is quite excellent work :-).  

Thanks.

> In order to ease installation / deinstallation during a test phase
> and on several machines I made a Debian/GNU package from your source
> distribution. (Since we're running Debian/GNU-Linux here and this
> distribution seems to be one of the best regarding to updates,
> installation / deinstallation of packages / mission critical jobs ...)
> 
> Now I've read your LICENCE coming along with the source and I've heard
> of some discussions in c.o.l.* about this copyright conditions.
> 
> Now I may ask you to read the Debian Package Copyright policy (as found
> in the Debian package dpkg_1.3.11) and give me some advice, where
> (iff) to place your framework -- in the main distribution, as
> a non-free package or as a contrib package.

The contrib section seems right.  Core is out of the question, since
we do not allow people to redistribute changed versions of Qt.

Note that the 0.98 license doesn't allow even _you_ to distribute
those three .deb files.  But make them anyway, and we'll bless them
specially, so anyone can distribute them.

If you later decide to change how you divide Qt into parts, we'll have
to approve the new division before you distribute it.

> I'd like to split your qt into three separate `binary' packages:
> * Please Note:  binary packages are packages, pre-packed by the
>   package maintainer (not necessarily the author), ready for
>   an easy installation (taking care about config files, versions,
>   dependencies ...).  Every Debian CDROM (as well as the FTP-Servers
>   mirroring Debian) comes along with these binary packages _and_
>   with the sources (if available a/o distributable).
>   (I mention this since your LICENCE contains a paragraph stating
>   that the source of qt code has to remain available.)
> 
>         qt      : containing the shared libraries only
>         qt-dev  : containing the header files and man pages
>                   and moc
>         qt-doc  : containing the examples and tutorials
>                   and docs (other than manual pages)

Please put README into all three, in the same location as the LICENCE
file, and README.QT into both qt-dev and qt-doc, and send us the
complete file list for each of the packages.

I suggest that you wait for 0.99, which may be only a few days away.
If you want, I can let you have a snapshot of the development sources,
not for distribution.  We've tweaked the make process a bit (which may
interest you), fixed some bugs - and tweaked the non-commercial
license.

> Another change is, that the `propagate'-script installed along with
> examples and tutorials has to be modified to reflect the filesystem
> layout on a typical Debian system.  (Since I've installed your header
> files to /usr/X11R6/include/qt and the libraries to /usr/X11R6/lib, so
> messing with the various environment vars shouldn't be necessary.)

Perfectly all right (I assume the users are able to remove Qt cleanly
without hurting X).

--Arnt

From troll.no!agulbra Mon Sep  9 19:08:37 1996
Return-Path: <troll.no!agulbra>
Received: by iva.lotte.sax.de (Linux /\oo/\ Smail3.1.29.1 #37)
	id m0v09p6-000DwqC; Mon, 9 Sep 96 19:08 MET DST
Received: from lupinella.troll.no (lupinella.troll.no [195.0.192.30]) by sax.sax.de (8.6.12/8.6.12-s1) with ESMTP id SAA13893 for <heiko@lotte.sax.de>; Mon, 9 Sep 1996 18:40:53 +0200
Received: from lupinella.troll.no ([195.0.254.19]) by lupinella.troll.no with ESMTP id <13985-7509>; Mon, 9 Sep 1996 18:40:18 +0200
To: heiko@lotte.sax.de
Subject: Re: qt-0.98 and the Debian/GNU Linux distribution
In-Reply-To: Your message of "Sun, 8 Sep 1996 12:59:21 +0200 (MET DST)"
References: <m0uzhaD-000DwjC@iva.lotte.sax.de>
X-Mailer: Mew version 1.06 on Emacs 19.14 XEmacs Lucid
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Date: 	Mon, 09 Sep 1996 18:40:07 +0200
From: Arnt Gulbrandsen <agulbra@troll.no>
Message-Id: <i9h115.la7.z@lupinella.troll.no>
Status: RO

heiko@lotte.sax.de (Heiko Schlittermann)
> : If you later decide to change how you divide Qt into parts, we'll have
> : to approve the new division before you distribute it.
> 
> Ok, so just for clarity and my own understanding:
> 
>  1 I'll pack the three `binary' packages for Debian/GNU (section
>  contrib), with LICENCE and README* included.
> 
>  2 I'll send you a file list of each of these packages.
> 
>  3 You'll permit me to upload these packages and your unmodified
>  source to the Debian/GNU linux project.
> 
>  4 If changes in packaging are necessary, we'll start at point (1).

Right.

--Arnt

From troll.no!agulbra Wed Sep 11 02:41:59 1996
Return-Path: <troll.no!agulbra>
Received: by iva.lotte.sax.de (Linux /\oo/\ Smail3.1.29.1 #37)
	id m0v0dNO-000DxbC; Wed, 11 Sep 96 02:41 MET DST
Received: from lupinella.troll.no (lupinella.troll.no [195.0.192.30]) by sax.sax.de (8.6.12/8.6.12-s1) with ESMTP id WAA13511 for <heiko@lotte.sax.de>; Tue, 10 Sep 1996 22:47:21 +0200
Received: from lupinella.troll.no ([195.0.254.19]) by lupinella.troll.no with ESMTP id <13998-7508>; Tue, 10 Sep 1996 22:47:04 +0200
To: heiko@lotte.sax.de
Cc: qt-info@troll.no
Subject: Re: qt-0.99 and the ``debianized distribution''
In-Reply-To: Your message of "Tue, 10 Sep 1996 16:25:02 +0200 (MET DST)"
References: <m0v0TkM-000DwqC@iva.lotte.sax.de>
X-Mailer: Mew version 1.06 on Emacs 19.14 XEmacs Lucid
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Date: 	Tue, 10 Sep 1996 22:46:54 +0200
From: Arnt Gulbrandsen <agulbra@troll.no>
Message-Id: <84k415.ka7.z@lupinella.troll.no>
Status: RO

heiko@lotte.sax.de (Heiko Schlittermann)
> Arnt Gulbrandsen wrote:
> : 
> : heiko@lotte.sax.de (Heiko Schlittermann)
> : >         ** qt1_0.99-?_i386.deb
> : ...
> : >         ** qt1-dev_0.99-?_i386.deb
> : ...
> : 
> : Looks good, but why the 1?
> 
> It's to provide a way to cope with major changes in the binary
> interface.  As long as not all applications are linked against
> qt-(n+1).xx one can install qt-(n+1).xx without overwriting
> qt-(n).xx.  Since qt2 isn't just an update of qt1, but a completly new
> package.

I see.  A copy of the library major number, essentially.

You should then use 0, or wait a week for the release of Qt 1.0.
Either is okay with us.

Go ahead (and that's the official go-ahead).

--Arnt

*** the original copyright as found in the LICENSE.QPL file in the Qt source
distribution:

			     THE Q PUBLIC LICENSE
				  version 1.0

		   Copyright (C) 1999 Troll Tech AS, Norway.
		       Everyone is permitted to copy and
		       distribute this license document.

The intent of this license is to establish freedom to share and change the
software regulated by this license under the open source model.

This license applies to any software containing a notice placed by the
copyright holder saying that it may be distributed under the terms of
the Q Public License version 1.0.  Such software is herein referred to as
the Software.  This license covers modification and distribution of the
Software, use of third-party application programs based on the Software,
and development of free software which uses the Software.

				 Granted Rights

1. You are granted the non-exclusive rights set forth in this license
   provided you agree to and comply with any and all conditions in this
   license.  Whole or partial distribution of the Software, or software
   items that link with the Software, in any form signifies acceptance of
   this license.

2. You may copy and distribute the Software in unmodified form provided
   that the entire package, including - but not restricted to - copyright,
   trademark notices and disclaimers, as released by the initial developer
   of the Software, is distributed.

3. You may make modifications to the Software and distribute your
   modifications, in a form that is separate from the Software, such as
   patches. The following restrictions apply to modifications:

     a. Modifications must not alter or remove any copyright notices in
        the Software.

     b. When modifications to the Software are released under this
        license, a non-exclusive royalty-free right is granted to the
        initial developer of the Software to distribute your modification
        in future versions of the Software provided such versions remain
        available under these terms in addition to any other license(s) of
        the initial developer.

4. You may distribute machine-executable forms of the Software or
   machine-executable forms of modified versions of the Software, provided
   that you meet these restrictions:

     a. You must include this license document in the distribution.

     b. You must ensure that all recipients of the machine-executable forms
        are also able to receive the complete machine-readable source code
        to the distributed Software, including all modifications, without
        any charge beyond the costs of data transfer, and place prominent
        notices in the distribution explaining this.

     c. You must ensure that all modifications included in the
        machine-executable forms are available under the terms of this
        license.

5. You may use the original or modified versions of the Software to
   compile, link and run application programs legally developed by you
   or by others.

6. You may develop application programs, reusable components and other
   software items that link with the original or modified versions of the
   Software.  These items, when distributed, are subject to the following
   requirements:

     a. You must ensure that all recipients of machine-executable forms of
        these items are also able to receive and use the complete
        machine-readable source code to the items without any charge
        beyond the costs of data transfer.

     b. You must explicitly license all recipients of your items to use
        and re-distribute original and modified versions of the items in
        both machine-executable and source code forms. The recipients must
        be able to do so without any charges whatsoever, and they must be
        able to re-distribute to anyone they choose.


     c. If the items are not available to the general public, and the
        initial developer of the Software requests a copy of the items,
        then you must supply one.

			    Limitations of Liability

In no event shall the initial developers or copyright holders be liable
for any damages whatsoever, including - but not restricted to - lost
revenue or profits or other direct, indirect, special, incidental or
consequential damages, even if they have been advised of the possibility
of such damages, except to the extent invariable law, if any, provides
otherwise.

			          No Warranty

The Software and this license document are provided AS IS with NO WARRANTY
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE.
                                 Choice of Law

This license is governed by the Laws of Norway. Disputes shall be settled
by Oslo City Court.
