Skip to contentSkip to conversation

packagegroup-qt-toolchain-target.inc: add libQtUiTools static library

PATCH Superseded Diego Sueiro 4 participants 7 messages Feb 24, 2014 – Feb 25, 2014

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 packagegroup-qt-toolchain-target.inc: add libQtUiTools static library

libQtUiTools.a and libQtUiToolsE.a needs to be installed on meta-toolchain-qt and meta-toolchain-qte respectively.
Whitout this static library, compiling qt apps which needs uitools will fail.

qt4[-embedded]-staticdev is the package that contains this library and is the only file in it.

Since a static library is shipped, special attention regarding the lincese should be taken.
Here is the main header (tools/designer/src/uitools/quiloader.h) license notes for uitools.

/**************************************************************************** **
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** 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 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. 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.
**
** In addition, as a special exception, Digia gives you certain additional ** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. **
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html.
**
**
** $QT_END_LICENSE$

---
 meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc +1 -0
index fc1ccba..b040182 100644
@@ -33,4 +33,5 @@ RDEPENDS_${PN} += " \
         libqt${QTLIBPREFIX}xmlpatterns4-dev \
         libsqlite3-dev \
         expat-dev \
+        qt4${QTLIBPREFIX}-staticdev \
         "
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 51 lines · Diego Sueiro

libQtUiTools.a and libQtUiToolsE.a needs to be installed on meta-toolchain-qt and meta-toolchain-qte respectively.
Whitout this static library, compiling qt apps which needs uitools will fail.

qt4[-embedded]-staticdev is the package that contains this library and is the only file in it.

Since a static library is shipped, special attention regarding the lincese should be taken.
Here is the main header (tools/designer/src/uitools/quiloader.h) license notes for uitools.

/**************************************************************************** **
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** 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 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. 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.
**
** In addition, as a special exception, Digia gives you certain additional ** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. **
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html.
**
**
** $QT_END_LICENSE$

Quoted 1 line

This license is the same of Qt itself so I don't think it needs to be quoted here. Do you see any reason for it?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw

Hi Otavio,

Quoted 3 lines · Otavio Salvador

This license is the same of Qt itself so I don't think it needs to be quoted here. Do you see any reason for it?

I've just followed Khem's instructions:
http://lists.openembedded.org/pipermail/openembedded-core/2014-February/089888.html

Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/

#3 lore raw

Hello Diego,

(adding Khem and Paul in Cc)

Quoted 8 lines · Diego Sueiro
Quoted 3 lines · Otavio Salvador

This license is the same of Qt itself so I don't think it needs to be quoted here. Do you see any reason for it?

I've just followed Khem's instructions:
http://lists.openembedded.org/pipermail/openembedded-core/2014-February/089888.html

I see; however this license is no different of rest of Qt so we can assume the user of Qt knows the license (and has reviewed possible impacts of it with their legal department).

What others think?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#4 lore raw
Quoted 5 lines · On Tuesday 25 February 2014 10:50:08 Otavio Salvador wrote:

Hello Diego,

(adding Khem and Paul in Cc)

On Tue, Feb 25, 2014 at 10:35 AM, Diego Sueiro <[email protected]>

Quoted 7 lines · wrote:
Quoted 7 lines

On Tue, Feb 25, 2014 at 10:24 AM, Otavio Salvador
<[email protected]>

Quoted 2 lines · wrote:

This license is the same of Qt itself so I don't think it needs to be quoted here. Do you see any reason for it?

Quoted 8 lines
Quoted 3 lines

I've just followed Khem's instructions:
http://lists.openembedded.org/pipermail/openembedded-core/2014-February/08
9888.html

I see; however this license is no different of rest of Qt so we can assume the user of Qt knows the license (and has reviewed possible impacts of it with their legal department).

What others think?

Are we talking about the license of the packagegroup? Technically, the packagegroup itself doesn't actually ship any files, so personally I've always considered the LICENSE value for packagegroup recipes to be irrelevant. I have a similar view on the LICENSE value for image and SDK recipes, since there it's not really practical to express all of the package licenses in a single field, so it's not worth trying - the license manifest should be used for that.

Cheers,
Paul
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

#5 lore raw
In reply to Otavio Salvador
Quoted 11 lines · Otavio Salvador

Hello Diego,

(adding Khem and Paul in Cc)

Quoted 6 lines · Diego Sueiro
Quoted 3 lines · Otavio Salvador

This license is the same of Qt itself so I don't think it needs to be quoted here. Do you see any reason for it?

Quoted 6 lines
Quoted 2 lines

I've just followed Khem's instructions:
http://lists.openembedded.org/pipermail/openembedded-core/2014-February/089888.html

I see; however this license is no different of rest of Qt so we can assume the user of Qt knows the license (and has reviewed possible impacts of it with their legal department).

ofcourse, however all I was suggesting to make it a little more understood with some
comments.

Quoted 7 lines

What others think?

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750