aboutsummaryrefslogtreecommitdiffstats
path: root/package/qt
Commit message (Collapse)AuthorAgeFilesLines
* qt: define licenseLuca Ceresoli2013-05-021-0/+6
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt, php: selecting mysql requires depending on MMUThomas Petazzoni2013-04-291-0/+1
| | | | | | | | | The mysql_client package is only available on architectures having a MMU, so all packages that are selecting mysql_client should depend on BR2_USE_MMU. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'next'Peter Korsgaard2013-03-011-0/+10
|\
| * qt: install QML imports on targetDaniel Nyström2013-02-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | When selecting the Qt declarative module, all the QML imports was built and installed to staging, but never installed to the target. Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Acked-by: Alexander Lukichev <alexander.lukichev@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | qt: disable precompiled headers to workaround compilation failureLuca Ceresoli2013-02-181-3/+3
|/ | | | | | | | | | | | | | | | | Precompiled header implementation is buggy in current Qt as described at http://comments.gmane.org/gmane.comp.lib.qt.devel/5933. The only known workaround is currently to add -no-pch to configure. Fixes build failure terminating with error compiling ../3rdparty/pixman/pixman-arm-neon-asm.S cc1: fatal error: .pch/release-shared-emb-arm/QtGui: No such file or directory compilation terminated. such as: http://autobuild.buildroot.net/results/648265012591280fa592a239f86ee39aec2d5fa6/build-end.log Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove all := signsThomas Petazzoni2013-01-201-2/+2
| | | | | | | | | | | Finally get rid of all := used for variable definitions in packages, as we suggest in our manual and during the review of new packages. While I was at it, I also sometimes added a few missing new lines between the header and the first variable definition. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: bump version to latest 4.8.4Sagaert Johan2013-01-131-1/+1
| | | | | Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: fix qconfig configure parameterFrank Hunleth2012-12-141-1/+1
| | | | | | | | | The Qt configure option for specifying a custom qconfig.h file changed from -config to -qconfig. This makes the corresponding change in qt.mk. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dbus: uses fork(), requires MMUThomas Petazzoni2012-11-171-0/+1
| | | | | | | | | | | | | | In order to solve http://autobuild.buildroot.org/results/34f6843137efda20626af72714c110280ec577d7/build-end.log, this patch makes the D-Bus package as well as all the packages that select the D-Bus package 'depends on BR2_USE_MMU'. In addition, for the specific case of gvfs, the missing BR2_TOOLCHAIN_HAS_THREADS dependency is added (threads are required by D-Bus, so they are also required by gvfs which selects D-Bus). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* QT: Fix build for architectures using generic atomicsMischa Jonker2012-11-041-0/+50
| | | | | | | | | | The problem has to do with const-correctness. This has been resolved for various architectures, but not for the generic case. Signed-off-by: Mischa Jonker <mischa.jonker@synopsys.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: switch to host-pkgconfGustavo Zacarias2012-10-291-1/+1
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* alsa-lib: require thread supportThomas Petazzoni2012-09-201-0/+1
| | | | | | | | | | | | | | | | Some parts of alsa-lib correctly use threads only when available, but some other parts, especially certain PCM plugins, unconditionally require threads. While it would certainly be possible to fix alsa-lib to only use threads when available, it probably doesn't make much sense, since on an embedded system that has audio, we are probably powerful enough to enable thread support in the C library. Fixes: http://autobuild.buildroot.org/results/e14469be7f6171f4c8c0c09c8e32943819f7938b/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: bump versionPeter Korsgaard2012-09-131-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dbus: requires thread supportThomas Petazzoni2012-07-251-0/+4
| | | | | | | | | | | As can be seen on the build result at http://autobuild.buildroot.org/results/20f1078ef7dc5f187b04c63ef70e8b43acf9bb3a/build-end.log, D-Bus requires thread support in the toolchain. This commit adjusts the Kconfig dependencies of D-Bus and all its reverse dependencies to depend on thread support in the toolchain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: tune .pc files after installation in staging directoryThomas Petazzoni2012-07-251-1/+8
| | | | | | | | | | | | | The Qt configuration and installation process is a bit strange, and it leads the .pc files to contain absolute paths to the staging directory, while it should only contains paths relative to the staging directory, because pkg-config already adds the path of the sysroot automatically to the headers and libraries locations. This allows the 'pkg-config --cflags' results for Qt libraries to be correct. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: change use of BR2_JLEVEL to PARALLEL_JOBSNathan Lynch2012-06-241-1/+1
| | | | | Signed-off-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: bump to 4.8.2Luca Ceresoli2012-06-201-2/+2
| | | | | | | Also switch to the new upstream URL. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: remove redundant and incorrect URL from MakefileLuca Ceresoli2012-06-201-1/+0
| | | | | | | | | | The upstream URL for Buildroot packages is usually visible in the Config.in file, not in comments in the Makefile. Moreover, this URL does not point to the correct upstream project. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: make $(HOST_DIR)/usr/mkspecs a symlink to $(STAGING_DIR)/usr/mkspecsThomas Petazzoni2012-06-111-2/+1
| | | | | | | | | | | In fact, not only qt can install stuff in $(STAGING_DIR)/usr/mkspecs, but also libraries that wish to integrate with qmake, such as qwt. However, qmake and al. will look inside $(HOST_DIR)/usr/mkspecs, so the easiest solution is to have a symbolic link between the two directories, instead of copying things around. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix qt samples dependency on QtGUIMaxime Ripard2012-04-191-0/+1
| | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: tweak help textPeter Korsgaard2012-04-141-2/+3
| | | | | | | Upstream URL of Qt is qt-project.org nowadays, and there's a single Qt release for everyone. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: fix build on uClibc without lfs supportPeter Korsgaard2012-04-141-0/+41
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: bump versionPeter Korsgaard2012-04-043-16/+26
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: fix build with gcc 4.6.x on armPeter Korsgaard2012-02-261-0/+5
| | | | | | | As noted by Ismael Luceno. For details, see: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02245.html Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: simplify arch handlingIsmael Luceno2012-02-261-6/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: bump versionPeter Korsgaard2012-02-255-76/+6
| | | | | | | Webkit support runs pkg-config at build time, so we need to ensure our version gets picked up. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: needs host-pkg-configFrederik Pasch2012-02-091-1/+1
| | | | | | Closes #4760 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: qt-dbus: replace dependency on dbus by selectArnout Vandecappelle (Essensium/Mind)2012-01-311-4/+1
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: ensure cross pkg-config is usedPeter Korsgaard2011-11-181-15/+16
| | | | | | | | | | | Closes #4297 Tweak qmake.conf to ensure our cross pkg-config is used, instead of whatever is first in the path. In order to do this, tweak the QT_QMAKE_SET to be able to handle variables which aren't prefixed with QMAKE_. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: bump versionPeter Korsgaard2011-09-175-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: fix webkit/sqlite build without largefile supportPeter Korsgaard2011-06-271-2/+13
| | | | | | | | | | | The embedded sqlite module forces FILE_OFFSET_BITS=64 unless SQLITE_DISABLE_LFS is defined, breaking the build for !largefile toolchains. Webkit internally builds sqlite, so that's affected as well. Fix it by passing -DSQLITE_DISABLE_LFS in C/CXXFLAGS for !largefile builds, similar to how we do it for the standalone sqlite package. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: fix typo in webkit pthread_getattr_np patchPeter Korsgaard2011-06-271-1/+1
| | | | | | Missing continuation (\) character in #if check. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: update pthread_getattr_np patches for uClibc 0.9.32Peter Korsgaard2011-06-222-6/+8
| | | | | | | And only when linuxthreads.old is used, as the other thread implementations don't need it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: QtDeclarative needs script support as wellPeter Korsgaard2011-06-211-0/+1
| | | | | | | | | Otherwise configure errors out with: Error: QtDeclarative was requested, but it can't be built due to QtScript or QtGui being disabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Qt: add config option to build libQtDeclarative moduleDaniel Mack2011-06-202-0/+16
| | | | | | Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: scripttools needs guiThomas Petazzoni2011-05-221-0/+1
| | | | | | | | | | | | | | | | The QtScriptTools library depends on the QtGui library, as can be seen in the src/src.pro file of the Qt sources : !contains(QT_CONFIG, no-gui):contains(QT_CONFIG, scripttools): SRC_SUBDIRS += src_scripttools If the scripttools are enabled in the Qt configuration, but not the gui, then the scripttools library is not built by Qt, and the Buildroot build process fails with: cp: cannot stat `/home/test/outputs/test-502/host/usr/sh4-unknown-linux-gnu/sysroot/usr/lib/libQtScriptTools.so.*': No such file or directory Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: fix build when script+dbus are enabled, but gui isn'tPeter Korsgaard2011-05-161-0/+22
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: bump versionPeter Korsgaard2011-05-164-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: hide shared library option if BR2_PREFER_STATIC_LIBPeter Korsgaard2011-05-121-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Get rid of unneeded CFLAGSPeter Korsgaard2011-05-051-4/+4
| | | | | | | | Now that we use a wrapper for external toolchains (and internal ones default to the correct setting), we no longer need to explicitly pass sysroot/march/mtune/mabi/floating point mode in TARGET_CFLAGS. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: speed up qmake buildThomas Petazzoni2011-04-031-1/+1
| | | | | | | | | | qmake is built during the execution of Qt ./configure script, so it is built just with a normal make, not taking advantage of parallel compilation. Passing MAKEFLAGS=-j$(BR2_JLEVEL) allows to speed up the qmake compilation process quite a bit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: fix plugin installation and change plugin pathThomas Petazzoni2011-04-032-9/+54
| | | | | | | | | | | | | | | | | | | | | Since the conversion of Qt to GENTARGETS in 421cda1fd078f5fa7902f05bd1d2021fd101d9ea, plugin installation could break in some situations, for example if SQL support was enabled, but without any SQL driver: the sql plugin directory doesn't exist, but our qt.mk wanted to copy it. This patches simplifies the plugin handling a bit, and basically copies all Qt plugins installed in the $(STAGING_DIR) to the $(TARGET_DIR), assuming Qt has only built and installed the needed plugins. Moreover, instead of installing plugins to usr/plugins, which is a odd location, we install them in usr/lib/qt/plugins. This requires a small patch to Qt ./configure script so that even when -hostprefix is used, the -plugindir option is taken into account. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: fix qt3 support target installPeter Korsgaard2011-03-291-1/+1
| | | | | | | "lib" shouldn't be prefixed, otherwise the make file tries to install liblibQt3Support.so.*. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: convert to the GENTARGETS infrastructureThomas Petazzoni2011-03-282-356/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to converting the qt package to the GENTARGETS infrastructure, this commit also does the following (related) things in the Qt package: * Create a BR2_PACKAGE_QT_CONFIG_FILE option, which can be used to pass a custom Qt configuration file, such as the ones found in src/corelib/global/qconfig-*.h. This used to be possible, but required changing qt.mk directly, which isn't really how we configure things in Buildroot. * Remove the BR2_PACKAGE_QT_EMB_PLATFORM option, the embedded platform name is now computed directly in qt.mk. * The QT_CONFIGURE variable, which hosted all ./configure options, has been renamed to QT_CONFIGURE_OPTS, for consistency with what we do in the AUTOTARGETS infrastructure. * The QT_DEP_LIBS variable has been renamed to QT_DEPENDENCIES, so that dependencies are properly handled by the GENTARGETS infrastructures. * The QT_QMAKE_SET macro (used to adjust the path/flags of the compiler/linker) has been extended with an additional argument, which allows to pass the source directory of Qt. * All the installation procedure has been rewritten to fit within the GENTARGETS mechanism. [Peter: fixed minor issues pointed out by Will] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Will Wagner <willw@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: dbus module doesn't depend on gui supportPeter Korsgaard2011-03-251-2/+2
| | | | | | | | Seems I somehow got this wrong back in December (bff5248202). At the same time fix a typo in the comment. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: add option for system sqliteGustavo Zacarias2011-03-052-10/+27
| | | | | | | | Add an option to use the system sqlite library. Also drop sqlite2 stub since it's pointless. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: bump versionPeter Korsgaard2011-03-013-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* qt: qt3 compatibility needs gui supportPeter Korsgaard2011-02-281-0/+1
| | | | | | Closes #2911 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>