Commit Graph

148 Commits

Author SHA1 Message Date
Fatih Aşıcı
7816cc9ae6 qt5webkit: install qml's only if declarative module is selected
Fixes http://autobuild.buildroot.net/results/a9bbba68f22076ea2c86ee09ebe8a0a5e86b3b54/

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-18 12:26:17 +02:00
Fatih Aşıcı
a252d6f4c7 qt5webkit: select libXrender if xcb is enabled
[Peter: also add libXext]
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-18 12:25:52 +02:00
Jérôme Pouiller
741cbccb74 Fix build reproducibility in Make 3.82
Make 3.82 no longer sort the result of wildcards (see
http://comments.gmane.org/gmane.comp.gnu.make.bugs/4260). This may break
build reproducibility.

This patch sort results of wildcards to ensure reproducibility.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-06 23:27:42 +02:00
Peter Korsgaard
ca47afb41e qt5webkit: needs gui support in qt
Fixes http://autobuild.buildroot.net/results/439ce2c3c33a92966808071d4fc7231d50453c79/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-08-28 14:13:00 +02:00
Thomas Petazzoni
4ed05f0ff6 qt5: change upstream URL
The Qt5 upstream URL has changed, which leads to build failures in the
autobuilders.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-08-18 19:49:43 +02:00
Gustavo Zacarias
2eac7aea23 qt5jsbackend: needs ARM v5+
Just like nodejs and other v8-based javascript engines for ARM interwork
it needs the BLX instruction which is only available on V5+ cores.
Fixes:
http://autobuild.buildroot.net/results/853/853cd29bf427902b2cb82a101964a4e45714cb86/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-07-31 19:07:15 +02:00
Peter Korsgaard
6488d59a88 qt5: add _LICENSE_FILES where applicable
Some (but not all) of the qt5 module tarballs contain license files, so
let's reference them.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-28 14:34:18 +02:00
Peter Korsgaard
e3f983c851 qt5quick1: ensure optional qt5webkit support is enabled if present
qt5quick1 has optional qt5webkit support, so ensure it is built after
qt5webkit if enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-28 12:41:11 +02:00
Naumann Andreas
e5e695ec48 qt5/qt5quick1: Drop qmlviewer from install since its no longer provided.
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-28 11:16:03 +02:00
Peter Korsgaard
4e365f02f3 qt5quick1: doesn't require qt5webkit
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-28 11:15:40 +02:00
Peter Korsgaard
f1bbd809f6 qt5quick1: needs widgets support in qt5base
Which in turn needs gui support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-28 11:13:02 +02:00
Peter Korsgaard
3c9b59ab2b qt5declarative: eglfs depends on gui support, so select that as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-27 22:42:08 +02:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Peter Korsgaard
1ba51d2fbd Merge branch 'next' 2013-06-02 16:33:05 +02:00
Wojciech Slenska
0b78baafbd qt5: mysql and sqlite plugins
Added support for mysql and sqlite plugins. Configuration is based on qt package.

[Peter: strip trailing spaces]
Signed-off-by: Wojciech Slenska <wojciech.slenska@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-30 23:47:56 +02:00
Wojciech Slenska
db3efd92ad qt5: add libQt5OpenGL.so library installation
When qt5 is built with EGLFS support, libQt5OpenGL library should be copied to
target.

Signed-off-by: Wojciech Slenska <wojciech.slenska@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-30 22:03:00 +02:00
Thomas Petazzoni
8762110c46 qt5jsbackend: only available on ARM, x86, x86-64 and mipsel
The v8 Javascript virtual machine that is the core of qt5jsbackend is
only available on certain architectures. At the moment, only ARM, x86,
x86-64 and mipsel are supported.

Fixes:

  http://autobuild.buildroot.org/results/a2e/a2e62e2deaa28ec9d4d957523a00ee0b7a634950/build-end.log

[Peter: also add dependency for qt5graphicaleffects]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-29 21:28:15 +02:00
Peter Korsgaard
88587d5b14 qt5imageformats: needs gui support in qt5base
Fixes http://autobuild.buildroot.net/results/8843619e91958766c66c0955f363bbfc733b31e6/build-end.log

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 12:39:57 +02:00
Thomas Petazzoni
d6b2bac225 qt5: bump to 5.0.2
A new version of Qt5 has been released, 5.0.2, so let's use it, see
http://blog.qt.digia.com/blog/2013/04/10/qt-5-0-2-released/: "Qt 5.0.2
brings over 600 improvements compared to Qt 5.0.1, most of these in
order to address the issues Qt users have noted when bringing their
applications to Qt 5.".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-15 23:47:04 +02:00
Thomas Petazzoni
0db6298cef qt5: factor <pkg>_SITE variable
Each qt5 package was defining its own QT5<something>_SITE
variable. Unfortunately, the download location has slightly changed
for Qt 5.0.2, so we would have to change it for all packages. Instead,
we factor the <pkg>_SITE variable as QT5_SITE in package/qt5/qt5.mk,
just like we already do for QT5_VERSION.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-15 23:46:59 +02:00
Thomas Petazzoni
998ebc98b5 qt5/qt5quick1: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 17:11:27 +02:00
Floris Bos
58b8a19f98 qt5webkit: add EGL dir to includepath
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 17:11:06 +02:00
Thomas Petazzoni
4948aa5e65 qt5/qt5webkit: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 17:08:23 +02:00
Thomas Petazzoni
1eb15de182 qt5/qt5multimedia: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 17:06:53 +02:00
Thomas Petazzoni
6b65be6b19 qt5/qt5graphicaleffects: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 17:05:43 +02:00
Thomas Petazzoni
a80292cfba qt5/qt5declarative: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 17:04:04 +02:00
Thomas Petazzoni
130a48356b qt5/qt5jsbackend: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 17:02:58 +02:00
Thomas Petazzoni
55fde61f67 qt5/qt5xmlpatterns: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 17:02:16 +02:00
Thomas Petazzoni
3923924b60 qt5/qt5imageformats: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 16:57:06 +02:00
Thomas Petazzoni
dc2aef6e76 qt5/qt5script: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 16:54:48 +02:00
Thomas Petazzoni
29e8426bd6 qt5/qt5svg: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 16:11:49 +02:00
Thomas Petazzoni
92a0a10891 qt5base: adjust linux-buildroot-g++ qmake.conf
In order for qmake to generate correct moc command lines, we need to
make sure INCLUDEPATH contains $(STAGING_DIR)/usr/include. To do so,
we add a new line in our custom qmake.conf.

Also, in order to clearly identify the Buildroot specific variables
from the qmake standard variables, we prefix all the custom Buildroot
variables by BUILDROOT_ in qmake.conf.

This solves compilation issues of qt5svg such as "Undefined
interface", due to the fact that moc isn't passed a -I path pointing
to the main header directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 16:11:21 +02:00
Thomas Petazzoni
186ef9f6f4 qt5base: support static library building
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 16:10:51 +02:00
Thomas Petazzoni
76d9abd810 qt5: disallow the selection of Qt4 and Qt5
As noticed by Arnout, Qt4 and Qt5 cannot be installed together,
because for example the qt.conf installed by one version cannot be
understood by the qmake of another version. We therefore make them
mutually exclusive, which sounds reasonable for the embedded systems
targeted by Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 15:54:39 +02:00
Thomas Petazzoni
22c4c4b949 qt5: factor Qt5 version
Since the Qt5 version will be the same for all Qt5 modules, factor it
in qt5/qt5.mk as QT5_VERSION.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-24 14:42:39 +01:00
Floris Bos
cdfa21b060 qt5base: install bundled fonts to target
If not using font-config, Qt 5 offers a set of standard fonts to
use instead. Install these to target.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 22:41:48 +01:00
Floris Bos
6cd7b60f8b qt5base: add rPi EGL glue code
When the rpi-userland package is selected, assume we are targetting
the Raspberry Pi, and add the right platform glue code when building
the Qt5 EGLFS plugin.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 22:41:39 +01:00
Thomas Petazzoni
53fbd8a7c5 qt5base: add support to build against ICU
Qt5Webkit requires Qt5Base to be built with ICU support, so we add
such support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 22:39:39 +01:00
Thomas Petazzoni
f8ffed2dbe qt5base: add glib support
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 22:13:29 +01:00
Thomas Petazzoni
f5b9811a83 qt5base: add D-Bus support
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 22:10:24 +01:00
Thomas Petazzoni
9e9a3e6b00 qt5base: add support for fontconfig, png, jpeg, gif
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 22:08:29 +01:00
Thomas Petazzoni
d2b86608ac qt5base: add eglfs graphics backend
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 22:08:23 +01:00
Thomas Petazzoni
52b7e7cbad qt5base: add OpenSSL support
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 22:07:09 +01:00
Thomas Petazzoni
c64cfee043 qt5base: support debug or release modes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-10 22:42:52 +01:00
Thomas Petazzoni
cc8c727751 qt5base: add GUI support
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-10 22:39:31 +01:00
Thomas Petazzoni
54e95512e5 qt5base: new package
This is the beginning of the Qt5 packaging. This commit allows to
build only the qtbase module, which contains QtCore, QtNetwork, QtXml,
QtTest, QtSql and QtConcurrent.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-10 22:37:43 +01:00
Thomas Petazzoni
1737b5648c qt5: add macro to fixup Qt5 .la and .prl files
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-10 22:36:59 +01:00
Thomas Petazzoni
ca249584cb qt5: base infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-10 22:36:32 +01:00