[Qt-interest] License on modified Qt code
Josh
jnfo-c at grauman.com
Wed Jun 9 20:30:22 CEST 2010
Hello all,
As I've mentioned on this list a couple times, I made a modification to
add line spacing options to Qt. Since I was unable to get my patch
approved, I've created a separate library (based on Qt code) that adds
this feature. My question is what text to add to appropriately show how
the modified file is licensed. I would like to simply re-release the file
under the same LGPL license.
In order to create my feature I simply modified a single file
(qtextdocumentlayout.cpp), and created a very simple .pro file which then
creates a library. I was thinking of simply adding the following text to
the front of qtextdocumentlayout.cpp. Then I would release my project with
the qtextdocumentlayout.cpp file (modified), an unmodified
qtextdocumentlayout_p.h, my new qtextdocumentlayout.pro file, and the
LICENSE.LGPL and LGPL_EXCEPTION.txt files thrown in with a file called
notes that explains how to use the feature, how to contact me, and a
similar statement about licensing to the one below.
Here is the proposed addition to the front of qtextdocumentlayout.cpp,
please let me know if that sounds about right:
/****************************************************************************
** This file is a modified version of Nokia's qtextdocumentlayout.cpp which
** is part of Qt and released under the GNU Lesser General Public License
** version 2.1 as published by the Free Software Foundation. It is
** re-released under the same license. Please review the following
** information to ensure the GNU Lesser General Public License version 2.1
** requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
****************************************************************************/
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info at nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
... rest of the file.
Thanks!
Josh
More information about the Qt-interest-old
mailing list