|  | Home · Examples

# Licenses for Code Used in Qt

Information about licenses of third-party code used in Qt. Qt contains some code that is not provided under the the GNU General Public License (GPL) or the Qt Commercial License Agreement, but rather under specific licenses from the original authors. This page lists the licenses used, names the authors, and links to the places where it is used.

Nokia gratefully acknowledges these and other contributions to Qt. We recommend that programs that use Qt also acknowledge these contributions, and quote these license statements in an appendix to the documentation.

See also: Licenses for Fonts Used in Qt for Embedded Linux

Copyright (c) 1998 by Bjorn Reese <breese@imada.ou.dk>

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER.

- Parts of the QCrashHandler Class

Parts of the FreeType projects have been modified and put into Qt for use in the painting subsystem. These files are ftraster.h, ftraster.c, ftgrays.h and ftgrays.c. The following modifications has been made to these files:

- Renamed FT_ and ft_ symbols to QT_FT_ and qt_ft_ to avoid name conflicts in `qrasterdefs_p.h`.
- Removed parts of code not relevant when compiled with _STANDALONE_ defined.
- Changed behavior in `ftraster.c` to follow X polygon filling rules.
- Implemented support in `ftraster.c` for winding / odd even polygon fill rules.
- Replaced bitmap generation with span generation in `ftraster.c`.
- Renamed `ftraster.h` as `qblackraster_p.h`.
- Renamed `ftraster.c` as `qblackraster.c`.
- Renamed `ftgrays.h` as `qgrayraster_p.h`.
- Renamed `ftgrays.c` as `qgrayraster.c`.

See `src/3rdparty/freetype/docs/FTL.txt` and `src/3rdparty/freetype/docs/GPL.txt` for license details.

        Copyright (c) 1985, 1986, 1987  X Consortium

        Permission is hereby granted, free of charge, to any person obtaining
        a copy of this software and associated documentation files (the
        "Software"), to deal in the Software without restriction, including
        without limitation the rights to use, copy, modify, merge, publish,
        distribute, sublicense, and/or sell copies of the Software, and to
        permit persons to whom the Software is furnished to do so, subject to
        the following conditions:

        The above copyright notice and this permission notice shall be included
        in all copies or substantial portions of the Software.

        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
        OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
        MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
        IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
        OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
        ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
        OTHER DEALINGS IN THE SOFTWARE.

        Except as contained in this notice, the name of the X Consortium shall
        not be used in advertising or otherwise to promote the sale, use or
        other dealings in this Software without prior written authorization
        from the X Consortium.

- Parts of the Q3PolygonScanner Class Used in Qt for Embedded Linux