aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt
AgeCommit message (Collapse)Author
2013-12-03meta-toolchain-qt: put QT_CONF_PATH in environment scriptLaurentiu Palcu
This will allow apps using QLibraryInfo class to find qt.conf. [YOCTO #5339] (From OE-Core master rev: fffa4c37c49b169f663d28612b9251819cef9577) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-03nativesdk-qt4-tools: create qt.conf fileLaurentiu Palcu
When installing the SDK to another location than the default one, qmake will look for libraries, headers, etc. in the default location. That's because the paths are hard-coded in the binary itself. Luckily, QT allows to override this using a qt.conf file installed in the same directory with the application executable. However, we already have a patch that allows for the installation of qt.conf in another place and read the location from QT_CONF_PATH environment variable. Hence, install qt.conf in ${sysconfdir}. This will allow other apps, that use QLibraryInfo class, to find it. [YOCTO #5339] (From OE-Core master rev: 23f88695683a8e428375a8ccb6be935347a8768c) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-08qt4: disable qmeegographicssystemhelperPaul Eggleton
We don't want this enabled just because we have EGL and OpenGL ES 2.0 enabled. (From OE-Core master rev: 85aa73d397cb42a2fc8d6f901f8db1d601972741) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-08qt4: add eglibc-gconv-utf-16 to QtCore RRECOMMENDS when using glibcJonathan Liu
This fixes the following warnings when running Qt applications: QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed Qt's QString class stores strings internally using UTF-16 encoding. The UTF-16 iconv module is needed to convert between the system's local 8-bit representation and QString's UTF-16 encoding. For example, the following functions would be affected: QString::fromLocal8Bit(...) QString::toLocal8Bit(...) If the UTF-16 iconv module couldn't be loaded, it would use Latin-1 encoding instead of the system's encoding for conversion. [YOCTO #349] (From OE-Core master rev: 2e9c8007bca684149d72e96423f30433b6665fad) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-08qt4: disable gdb_dwarf_indexJonathan Liu
* qmake is trying to call native gdb and we don't depend on gdb-native (or even provide gdb-native) * fixes errors like this: /bin/sh: gdb: command not found /bin/sh: line 0: test: -gt: unary operator expected (From OE-Core master rev: 6456b596a73232429e0d223089f32dc350ea20b0) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10qt4: remove trailing slash from prefixPaul Barker
The trailing slashs on "Prefix=${prefix}/" and "-prefix ${prefix}/" are passed through to the generated pkgconfig files and may be joined to paths like "/include" yielding a final path with a double forward-slash (eg. "/usr//include"). This may end up in the debugging symbols in other applications or libraries which depend on qt4 which in turn causes the debugedit program to fail with the message "canonicalization unexpectedly shrank by one character" when it tries to replace the double forward-slash with a single forward-slash. Thus the function split_and_strip_files fails and ultimately do_package fails. As this slash is removed from the prefix it is added into the regular expression used to fix up pkgconfig files later in the recipe. This error was seen in vlc in meta-openembedded and should be solved by this change in openembedded-core. (From OE-Core master rev: 61a7329a5c1f0b84f447256134f5a77917f07f38) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-16qt4-embedded: bump PR to allow removal of meta-oe bbappendPaul Eggleton
The meta-oe bbappend only increments PRINC, if we bump INC_PR here we can remove that. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-16packagegroup-qte-toolchain-target: bump PR to allow removal of meta-oe bbappendPaul Eggleton
The meta-oe bbappend only increments PRINC, if we bump PR here we can remove that. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-16qt4-x11-free: bump PR to allow removal of meta-oe bbappendPaul Eggleton
The meta-oe bbappend only increments PRINC, if we bump INC_PR here we can remove that. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-03qt-mobility: added list of modules to be compiledFelipe F. Tonello
This is useful for users that want to .bbappend this recipe to select specific modules to be compiled. Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-18qt-mobility: Add pulseaudio dependency if DISTRO_FEATURES has pulseaudioFelipe F. Tonello
Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-18qt-mobility: Add bluez dependency if DISTRO_FEATURES has bluetoothFelipe F. Tonello
Some modules doesn't requires bluez4 to compile. So it's unnecessary to have it as dependency. Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-05qt4.inc: package keyboard driversAndreas Oberritter
* Fixes the following packaging error, if compiled with -plugin-kbd-linuxinput: | WARNING: For recipe qt4-embedded, the following files/directories were installed but not shipped in any package: | WARNING: /usr/lib/qtopia/plugins/kbddrivers/.debug | WARNING: /usr/lib/qtopia/plugins/kbddrivers/.debug/libqlinuxinputkbddriver.so * No PR bump, because -plugin-kbd-linuxinput is not enabled by default. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28qt4-embedded: Enable Linux Input supportOtavio Salvador
This allow use of Linux Input directly so being able to use 'evdev' driver for keyboard use. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-19meta-toolchain-qt.inc: Use CXX when linkingOtavio Salvador
We should use CXX compiler when linking objects as done in regular builds inside of OE-Core. This fixes issues we've been seeing in field where we needed to change it byhand so the toolchain could work. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-11qt4: use system SQLitePaul Eggleton
We've always been depending on external SQLite, however by default Qt builds using its own internal copy of SQLite. Add the configure option to actually use the external SQLite library and make it clearer which version is in use. Fixes [YOCTO #2514]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-06qt4: fix CVE-2013-0254Eric Bénard
fix "POSIX shared memory segments created world-writeable" more details : http://lists.qt-project.org/pipermail/announce/2013-February/000023.html Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-06qmmp: update to 0.6.6 and fixPaul Eggleton
* Update to 0.6.6 * Fix compilation failure due to unconditional call to QApplication::commitData() * Disable /usr/local host paths to avoid compilation warnings * Force use of the cmake configure instead of qmake as the latter is not dynamic with Qmmp and doesn't let you disable certain dependencies (e.g. enca) * Add libsndfile1, libsamplerate0 and curl to DEPENDS since their use will be non-deterministic otherwise * Explicitly disable library-requiring options that we don't have available in OE-Core so that they don't get used if they happen to be in the sysroot * Update LIC_FILES_CHKSUM since there were cosmetic changes to the license file (mostly reformatting and change of references to LGPL from "Library" to "Lesser".) Fixes [YOCTO #3822]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-06nativesdk-qt4-tools: fix DEPENDS, as nativesdk is now prefixedDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01qt4: Add space for _appendsSaul Wold
With out the space we get -x11-no-neon concatanted incorrectly Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01QT4: use '-no-neon' if cpu does not support neonRoy.Li
Some armv7a cpu does not support neon, like SPEAr1310, so we should check against "neon" in TUNE_FEATURES. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-16add meta-toolchain-qtEric Bénard
- this allows the creation of a SDK containing all the needed libraries to develop QT4 for X applications - the recipes were factorized to share as much code as possible - binaries generated using the toolchain were run tested on an ARMv7 target - both qt & qte toolchains were build tested for qemuarm target and for an ARMv7 target Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-07qt4: blacklist untrusted SSL certificatesEric Bénard
- this blacklist wrong certificates https://bugreports.qt-project.org/browse/QTBUG-24654 https://bugreports.qt-project.org/browse/QTBUG-28937 - these patches will be in the next 4.8.5 release Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-11nativesdk-qt4-tools: fix do_configure to be reentrantMartin Jansa
* without = it can add g++ prefix multiple time when you reexecute do_configure (e.g. after failure) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-11qt4: upgrade to 4.8.4Martin Jansa
* changes in licenses are only s/Nokia/Digia/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06qt4-native & ghostscript: update upstream status for their patchesChen Qi
Update the upstream status for patches of long building path. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06quicky: tidy up inheritPaul Eggleton
* inherit qt4x11 which inherits qmake2 and sets DEPENDS already. * Remove pkgconfig from inherit since quicky doesn't actually use pkg-config nor does it produce a .pc file Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-05qmmp: remove qmake2 from inheritPaul Eggleton
qt4x11 already inherits qmake2 so it doesn't need to be inherited again. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-05fotowall: tidy upPaul Eggleton
* inherit qt4x11 which inherits qmake2 and sets DEPENDS already * Remove pkgconfig from inherit since quicky doesn't actually use pkg-config nor does it produce a .pc file * Move packaging definitions to the end Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-03qt4-native: make qt4-native work with long building pathChen Qi
If the TMPDIR has more than 256 chars, building qt4-native fails. This violates the 410 length limit of TMPDIR. This patch makes building qt4-native succeed with a long building path (410 for example) by extending its static arrays' sizes by 256 chars. [YOCTO #2766] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-24meta-toolchain-qte: add --sysroot option to OE_QMAKE_(CC|CXX|LD)Laurentiu Palcu
When building a QT application using OE_QMAKE_CC/OE_QMAKE_CXX, the --sysroot was not included and the compilation would fail. The user had to add the option manually which was not very user friendly. This happened only when installing the SDK in another location than the default one. Since CC/CXX/LD had this option already included, reuse them. [YOCTO #3409] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-19qt4: remove 4.8.1Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-19qt4: remove negative preference on 4.8.3Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-12qt4: remove -lGLU from QMAKE_LIBS_OPENGL in our linux.confMartin Jansa
upstream does not need GLU since: commit e7eed096a0c33607a7a37baaf06e5952dc9d556b Author: Bj<C3><B8>rn Erik Nilsen <bjorn.nilsen@nokia.com> Date: Mon Aug 9 14:07:01 2010 +0200 Remove dependency of OpenGL Utility Library (GLU). GLU is not part of standard OpenGL and is not used internally in Qt, so we should not depend on it. Task-number: QT-12227 Reviewed-by: kim Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa
* to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa
* bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18qt4: use extra variable for more QT_CONFIG_FLAGS fragmentsMartin Jansa
* qt4-embedded was forcing -DQT_KEYPAD_NAVIGATION which depends on feature-completer * separate variable makes it easier to not enable QT_KEYPAD_NAVIGATION in some upper layer where we have disabled feature-completer Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-03qt4: Avoid circular dependencies with multilibRichard Purdie
Without this, circular dependencies are found when attempting to build multilib versions of qt4 (or bitbake world in a multilib enabled build). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02qt4: add 4.8.3 version with negative D_PMartin Jansa
* rebased patches, 3 patches are resolved upstream: 0019-javascriptcore-Fix-compile-error-when-using-toolchai.patch resolved in upstream commit 7ac8d8597db1f58b11338f91fb27f6ad8696b34b 0022-webkit-fix-conflicting-types.patch resolved in upstream commit929b4443d53fcf3a7ad1cb9f3af5569e41ef56f1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: PR bumpsMartin Jansa
* sofar only formal changes, but to test that everything still builds the same Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: replace all local patches with git patches with headersMartin Jansa
* in preparation for upgrade to 4.8.3 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: drop patches not used in any recipeMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: move patches from files to qt4-4.8.1Martin Jansa
* faster lookup in FILESPATH as small bonus Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt-mobility: move qt-mobility patches to separate dirMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4.inc: move more options to separate variablesMartin Jansa
* make it easier to override them in bbappend * convert pulseaudio to more common -pulseaudio/-no-pulseaudio form Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: rename qt-4.8.1 to qt4-4.8.1 to match other .inc and .bbMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4: use releases.qt-project.org instead of get.qt.nokia.comMartin Jansa
* releases.qt-project.org has 4.8.1 as well as 4.8.3 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-02qt4-tools-nativesdk.inc: rename to nativesdk-qt4-tools.incMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-09-12qt4: Update qt4.inc to remove staticdev deps in -dbg packagesMark Hatle
It appears that the qt4.inc had a copy/paste error relating to creating a list of staticdev packages, that caused them to show up as dependencies in the -dbg package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-04packagegroup-*: add RREPLACES/RCONFLICTSPaul Eggleton
These are needed to support upgrading from task-* to packagegroup-* within existing target images at runtime. Note: these settings will very likely be moved out to a separate inc file at some point in the future. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>