summaryrefslogtreecommitdiffstats
path: root/package/qt
Commit message (Collapse)AuthorAgeFilesLines
* package/*/Config.in: fix help text check-package warningsThomas Petazzoni2017-12-181-13/+14
| | | | | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. The vast majority of warnings fixed were caused by too long lines. A few warnings were related to spaces being used instead of a tab to indent the help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: add patch to fix build on non-x86 platformsThomas Petazzoni2017-11-181-0/+146
| | | | | | | | | | | | | | | | | | | | | This commit adds a patch to Qt that adjusts its build system to properly support building on non-x86 platforms. The problem was due to the PLATFORM and XPLATFORM variables having the same value when building on a ppc64le system targetting an uncommon architecture (Xtensa or ARC for example). We fix this problem by making sure PLATFORM and XPLATFORM will always be different. Fixes the following build failures occuring on gcc112 (a ppc64le autobuilder machine): http://autobuild.buildroot.net/results/527747a2fbb31195bb6fdb37cfdaa624e69b7d68/ (qt on xtensa) http://autobuild.buildroot.net/results/7db1265f6f34be3a498881564292517a8fc0e44e/ (qt on ARC) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: Allow enabling of QtWebKit with GCC 6+Evgeniy Didin2017-10-031-0/+50
| | | | | | | | | | | | | | | | | Building Qt with QtWebKit on configuration step there is a check which disables QtWebKit build with GCC 6+. Back in the day nobody thought about building Qt with GCC version greater than 5.x. And now with modern GCCs like 6.x and 7.x this assumption gets in the way. Given in Buildroot today we don't have GCC older than 4.9 it should be safe to remove now meaningless check completely by adding patch to qt. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: add patch fixing build failure on ARMv8 in 32-bit modeThomas Petazzoni2017-09-081-0/+37
| | | | | | | | | | | | | | | | | | | The Qt package currently fails to build on ARMv8 cores in 32-bit mode (for example, if you select ARM and then Cortex-A53), because the ARM atomic operation implementation in Qt checks if we're on ARMv7, then on ARMv6, and otherwise falls back to an ARMv5 implementation. The latter uses the swp instruction, which doesn't exist on ARMv8, causing a build failure. To solve this, we simply add a patch that uses the ARMv7 atomic operations for ARMv8-A. There is no autobuilder reference because we don't have any ARMv8 32-bit configuration in the autobuilders. Cc: <ivychend@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: fix up alignment after mechanical replacementArnout Vandecappelle2017-07-051-3/+3
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Globally replace $(HOST_DIR)/usr with $(HOST_DIR)Arnout Vandecappelle2017-07-051-3/+3
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\$(HOST_DIR)/usr%$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-7/+7
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: remove libintl static linking handlingThomas Petazzoni2017-07-054-105/+0
| | | | | | | | We no longer support building the full-blown libintl in static linking scenarios, as it causes too many problems. Therefore, remove the patch that was handling this. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: don't download patch from GithubThomas Petazzoni2017-07-0315-4/+29
| | | | | | | | Patches downloaded from Github are not stable, so bring them in the tree. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove CodeSourcery sh dependenciesBaruch Siach2017-06-201-5/+2
| | | | | | | | | The CodeSourcery sh toolchain has been removed. Drop negative dependencies on that toolchain. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt: enable static build for BR2_PACKAGE_QT_MOUSE_TSLIBMartin Kepplinger2017-06-111-4/+0
| | | | | | | | | | | | The dependency on !BR2_STATIC_LIBS was here because of tslib not supporting static builds. But since commit 05fadfea1 ("package/tslib: enable statically linked building") it does and we can remove this dependecy. Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "toolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405"Romain Naour2017-05-071-7/+0
| | | | | | | | | | | An autobuilder exception has been added to avoid testing qt gui module with the CodeSourcery NiosII toolchain. This allow to remove the BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 symbol. This reverts commit 5dce3c05b5ea38539f6ee6efc24c13db936260dc. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/q*/Config.in: fix ordering of statementsAdam Duskett2017-05-024-15/+15
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter q in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt: drop option for license approvedYann E. MORIN2017-04-291-4/+0
| | | | | | | | | | | | | | | | | | | As stated in previous commits, Buildroot only ever uses the free license, and we do not have a click-wrap approval for any such free license for any other package. The option to approve the license now has no prompt and is no longer used anywhere. Legacy handling is not added because it is not useful: when the option was enabled, it meant "accept the open source license", which is now the default and only existing behavior. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Julien Corjon <corjon.j@ecagroup.com> Cc: Peter Seiderer <ps.report@gmx.net> [Thomas: remove legacy handling as suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt: always use the opensource licenseYann E. MORIN2017-04-291-5/+1
| | | | | | | | | | | | | We never ask the user to confirm their assent about the use of a free license; there is no reason we do so for Qt. The output of legal-info is there to gather all the licenses used in a build; the license for Qt will be there to be consulted as well. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Julien Corjon <corjon.j@ecagroup.com> Cc: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt: default to approved licenseYann E. MORIN2017-04-291-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | The only license we can act upon in Buildroot is the publicly available license. Qt can come under non-free licenses, but we have no access to such licenses. The conditions to access the code under those non-free, non-public licenses is unknown. Besides, Qt (with Qt5) is the only package that has this choice; for other packages in a similar situation, we only use the free, publicly-known licenses. Finally, the name of the tarballs we download clearly hint that they can only be used under the free license. Drop the prompt to the accepted license, and make it mandatory; packages will be adapted in follow-up patches. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Julien Corjon <corjon.j@ecagroup.com> Cc: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt: fix headerAdam Duskett2017-04-221-8/+1
| | | | | | | The header was non-standard according to check-package. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove consecutive empty linesRicardo Martincoski2017-04-061-2/+0
| | | | | | | | | | | Occurrences were searched using [1]: check-package --include-only ConsecutiveEmptyLines $(find * -type f) and manually removed. [1] http://patchwork.ozlabs.org/patch/729666/ Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for GPLv3/GPLv3+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: add enable for truetype font installationDanomi Manchego2017-03-252-1/+9
| | | | | | | | | | | | | Currently, qt.mk installs DejaVu/Vera TrueType fonts when Qt is configured for freetype support. However, some users may prefer to limit the installed fonts to only Qt's prerendered fonts (micro, fixed, helvetica, etc.). Or, there may be a preference to use seperately installed TrueType fonts. This commit adds a switch to explicitly control the installation of the TrueType fonts, similar to the existing prerendered font enables. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: remove broken iBase driverArnout Vandecappelle2017-03-092-10/+0
| | | | | | | | | This option has been marked as broken since 2010. No need for legacy handling. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: remove dead code in qt.mk, as pointed out by Peter Seiderer.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "tslib: needs kernel headers 3.12"Martin Kepplinger2017-02-091-3/+2
| | | | | | | | | | | | | | | This reverts commit 7c60211ce38273580f1f8bf5886771406f9899ca. tslib-1.4 removes this dependency. Add upstream patch that fixes input macros declaration for older kernels. The ts_uinput tool requires 3.6 headers; disable for older kernels. Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com> [baruch: add tslib patch; disable ts_uinput] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* tslib: needs kernel headers 3.12Baruch Siach2017-01-191-2/+3
| | | | | | | | | | | | | | | | Kernel headers 3.12+ are required since tslib version 1.3. https://github.com/kergoth/tslib/blob/master/README.markdown Update tslib reverse dependencies. Fixes: http://autobuild.buildroot.net/results/28d/28df38e2a042f1b5940bf35c18334ebf8810a348/ http://autobuild.buildroot.net/results/c38/c383cfee3673aa9fba36a86f1e68de63413c2987/ http://autobuild.buildroot.net/results/6dd/6ddb2cd9f4f41ee03dc10a73422ad37070811732/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-291-3/+3
| | | | | | | | We drop the usage of the QT_CONFIGURE_ENV variable, because it isn't defined anywhere, so it's always empty. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt: Avoid X11 header collision with OpenGL/EGLBernd Kuhls2016-10-161-0/+60
| | | | | | | | | | | | | | | | | | | | Including X11 headers via EGL/egl.h leads to a collision of defines between Qt and X11. To fix this qt5 added DEFINES += MESA_EGL_NO_X11_HEADERS in various files: https://github.com/qtproject/qtbase/blob/dev/src/platformsupport/eglconvenience/eglconvenience.pri#L19 https://github.com/qtproject/qtbase/blob/dev/src/plugins/platforms/minimalegl/minimalegl.pro#L10 https://github.com/qtproject/qtbase/blob/dev/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/eglfs_x11.pro#L6 [...] This patch fixes a similar compile error in qt4: http://autobuild.buildroot.net/results/9b0/9b0ed92984eead89d148eaa71aff6e2f1e117837/ http://autobuild.buildroot.org/results/4fd/4fd57553336d36439fab32a7221fc8639758e887/ http://autobuild.buildroot.org/results/5cb/5cb8072f8220f7203fa79936eedcc43eab53ec66/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: build using old C++ standardVlad Zakharov2016-08-191-0/+5
| | | | | | | | | | | | | | | 'std::auto_ptr' is deprecated with gcc-6 but is used in qt4 code. So we have to build using old C++ standard to prevent build failures. qt4 is not being developed no more, so unfortunately we can't update obsolete C++ code and have to add this workaround. Fixes: http://autobuild.buildroot.net/results/54172d55f39b2fcfa5b7fb4d4ee01566678babbc/ and also Qt build for ARC. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qt: webkit needs gst-plugins-baseYann E. MORIN2016-08-172-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtWebkit needs gstreamer-0.10 and the 'app' plugins, so we depend on gstreamer and select the required plugins. We can't select gstreamer as that would cause circular dependencies in kconfig: package/kodi/Config.in:37:error: recursive dependency detected! package/kodi/Config.in:37: symbol BR2_PACKAGE_KODI depends on BR2_PACKAGE_KODI_EGL_GLES package/kodi/Config.in:16: symbol BR2_PACKAGE_KODI_EGL_GLES depends on BR2_PACKAGE_HAS_LIBEGL package/opengl/libegl/Config.in:1: symbol BR2_PACKAGE_HAS_LIBEGL is selected by BR2_PACKAGE_MESA3D_OPENGL_EGL package/mesa3d/Config.in:150: symbol BR2_PACKAGE_MESA3D_OPENGL_EGL is selected by BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL package/mesa3d/Config.in:92: symbol BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL depends on BR2_PACKAGE_MESA3D package/mesa3d/Config.in:1: symbol BR2_PACKAGE_MESA3D is selected by BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV package/x11r7/xdriver_xf86-video-imx-viv/Config.in:1: symbol BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 package/freescale-imx/imx-gpu-viv/Config.in:34: symbol BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 is part of choice <choice> package/freescale-imx/imx-gpu-viv/Config.in:27: choice <choice> contains symbol <choice> package/freescale-imx/imx-gpu-viv/Config.in:27: choice <choice> contains symbol BR2_PACKAGE_FREESCALE_IMX package/freescale-imx/Config.in:1: symbol BR2_PACKAGE_FREESCALE_IMX is selected by BR2_PACKAGE_GST_FSL_PLUGINS package/gstreamer/gst-fsl-plugins/Config.in:8: symbol BR2_PACKAGE_GST_FSL_PLUGINS depends on BR2_PACKAGE_GSTREAMER package/gstreamer/gstreamer/Config.in:5: symbol BR2_PACKAGE_GSTREAMER is selected by BR2_PACKAGE_QT_WEBKIT package/qt/Config.in:464: symbol BR2_PACKAGE_QT_WEBKIT depends on BR2_PACKAGE_QT package/qt/Config.in:5: symbol BR2_PACKAGE_QT is selected by BR2_PACKAGE_PYTHON_PYQT package/python-pyqt/Config.in:5: symbol BR2_PACKAGE_PYTHON_PYQT depends on BR2_PACKAGE_PYTHON package/python/Config.in:5: symbol BR2_PACKAGE_PYTHON is selected by BR2_PACKAGE_KODI This one is fairly complicated to fix properly, so it is easier to just depend on gstreamer. Also rework the comment when QtWebkit is not available. Fixes: http://autobuild.buildroot.org/results/84d/84d338b70c8ce3f21dd202de387326f18526aa63/ http://autobuild.buildroot.org/results/379/379ad4eadf5af7e1d5b977bc229d3fcaba25b4fe/ [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: Fix missing runtime Qt3Support dependencyAlexander Shiyan2016-08-091-0/+1
| | | | | | | | | Qt3Support module has a runtime dependency on QtSql, see https://wiki.qt.io/Qt_Library_Cross_Dependencies. This patch fix this issue. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix build with ALSA >= 1.1.xAlexander Shiyan2016-08-092-0/+4
| | | | | | | | | ALSA > 1.1.x are not determined correctly when configuring the library. A patch, identical to the one used for Qt5, is added to the qt package to solve this problem. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: add option for enabling the accessibility supportRomain Perier2016-07-152-1/+11
| | | | | | | | This adds an entry in the configuration menu in order to enable or disable the accessibility support. Signed-off-by: Romain Perier <romain.perier@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix typo in Config.inThomas Petazzoni2016-07-071-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: enable opengl support by default if availablePeter Korsgaard2016-06-131-0/+1
| | | | | | | If opengl(-es) support is available then it makes sense for Qt to use it by default. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qt: Fix Kconfig for OpenGL supportBernd Kuhls2016-06-131-3/+11
| | | | | | | | | | | | | | | | BR2_PACKAGE_QT_OPENGL_ES was moved to a choice option. This option kind can apparently not be selected by other packages. Therefore this patch introduces a new Kconfig option BR2_PACKAGE_QT_OPENGL which takes care of OpenGL support as such, BR2_PACKAGE_QT_OPENGL_NONE is not needed anymore now. The choice options are now only used to determine the type of OpenGL support. This patch contains the necessary preparation to fix a build error in the qwt package. [Peter: fix QT_OPENGL dependencies to match options] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qt: Add optional support for OpenGLBernd Kuhls2016-06-122-0/+23
| | | | | | | | | | | | OpenGL support is only available for the desktop variant of Qt4 and not the embedded one: http://code.qt.io/cgit/qt/qt.git/tree/configure#n6612 This patch is needed to fix a compile error with libv4l which depends on OpenGL support if qt4 is used by libv4l as optional dependency. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405Romain Naour2016-04-201-0/+7
| | | | | | | | | | | | | | | See bug report https://sourceware.org/bugzilla/show_bug.cgi?id=19405 Fixes: http://autobuild.buildroot.net/results/ee562524c5b12191e584ceae89006c5a5103e700 Signed-off-by: Romain Naour <romain.naour@gmail.com> [Thomas: - rename BR2_TOOLCHAIN_BINUTILS_HAS_BUG_19405 to BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 - propagate to the qwt package, which is now selecting BR2_PACKAGE_QT_GUI_MODULE.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix static linkingJörg Krause2016-04-151-0/+116
| | | | | | | | | | | | | | | | | | | | | | `-ldl` option is used unconditionally in `QMAKE_LIBS_DYNLOAD` while libdl is not supported when libc is static. As the value of `QMAKE_LIBS_DYNLOAD` goes into 'Libs.private' field of the pkgconfig files created by qmake, static linking with qt will fail with: /usr/bin/ld: cannot find -ldl Fix this issue by adding a build test to configure to check if libdl is supported. `QMAKE_LIBS_DYNLOAD` in "src/corelib/plugin/plugin.pri" is now used only if libdl is available. Fixes: http://autobuild.buildroot.net/results/459/4596b9c69cbc387f1071c730aaac76723afaa853/ http://autobuild.buildroot.net/results/459/4596b9c69cbc387f1071c730aaac76723afaa853/ Backported from Qt5: https://github.com/qtproject/qtbase/commit/f669ea0d54302de31456d57286aa0e4ca1443e98 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: Fix musl buildJörg Krause2016-04-151-0/+43
| | | | | | | | | | | | | | | | | | | | | | This helps to make sure that QT_SOCKLEN_T is defined to be 'int' only for legacy glibc < 2 and not also for other libraries which may define it as per standards but are not glibc, e.g. musl. Fixes the following build error: In file included from ../../include/QtNetwork/private/qnet_unix_p.h:1:0, from kernel/qnetworkinterface_unix.cpp:46: ../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h: In function 'int qt_safe_accept(int, sockaddr*, int*, int)': ../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h:121:76: error: invalid conversion from 'int*' to 'socklen_t* {aka unsigned int*}' [-fpermissive] Fixes: http://autobuild.buildroot.net/results/709/709d547699596d09b4601a7940677d2010adeedf/ http://autobuild.buildroot.net/results/f05/f0589e1d06404a7bd57f5734228afe45164e553d/ Backported from Qt5: https://github.com/qtproject/qtbase/commit/813f468a14fb84af43c1f8fc0a1430277358eba2 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: get rid of extra spaces in license file listDanomi Manchego2016-04-131-6/+6
| | | | | | | | | Use "QT_LICENSE := $(QT_LICENSE), xxxx" construct to get rid of the extra spaces before commas added by the font license clauses. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: add font license informationPeter Seiderer2016-02-271-0/+17
| | | | | | | | | | | | | | | With this implementation, the different licenses will be separated with <space><comma>. This is not nice, but to avoid it a pretty ugly construct is needed: QT_LICENSE = $(shell echo $(QT_LICENSE_BITS) | sed 's% , %, %g') Since the <space><comma> is just a minor nuisance, we're not going to that kind of complexity. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: properly enable script aarch64 supportGustavo Zacarias2016-02-241-1/+1
| | | | | | | It's BR2_aarch64, not aarch64 alone. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: script & webkit depend on BR2_TOOLCHAIN_HAS_SYNC_4Gustavo Zacarias2016-02-241-2/+4
| | | | | | | | | | | | They use __sync_add_and_fetch_4() and other 32-bit atomics, fixes: http://autobuild.buildroot.net/results/7ac/7acdbc54e26ad2ba4756512614192be0a086f563/ Also remove sparc from supported architectures since it won't grow atomics support magically. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt4: fix static building if libglib-2.0 is enabledAlexey Brodkin2016-01-141-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | Here we're seeing another issue with static builds. Problem is Qt's configuration system post-processes output of pkg-config removing duplicate entries. That's fine for dynamic builds - all symbols will be resolved in runtime but for static builds we need to specify explicit and correct list of libs. See more explanations in the patch itself. This patch was sent in Qt's Gerrit for review and could be seen here: https://codereview.qt-project.org/#/c/145967/ Fixes a couple of qt4 build failures: http://autobuild.buildroot.net/results/174/174c6e47eb761f9897275b6fedff742ace2f3081 http://autobuild.buildroot.net/results/273/273676f1deee986a205b63e92cd6042c29ba1578 http://autobuild.buildroot.net/results/4f9/4f92d1316e786d8bb3c16b748f1ab731562540e3 and many others. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Lada Trimasova <ltrimas@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: add missing select BR2_PACKAGE_TSLIBThomas Petazzoni2015-12-301-0/+5
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/36c/36c56d10abcf96afd389f2ebe8db4dc13659997b/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain-external: CodeSourcery SH: support only one versionRomain Naour2015-12-201-1/+1
| | | | | | | | | | | | See the conclusion about external toolchains during the Buildroot meeting [1]: "In the future, we stick to a single external toolchain version. The Kconfig symbol should not encode the version (avoid legacy handling)" [1] http://elinux.org/index.php?title=Buildroot:DeveloperDaysELCE2015#Report Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix build for arm with BR2_STATIC_LIBSAlexander Lukichev2015-10-101-0/+4
| | | | | | | | | | | | | | | | | | | | Some Buildroot-generated static toolchains for ARM do not have dlfcn.h header, which breaks builds of qt-4.8.7 because its QtCore's plugin loader expects this header to be present (and dynamic libraries to be supported). For certain platforms without dynamic libraries, there is a QT_NO_DYNAMIC_LIBRARY constant defined in plugin loader's source. This patch puts that constant into Qt's build environment if Buildroot is configured without shared library support. Fixes: - http://autobuild.buildroot.net/results/11a4c19638ca211bd2a424fd92602166235c9433 - http://autobuild.buildroot.net/results/c056e8781558267f6971a5f017f47e90dcf24e07 - http://autobuild.buildroot.net/results/b8f34afa8686e890a1a3882a52081bb6a3b9c13b and several others. Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix directfb-1.7.7 compile errorsPeter Seiderer2015-09-101-0/+163
| | | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* qt: enable Script and WebKit modules for ARCAlexey Brodkin2015-07-181-2/+2
| | | | | | | | | | | Now when ARC toolchain also supports NPTL both Qt's Script and WebKit modules could be successfully built and then executed on ARC. [Thomas: fix alphabetic ordering.] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use backtick instead of $(shell ...) make functionArnout Vandecappelle2015-07-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is often difficult to know exactly when make will expand the variable, and usually it can only be expanded after the dependencies have been built (e.g. pkg-config or the .pc file). Using a backtick instead makes it very clear that it will be expanded only while executing the command. This change is useful for two cases: 1. The per-package staging (and host) directory will be created as part of the configure step, so any $(shell ...) variable that is used in the configure step will fail because the directory doesn't exist yet. 2. 'make printvars' evaluates the variables it prints. It will therefore trigger a lot of errors from missing .pc files and others. The backticks, on the other hand, are not expanded, so with this change the output of 'make printvars' becomes clean again. This commit contains only the easy changes: replace $(shell ...) with `...`, and also replace ' with " where needed. Follow-up commits will tackle the more complicated cases that need additional explanation. After this change, the following instances of $(shell ...) will remain: - All assignments that use := - All variables that are used in make conditionals (which don't expand the backticks). - All variables that only refer to system executables and make variables that don't change. - The calls to check-host-* in dependencies.mk, because it is eval'ed. [Original patch by Fabio Porcedda, but extended quite a bit by Arnout.] Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: fix execution on ARCAlexey Brodkin2015-07-112-0/+275
| | | | | | | | | | | | | | | | | | | | | | Even though Qt4 could be built for ARC cores during execution of Qt4 applications on target issues will happen. Most notable is will be segfaults due to unaligned access to data, especially in WebKit applications. Both patches were submitted upstream and if they ever get accepted they should be removed from Buildroot. https://codereview.qt-project.org/#/c/112667 https://codereview.qt-project.org/#/c/112668 [Thomas: renumber patches.] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud