summaryrefslogtreecommitdiff
path: root/package/qt
AgeCommit message (Collapse)Author
2012-06-24qt: change use of BR2_JLEVEL to PARALLEL_JOBSNathan Lynch
Signed-off-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-06-20qt: bump to 4.8.2Luca Ceresoli
Also switch to the new upstream URL. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-06-20qt: remove redundant and incorrect URL from MakefileLuca Ceresoli
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>
2012-06-11qt: make $(HOST_DIR)/usr/mkspecs a symlink to $(STAGING_DIR)/usr/mkspecsThomas Petazzoni
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>
2012-04-19Fix qt samples dependency on QtGUIMaxime Ripard
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-14qt: tweak help textPeter Korsgaard
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>
2012-04-14qt: fix build on uClibc without lfs supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-04-04qt: bump versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-26qt: fix build with gcc 4.6.x on armPeter Korsgaard
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>
2012-02-26qt: simplify arch handlingIsmael Luceno
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-25qt: bump versionPeter Korsgaard
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>
2012-02-09qt: needs host-pkg-configFrederik Pasch
Closes #4760 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-31qt: qt-dbus: replace dependency on dbus by selectArnout Vandecappelle (Essensium/Mind)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-18qt: ensure cross pkg-config is usedPeter Korsgaard
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>
2011-09-29package: remove useless arguments from GENTARGETSThomas Petazzoni
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>
2011-09-17qt: bump versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-27qt: fix webkit/sqlite build without largefile supportPeter Korsgaard
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>
2011-06-27qt: fix typo in webkit pthread_getattr_np patchPeter Korsgaard
Missing continuation (\) character in #if check. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-22qt: update pthread_getattr_np patches for uClibc 0.9.32Peter Korsgaard
And only when linuxthreads.old is used, as the other thread implementations don't need it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-21qt: QtDeclarative needs script support as wellPeter Korsgaard
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>
2011-06-20Qt: add config option to build libQtDeclarative moduleDaniel Mack
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>
2011-05-22qt: scripttools needs guiThomas Petazzoni
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>
2011-05-16qt: fix build when script+dbus are enabled, but gui isn'tPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-16qt: bump versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-12qt: hide shared library option if BR2_PREFER_STATIC_LIBPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-05Get rid of unneeded CFLAGSPeter Korsgaard
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>
2011-04-03qt: speed up qmake buildThomas Petazzoni
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>
2011-04-03qt: fix plugin installation and change plugin pathThomas Petazzoni
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>
2011-03-29qt: fix qt3 support target installPeter Korsgaard
"lib" shouldn't be prefixed, otherwise the make file tries to install liblibQt3Support.so.*. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-28qt: convert to the GENTARGETS infrastructureThomas Petazzoni
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>
2011-03-25qt: dbus module doesn't depend on gui supportPeter Korsgaard
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>
2011-03-05qt: add option for system sqliteGustavo Zacarias
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>
2011-03-01qt: bump versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28qt: qt3 compatibility needs gui supportPeter Korsgaard
Closes #2911 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25qt: add option to hide mouse cursorDaniel Nyström
Allow the user to build Qt with the QT_NO_QWS_CURSOR macro set. Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-09qt: make QT_QMAKE variable point to HOST_DIR nowGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07qt: move host programs and specs in HOST_DIRThomas Petazzoni
The Qt build system installs all host programs (uic, rcc, moc, qmake, etc.) in the same base directory as the headers and libraries, but that's not great for Buildroot. So we now move the host programs and the mkspecs files to the $(HOST_DIR), and create a qt.conf, which tells qmake where everything is located. Tested with Qmake and Cmake as build system for a simple Qt application. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-28qt: dbus module needs gui support as wellPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-22qt: fix mysql module buildThomas Petazzoni
Closes #2371 Bug 2371 was a Qt compilation issue when MySQL support was enabled, because the Qt configuration tests were looking at host MySQL libraries. Even though I couldn't reproduce the bug with MySQL libraries installed on my host, there was clearly a problem since -I/usr/include/mysql and -L/usr/lib/mysql were part of the compilation flags when building those tests. This was caused by the fact that /usr/bin/mysql_config was used instead of $(STAGING_DIR)/usr/bin/mysql_config. We fix this by passing the path to the correct mysql_config script using the -mysql_config Qt ./configure argument. Since this mysql_config script returns the correct flags for libraries and headers path, the hardcoded -I and -L flag in qt.mk are no longer needed. With this in place, Qt is no longer compiled with -I/usr/include/mysql and -L/usr/lib/mysql, which presumably should fix the problem reported in bug 2371. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-20qt: svg and multimedia modules depends on gui module as wellPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-20qt: phonon support depends on gui modulePeter Korsgaard
Otherwise configure errors out with 'Phonon enabled, but GUI disabled'. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-08qt: only build gui module if enabledFrederik Pasch
Closes #2905 Signed-off-by: Frederik Pasch <fpasch@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-27qt: tighten webkit dependenciesPeter Korsgaard
webkit needs shared library and gui support to build, so make that visible in Config.in. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-27package/qt: Remove selects of BR2_PACKAGE_QT_JAVASCRIPTCORE.Will Newton
Building WebKit or Script engine support would select JIT support in JavaScriptCore. Not all platforms support JIT, so remove the selects to allow the option to be modified by users. Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-22qt: bump to 4.7.1Luca Ceresoli
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-17qt: also patch webkit instance of javascriptcorePeter Korsgaard
Closes #2821, #2827 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-08qt: bump versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-09qt: Bump to 4.6.3Paul Jones
Also add option to build example and demo code [Peter: fix patch handling] Signed-off-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-26qt: fix sysroot confusion in ./configurePeter Korsgaard
qt's configure script is getting confused now that we're passing --sysroot= in QMAKE_CC / QMAKE_CXX, causing misdetection of features and runtime breakage. Fix it by passing --sysroot in CFLAGS/CXXFLAGS instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26qt: fix alsa-lib dependencyLuca Ceresoli
If BR2_PACKAGE_QT_AUDIO_BACKEND=y, QtMultimedia requires the audio backend to be already in staging in order to compile. The backend is system-dependent, but since buildroot builds Linux systems only, it is safe to assume that the it will always be ALSA. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>