diff options
author | Martin Smith <msmith@trolltech.com> | 2009-09-09 13:02:17 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-09-09 13:03:03 (GMT) |
commit | 4c999f26a2cd255238d3543d2c4fdd3e51e70769 (patch) | |
tree | a35b35cd14e40f209355f47759a502c3e5c15c43 /src/tools | |
parent | f3533b1b885587513d894d3fc2a65aa5837e7161 (diff) | |
download | Qt-4c999f26a2cd255238d3543d2c4fdd3e51e70769.zip Qt-4c999f26a2cd255238d3543d2c4fdd3e51e70769.tar.gz Qt-4c999f26a2cd255238d3543d2c4fdd3e51e70769.tar.bz2 |
Added a standard copyright header to files generated by rcc.
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/rcc/rcc.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/tools/rcc/rcc.cpp b/src/tools/rcc/rcc.cpp index 6b3227a..51f850a 100644 --- a/src/tools/rcc/rcc.cpp +++ b/src/tools/rcc/rcc.cpp @@ -709,6 +709,46 @@ bool RCCResourceLibrary::writeHeader() { if (m_format == C_Code) { writeString("/****************************************************************************\n"); + writeString("**\n"); + writeString("** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).\n"); + writeString("** All rights reserved.\n"); + writeString("** Contact: Nokia Corporation (qt-info@nokia.com)\n"); + writeString("**\n"); + writeString("** This file is part of the tools applications of the Qt Toolkit.\n"); + writeString("**\n"); + writeString("** $QT_BEGIN_LICENSE:LGPL$\n"); + writeString("** No Commercial Usage\n"); + writeString("** This file contains pre-release code and may not be distributed.\n"); + writeString("** You may use this file in accordance with the terms and conditions\n"); + writeString("** contained in the Technology Preview License Agreement accompanying\n"); + writeString("** this package.\n"); + writeString("**\n"); + writeString("** GNU Lesser General Public License Usage\n"); + writeString("** Alternatively, this file may be used under the terms of the GNU Lesser\n"); + writeString("** General Public License version 2.1 as published by the Free Software\n"); + writeString("** Foundation and appearing in the file LICENSE.LGPL included in the\n"); + writeString("** packaging of this file. Please review the following information to\n"); + writeString("** ensure the GNU Lesser General Public License version 2.1 requirements\n"); + writeString("** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.\n"); + writeString("**\n"); + writeString("** In addition, as a special exception, Nokia gives you certain additional\n"); + writeString("** rights. These rights are described in the Nokia Qt LGPL Exception\n"); + writeString("** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.\n"); + writeString("**\n"); + writeString("** If you have questions regarding the use of this file, please contact\n"); + writeString("** Nokia at qt-info@nokia.com.\n"); + writeString("**\n"); + writeString("**\n"); + writeString("**\n"); + writeString("**\n"); + writeString("**\n"); + writeString("**\n"); + writeString("**\n"); + writeString("**\n"); + writeString("** $QT_END_LICENSE$\n"); + writeString("**\n"); + writeString("****************************************************************************/\n"); + writeString("/****************************************************************************\n"); writeString("** Resource object code\n"); writeString("**\n"); writeString("** Created: "); |