diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-03-31 11:01:04 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-05-12 14:47:11 +0300 |
commit | ae4b6421c0bb4771e2cedfcdadd44c04dc8e93f5 (patch) | |
tree | acaecd3b089b341f87dd27384bb800c9b497148d /recipes-qt/qt5 | |
parent | 5fcb893d078d718318ca94bf7f284ef35355c152 (diff) | |
download | meta-boot2qt-ae4b6421c0bb4771e2cedfcdadd44c04dc8e93f5.tar.gz |
Build Qt5 and all addons
Use meta-qt5 layer to build Qt5, commercial addons and b2qt addons.
Create new image and toolchain recipes with Qt5 content, so that the
existing image and toolchain remain as-is without Qt5.
Currently support only for imx6 targets.
Change-Id: I398750dd1a62c6ff8ea216cfe364da273d8e9a77
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r-- | recipes-qt/qt5/qtbase_%.bbappend | 54 | ||||
-rw-r--r-- | recipes-qt/qt5/qtconnectivity_%.bbappend | 23 | ||||
-rw-r--r-- | recipes-qt/qt5/qtlocation_%.bbappend | 23 | ||||
-rw-r--r-- | recipes-qt/qt5/qtmultimedia_%.bbappend | 23 |
4 files changed, 123 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 index 0000000..27b476b --- /dev/null +++ b/recipes-qt/qt5/qtbase_%.bbappend | |||
@@ -0,0 +1,54 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PACKAGECONFIG_GL = "gles2" | ||
24 | PACKAGECONFIG += " \ | ||
25 | accessibility \ | ||
26 | alsa \ | ||
27 | cups \ | ||
28 | fontconfig \ | ||
29 | glib \ | ||
30 | iconv \ | ||
31 | icu \ | ||
32 | linuxfb \ | ||
33 | sql-sqlite \ | ||
34 | tslib \ | ||
35 | " | ||
36 | |||
37 | do_configure_prepend() { | ||
38 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
39 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
40 | QMAKE_PLATFORM += boot2qt | ||
41 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
42 | load(qt_config) | ||
43 | EOF | ||
44 | } | ||
45 | |||
46 | do_configure_prepend_emulator() { | ||
47 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
48 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
49 | QMAKE_LIBS_EGL = -lQtGlesStreamClient | ||
50 | QMAKE_LIBS_OPENGL_ES2 = -lQtGlesStreamClient | ||
51 | |||
52 | load(qt_config) | ||
53 | EOF | ||
54 | } | ||
diff --git a/recipes-qt/qt5/qtconnectivity_%.bbappend b/recipes-qt/qt5/qtconnectivity_%.bbappend new file mode 100644 index 0000000..570d54e --- /dev/null +++ b/recipes-qt/qt5/qtconnectivity_%.bbappend | |||
@@ -0,0 +1,23 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PACKAGECONFIG += "bluez4" | ||
diff --git a/recipes-qt/qt5/qtlocation_%.bbappend b/recipes-qt/qt5/qtlocation_%.bbappend new file mode 100644 index 0000000..c068600 --- /dev/null +++ b/recipes-qt/qt5/qtlocation_%.bbappend | |||
@@ -0,0 +1,23 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PACKAGECONFIG += "gypsy" | ||
diff --git a/recipes-qt/qt5/qtmultimedia_%.bbappend b/recipes-qt/qt5/qtmultimedia_%.bbappend new file mode 100644 index 0000000..cb1dc53 --- /dev/null +++ b/recipes-qt/qt5/qtmultimedia_%.bbappend | |||
@@ -0,0 +1,23 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PACKAGECONFIG += "gstreamer010" | ||