• Eskil Abrahamsen Blomfeldt's avatar
    Android: Don't include Apache code under LGPLv2 license · 538248d9
    Eskil Abrahamsen Blomfeldt authored
    
    The code which extracts style assets for the Android style
    is licensed under the Apache license, which is not compatible
    with LGPLv2.1. It is, however, compatible with LGPLv3. This
    means that the Android platform plugin cannot be LGPLv2.1
    as long as this code is included.
    
    To minimize licensing confusion, we default to only providing
    LGPLv3 for Android. If you want to build a LGPLv2.1-compatible
    library, you can add -no-android-style-assets to the
    configuration. This will in turn enable the LGPLv2.1 in
    the configure output, and it will disable the extraction
    code in the platform plugin.
    
    Running the Android style with an LGPLv2.1-compatible platform
    plugin will work, but it will look horrible.
    
    [ChangeLog][Android] Default open-source license for
    Qt for Android is now LGPLv3. For compatibility with the LGPLv2.1
    license, add "-no-android-style-assets" to your configuration.
    
    Change-Id: I6c7b52140f38138520871fa7c69debbb4ee90e6c
    Task-number: QTBUG-41365
    Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
    Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
    538248d9
header.LGPL3 1.26 KiB
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the FOO module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.  For licensing terms and
** conditions see http://qt.digia.com/licensing.  For further information
** use the contact form at http://qt.digia.com/contact-us.
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPLv3 included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: https://www.gnu.org/licenses/lgpl.html.
** $QT_END_LICENSE$
****************************************************************************/